I am doing an application where i need to set different font size for texts. So i created multiple dimens.xml in different values-XX folders.
How I have a case where I need to set different font sizes for two devices:
Motorola XT 1022 : 540px X 960px 4.2 inch density ~ 256
Micromax Bolt Q335 : 480px X 854px 4.5 inch density ~ 217
Which folders do I need to create so as to set font sizes?
For your Micromax Bolt Q335 : 480px X 854px 4.5 inch density ~ 217
Require to create folder "values-sw320dp-xhdpi" and put dimension
First you need to measure your device dimensions in DP. I think both of your devices are hdpi so the dimensions will be for example:
Motorola XT 1022: 360x640
then you can add folder: