zoukankan      html  css  js  c++  java
  • Android之系统自带的文字外观设置

    属性:android:textAppearance    新、旧两种设置方法都可以实现

     

     

    新用法: 
    android:textAppearance="@android:style/TextAppearance.Small"

     

    旧用法:

    android:textAppearance="?android:attr/textAppearanceLargeInverse"

     

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

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

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

    可设置的值如下:

    textAppearanceButton/  

    textAppearanceInverse/  

    textAppearanceLarge/  

    textAppearanceLargeInverse/ 


    textAppearanceMedium/    

    textAppearanceSmallInverse/ 

    textAppearanceMediumInverse/ 
  • 相关阅读:
    异常
    抽象类
    java基础—接口3
    java基础—接口2
    java基础—接口1
    Android拍照适配方案
    继承—Car
    继承—矩形
    使用CSS和jQuery实现tab页
    纯CSS实现圆形进度条
  • 原文地址:https://www.cnblogs.com/error404/p/2206999.html
Copyright © 2011-2022 走看看