How to set the font size for a textview in a phone and a tablet. The posts I've referred suggested to creating dimen.xml
and placing them in different folders namely values-mdpi
,values-hdpi
,values-ldpi
. The tablet (1024x600) resolution picks from the values-mdpi
folder and so does the the phone (320x480) also picks from the values-mdpi
folder, this makes the font look really big and distorted on the phone, whereas it looks fine on the tablet.
Is there any way to specify a font size for the phone and tablet separately.