Our designer has created a layout for new screen. This file is in JPG. My question is - how to convert pixel to dip in designer? Let's say a button has 657 x 112 pixels. How to convert pixels to dip in designer?
Thinking about Device Independent Pixels I thought this must be the best thing since sliced bread. However, when I was playing around with listviews I noticed that a 85dips high layout loaded in a 85dips high listview item didn't fit. Although I thought it was a bit strange, I didn't think of it...
i saw the tutorial about dip but i don't get it.
as example for a button:
me thought if me input a size value width and height in designer it is dip and the visual size is the same at all devices, but it is not.
me tested also with autoscale on/off.
portrait:
i have a 10" tablet 800x1216 scale...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.