Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我试图让 EditText 的大小取决于分辨率。
所以,我有一个文件夹:values-sw150dp-land
我放了一个dimens.xml文件的地方:
<resources> <dimen name="editwidth">300dp</dimen> </resources>
不幸的是,即使我的设备(HTC 的愿望)应该支持该宽度,它也不起作用)如果我将文件放在 values-land 文件夹中,它会起作用。
我的所作所为有什么问题吗?
谢谢