I have values-xxhdpi folder having dimens.xml file, i set the font size 34sp in nexus 5. When I put this on the samsung s5 the font looks very small. Is there any possible way of having the font size look the same (size wise) on both devices?
android:textSize="@dimen/font_size_34sp"
I have find screen size difference Nexus5 4.9" S5 5.1"
Provide me generic solution, if possible I want to be able to do this in XML.