Does the documentation ( or anyone) talks about the dpi values of the default
android:textAppearance=\"?android:attr/textAppearanceLarge
To put it in another way, can we replicate the appearance of these text views without using the android:textAppearance attribute?
Like biegleux already said:
If you want to use the small, medium or large value on any text in your Android app, you can just create a dimens.xml
file in your values
folder and define the text size there with the following 3 lines:
14sp
18sp
22sp
Here is an example for a TextView with large text from the dimens.xml
file: