STYLE name="Theme"> @android:color/bright_foreground_dark @android:color/bright_foreground_dark_inverse @android:color/background_dark ?android:attr/colorbackground 0.5 0.6  @android:style/textappearance @android:style/textappearance.inverse @android:color/primary_text_dark @android:color/secondary_text_dark @android:color/tertiary_text_dark @android:color/primary_text_light @android:color/secondary_text_light @android:color/tertiary_text_light @android:color/primary_text_dark_disable_only @android:color/primary_text_light_disable_only @android:color/primary_text_dark_nodisable @android:color/secondary_text_dark_nodisable @android:color/primary_text_light_nodisable @android:color/secondary_text_light_nodisable @android:color/hint_foreground_dark @android:color/hint_foreground_light @android:color/search_url_text @android:style/textappearance.large @android:style/textappearance.medium @android:style/textappearance.small @android:style/textappearance.large.inverse @android:style/textappearance.medium.inverse @android:style/textappearance.small.inverse @android:style/textappearance.searchresult.title @android:style/textappearance.searchresult.subtitle @android:style/textappearance.widget.button @android:string/candidates_style @android:drawable/indicator_check_mark_dark @android:drawable/indicator_check_mark_light  @android:style/widget.button @android:style/widget.button.small @android:style/widget.button.inset @android:style/widget.button.toggle  64dip  58dip @drawable/divider_horizontal_dark @android:style/widget.textview.listseparator @android:drawable/btn_radio @android:drawable/btn_check 40dip   3dip 33dip      @android:drawable/gallery_item_background  @android:drawable/screen_background_dark @null false false false @android:drawable/title_bar_shadow false @android:style/windowtitle 25dip @android:style/windowtitlebackground @android:style/animation.activity stateunspecified|adjustunspecified  @android:style/alertdialog  @android:drawable/menu_background @android:drawable/menu_background_fill_parent_width #fff ?android:attr/textcolorprimaryinverse ?android:attr/textappearanceinverse  250 300 10dip @android:drawable/scrollbar_handle_horizontal @android:drawable/scrollbar_handle_vertical @null @null  @android:style/widget.abslistview @android:style/widget.autocompletetextview @android:style/widget.compoundbutton.checkbox @android:style/widget.listview.dropdown @android:style/widget.edittext @android:style/widget.expandablelistview @android:style/widget.expandablelistview.white @android:style/widget.gallery @android:style/widget.gestureoverlayview @android:style/widget.gridview @android:style/widget.imagebutton @android:style/widget.imagewell @android:style/widget.listview @android:style/widget.listview.white @android:style/widget.popupwindow @android:style/widget.progressbar @android:style/widget.progressbar.horizontal @android:style/widget.progressbar.small @android:style/widget.progressbar.small.title @android:style/widget.progressbar.large @android:style/widget.progressbar.inverse @android:style/widget.progressbar.small.inverse @android:style/widget.progressbar.large.inverse @android:style/widget.seekbar @android:style/widget.ratingbar @android:style/widget.ratingbar.indicator @android:style/widget.ratingbar.small @android:style/widget.compoundbutton.radiobutton @android:style/widget.scrollview @android:style/widget.horizontalscrollview @android:style/widget.spinner @android:style/widget.compoundbutton.star @android:style/widget.tabwidget @android:style/widget.textview @android:style/widget.webtextview @android:style/widget.webview @android:style/widget.dropdownitem @android:style/widget.dropdownitem.spinner @android:style/widget.textview.spinneritem @android:style/textappearance.widget.dropdownhint @android:style/widget.keyboardview @android:style/widget.quickcontactbadge.windowsmall @android:style/widget.quickcontactbadge.windowmedium @android:style/widget.quickcontactbadge.windowlarge @android:style/widget.quickcontactbadgesmall.windowsmall @android:style/widget.quickcontactbadgesmall.windowmedium @android:style/widget.quickcontactbadgesmall.windowlarge  @android:style/preference.preferencescreen @android:style/preference.category @android:style/preference @android:style/preference.information @android:style/preference.checkboxpreference @android:style/preference.dialogpreference.yesnopreference @android:style/preference.dialogpreference @android:style/preference.dialogpreference.edittextpreference @android:style/preference.ringtonepreference @android:layout/preference_child  @android:color/search_widget_corpus_item_background              文章来自: 安卓手机网(www.anzhuopp.com) 详文参考:http://www.anzhuopp.com/Androidshouji/1107/

Android之系统自带的文字外观设置及实际显示效果图 android:textAppearancexml布局里面设置文字的外观:如“android:textAppearance=“?android:attr/textAppearanceLargeInverse”这里引用的是系统自带的一个外观,?表示系统是否有这种外观,否则使用默认的外观。可设置的值如下:  

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

 

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

 

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

......

@表示引用系统外观

 

如果整个项目中都引用统一的字体大小和颜色,则使整个项目感觉风格一致,否则影响视觉的体验

当然这是美工应该考虑的问题

我们也可以自定义样式 在value/satyle.xml中自行定义好看的样式

下面这个是系统主题,可以学习下。

 

更多相关文章

  1. android 设置主题
  2. Android等宽字体
  3. android将EditText设置为只可点击 不弹出软键盘不显示光标
  4. Layout1.9
  5. Android(安卓)设置隐式意图
  6. Android(安卓)常用权限
  7. Android(安卓)进度条
  8. Android(安卓)弱引用
  9. Android横竖屏切换总结(Android资料收藏)

随机推荐

  1. Android 5.0最应该实现的8个期望
  2. Android中layout过程详解
  3. android手机QQ界面设计
  4. Android开发板之串口开发
  5. 2010-03-02 传智播客—Android(四)数据存储
  6. Android仿微信小视频录制功能
  7. Android(安卓)Studio通过插件自动生成Pra
  8. Android的参数大致分成两块:系统服务参数
  9. Android 序列化之parcelable的简单使用
  10. android 动画实现 xml属性配置说明 AnimU