当前位置: 动力学知识库 > 问答 > 编程问答 >

android - Smallest Screen Width with dimen

问题描述:

I am trying to have EditText with size depending on resolution.

So,

I have a folder : values-sw150dp-land

where I've put a dimens.xml file:

<resources>

<dimen name="editwidth">300dp</dimen>

</resources>

Unfortunately it's not working even though my device (HTC desire) should support

that width)

If I put the file in values-land folder instead it works.

Is there anything wrong with what I did?

Thanks

分享给朋友:
您可能感兴趣的文章:
随机阅读: