Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Recommended text size ratio between mobile and tablet devices?

Tags:

android

What is recommended text size ratio between mobile and tablet device?

There is an app for a mobile device and I need to make the same for a tablet device. If font size in mobile app is 16dp, what should be in tablet app?

There must have been some multiplication ration which I can use to best decide on text size for a tablet app. Android design web site does not say much about this.

PS. I know that I can tweak each text by testing it on a device, but I am looking for a recommended ratio.

EDIT

not 16dp, but 16sp. Sorry!

like image 348
sandalone Avatar asked May 08 '12 10:05

sandalone


People also ask

What size should text be on mobile?

In general, the rule of thumb is that font size needs to be 16 pixels for mobile websites. Anything smaller than that could compromise readability for visually impaired readers.

Should font size be same for mobile and desktop?

Now, the next thing to consider is that font-sizes need to be different across different devices. On a desktop monitor there is more room and so fonts can (and should) be larger, while on mobile the screen is smaller so the font size should be decreased so all the text can fit on the page.

What body text size is most readable across mobile tablet and desktop?

Body fonts should be about 16px Ultimately, you want the body text on your phone (when held at a natural distance) to be as readable as the text in a well-printed book (when held at a natural – usually slightly farther – distance). One process for getting there: Start with 16px.

Is 12 PX too small for mobile?

The recommended font size for media on sites optimized for mobile devices should be 12 to 16 pixels. A smaller size will be much more difficult for users to perceive. This is especially true for visually impaired site users.


1 Answers

Actually we developers need not worry about that ratio. I simply externalize font size values into res/values/dimensions.xml and use sp as a unit.

<resources>
    <dimen name="my_font_size">16sp</dimen>
...

Scale-independent Pixels - this is like the dp unit, but it is also scaled by the user's font size preference. It is recommend you use this unit when specifying font sizes, so they will be adjusted for both the screen density and user's preference.


Just saw your edit: Since sp already takes user prefs and dpi into account all you can do is to assign different font sizes via the resource system. And to my knowledge there is no single magic conversion number for tablets to phones. Just think about the multitude of different screen sizes out there.
You could however use a custom style which uses one of the theme defined values for text size.

Id like to hope that device manufacturers know which font size has good readability on their devices.

<style  
name="MyTextStyle"
parent="@android:style/TextAppearance.Medium">
</style>
like image 55
Renard Avatar answered Sep 23 '22 21:09

Renard