android:textAppearance解析
16lz
2021-01-23
Android的系统自带的文字外观设置及实际显示效果图
android:textAppearancexml布局里面设置文字的外观:
如“android:textAppearance=“?android:attr/textAppearanceLargeInverse”
这里引用的是系统自带的一个外观,?表示系统是否有这种外观,否则使用默认的外观。
可设置的值如下:
textAppearanceButton/
textAppearanceInverse/
textAppearanceLarge/
textAppearanceLargeInverse/
textAppearanceMedium/ t
extAppearanceSmallInverse/
textAppearanceMediumInverse/
textAppearanceSmall/
更多相关文章
- Android 文字阴影、layer-list、shape和selector使用
- TextView过长显示省略号, TextView文字中间加横线
- 设置TextView文字居中
- android:ellipsize省略文字用法
- 简述修改logo以及文字
- Android文字的阴影效果
- 短视频源码,实现文字横向移动效果(跑马灯效果)
- android:text 文字阴影设置
- android - TextView单行显示...或者文字左右滚动(走马灯效果)