Android之系統自帶的文字外觀設置及實際顯示效果圖

Android之系統自帶的文字外觀設置及實際顯示效果圖

android:textAppearance

xml佈局裏面設置文字的外觀:

如“android:textAppearance=“?android:attr/textAppearanceLargeInverse”這裏引用的是系統自帶的一個外觀,

?表示系統是否有這種外觀,否則使用默認的外觀。

可設置的值如下:

textAppearanceButton/  

 

textAppearanceInverse/  

 

 

textAppearanceLarge/  

 

textAppearanceLargeInverse/ 


textAppearanceMedium/    

 

textAppearanceSmallInverse/ 

 

textAppearanceMediumInverse/ 
textAppearanceSmall/  
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章