问题描述:

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

相关阅读:
Top