I'm using a view which's height is 1dip. Now I'm wondering what it will do on a LDPI screen. Unfortunately, I haven't got a LDPI screen to test on, so that's why I'm asking you guys. 1 dip on LDPI means 0.75 px. What will android do, will it show 1px or 0px?

有帮助吗?

解决方案

It will be 1px for sure, you could see the same in Graphical Layout tab of eclipse, and changing screen size to smallest. Also if you really want to test you may want to create an emulator with ldpi screen and test the same.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top