How to set text size using dimension from xml at runtime programmatically?
In dimens.xml, I have: <dimen name="text_medium">18sp</dimen> In runtime, I get this value and set the text size of a text view: int size = context.getResources().getDimensionPixelSi...