Android之系统自带的文字外观设置
2011-10-11 11:24
344 查看
属性: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/
相关文章推荐
- Android之系统自带的文字外观设置及实际显示效果图
- Android之系统自带的文字外观设置及实际显示效果图
- Android系统自带的文字外观设置及实际显示效果图
- Android之系统自带的文字外观设置及实际显示效果图
- Android之系统自带的文字外观设置及实际显示效果图
- Android的系统自带的文字外观设置及实际显示效果图
- Android之系统自带的文字外观设置及实际显示效果图
- Android之系统自带的文字外观设置及实际显示效果图
- Android之系统自带的文字外观设置及实际显示效果图
- Android之系统自带的文字外观设置及实际显示效果图
- Android改变系统自带ProgressDialog的文字大小
- Android设置全局变量&&启动系统自带应用程序
- android:textAppearance xml布局里面设置文字的外观:
- 使用Android用自带系统分享功能(填坑,包括微博分享,多图片分享+文字)
- Android中通过typeface设置字体 textAppearance设置文字外观
- Android中设置APP应用字体不缩放,文字不随系统字体大小变化
- android的xml布局设计中设置文字外观textappearance解析
- android 调用系统自带的设置时间日期对话框
- Android调用系统自带的设置界面
- android系统自带的字体外观