Android的系统自带的文字外观设置
以?android:attr/textAppearance开头,或?attr/textAppearance开头
android:textAppearance="?android:attr/textAppearanceSmall" android:textAppearance="?android:attr/textAppearanceMedium" android:textAppearance="?android:attr/textAppearanceLarge" android:textAppearance="?android:attr/textAppearanceLarge”
在引用appcompat-v7包后,还可以使用
以@style/TextAppearance开头,或@android:style/TextAppearance开头
android:textAppearance="@style/TextAppearance.AppCompat.Body2" android:textAppearance="@android:style/TextAppearance.Material.Caption"
时间: 2024-10-06 14:56:41