问题
How do you use the Android default font sizes in xml?
I tried:
android:textAppearance="@android:style/TextAppearance_Large"
But I get:
error: Error: No resource found that matches the given name (at 'textAppearance' with value '@android:style/TextAppearance_Large').
回答1:
Isn't it
android:textAppearance="?android:attr/textAppearanceLarge"
for a TextView?
来源:https://stackoverflow.com/questions/3405161/using-default-font-styles-in-android