So you’re designing an app in the Material Design style and want to know what font size to use? Great. You’ve come to the right place.
1. First get know about SDP and create multiple screen support responsive font with less code and without getting frustrating.
An android SDK that provides a new size unit - SDP (scalable dp). This size unit scales with the screen size. It can help Android developers with supporting multiple screens.
Attention: Use it carefully! for example, in most cases you still need to design a different layout for tablets.
Add SDP gradle to your android project: add implementation 'com.intuit.sdp:sdp-android:1.0.5' to your build.gradle dependencies block.
2. Android Mobile Typography Guidelines.
Here’s a quick summary of size. See below for visual reference and more in-depth guidelines.
2.1 Page titles: @dimen/_20sdp
2.2 Paragraph text: @dimen/_14sdp
2.3 List titles: @dimen/_14sdp
(Show importance using medium weight)
2.4 List item titles,Important text snippets: @dimen/_16sdp
2.5 Secondary text,Captions: @dimen/_14sdp
(Use lighter colour to show lowered importance)
2.6 Buttons,Tabs: @dimen/_14sdp
(Medium weight)
2.7 Text inputs: @dimen/_16sdp
Comments