4/14/2016

Change font size based on physical device width

I needed to support both phones/tablets only with one layout file (layout-normal.xml).
The layout was very simple and originally designed for 360dp width phones, so there's no problem except for a bit small font size on 10 inches tablet.
I could just write a code to scale font size up for tablets.



[Android Studio 2.0]
[compileSdkVersion 23]

No comments:

Post a Comment