There is a gap between android developer and designer, there are a lot of issues need a lot of time and effort to be implemented while they means nothing for designer, and gap between developer and designer leads to 30 - 50% extra time and effort.
This presentation monitors a lot of those things that cause the gap, and suggests the ideal solution.
6. Density-independent pixel (dp)
• A virtual pixel unit that you should use when defining UI layout, to
express layout dimensions or position in a density-independent way
• Dp is the main unit, instead of px
9. Padding and Margin
• Predefined spaces have to be used
• Spaces must be device independent
• Examples
• Horizontal padding
• Vertical padding
• Margins between widgets (objects)
10. Padding and Margin
Green: 16dp
Red: 16dp
Red: 16dp for 10 inch
tablets in landscape
Blue: 8dp
• Predefined spaces
• New spaces can be defined
11. Action Bar & Navigation
No Tabs
• Don’t put tabs in detail
screen
20. Buttons
•
At least two states must be provided
•
•
Default
Pressed
•
Change color, stroke ...
•
In ImageButton, at least two images must
be provided
22. Text Size
• Main text categories
• Small, 14 sp, 42 px for S4 (XXHDPI)
• Medium, 18 sp, 54 px for S4 (XXHDPI)
• Large, 22 sp, 66 px for S4 (XXHDPI)
• Avoid using text sizes smaller than 12sp