문제

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