Android的系统自带的文字外观设置及实际显示效果图

android:textAppearancexml布局里面设置文字的外观:

如“android:textAppearance=“?android:attr/textAppearanceLargeInverse”

这里引用的是系统自带的一个外观,?表示系统是否有这种外观,否则使用默认的外观。

可设置的值如下:

textAppearanceButton/

textAppearanceInverse/

textAppearanceLarge/

 textAppearanceLargeInverse/

 textAppearanceMedium/ t

extAppearanceSmallInverse/

textAppearanceMediumInverse/

textAppearanceSmall/

Logo

为开发者提供学习成长、分享交流、生态实践、资源工具等服务,帮助开发者快速成长。

更多推荐