当前位置: 代码迷 >> Android >> Android之系统自带的文字外观设立及实际显示效果图
  详细解决方案

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

热度:82   发布时间:2016-05-01 19:17:37.0
Android之系统自带的文字外观设置及实际显示效果图

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

android:textAppearance

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

如“android:textAppearance=“?android:attr/textAppearanceLargeInverse”这里引用的是系统自带的一个外观,

?表示系统是否有这种外观,否则使用默认的外观。

可设置的值如下:

textAppearanceButton/??

?

textAppearanceInverse/ ?

?

?

textAppearanceLarge/ ?

?

textAppearanceLargeInverse/?


textAppearanceMedium/ ? ?

?

textAppearanceSmallInverse/?

?

textAppearanceMediumInverse/?
textAppearanceSmall/ ?

  相关解决方案