Different Layouts To Support Different Screens In Android
When I use different layouts to support different screens , should I use dp or px .
Solution 1:
Always use dp instead of px. There are three distinct but linked concepts to understand here: screen density (pixels per inch/centimeter, or commonly known as DPI from dots per inch in printers), physical screen size (in inches or centimeters) and number of pixels (also known as resolution, in pixels).
Post a Comment for "Different Layouts To Support Different Screens In Android"