码迷,mamicode.com
首页 > 其他好文 > 详细

actionBar-双行字体大小修改

时间:2015-03-06 20:28:52      阅读:131      评论:0      收藏:0      [点我收藏+]

标签:

  <style name="BackupRestore.Theme.Person" parent="@style/BackupRestore.Theme">
        <item name="android:actionBarStyle">@style/actionbar_person_style</item>
    </style>
    <style name="Backup.TextAppearance.Title" parent="@*android:style/TextAppearance.Funui.Widget.ActionBar.Title">
        <item name="android:textSize">@dimen/action_bar_title</item>
        <item name="android:textColor">#ffffff</item>
    </style>
    <style name="Backup.TextAppearance.Subtitle" parent="@*android:style/TextAppearance.Holo.Widget.ActionMode.Subtitle">
        <item name="android:textSize">@dimen/action_bar_subtitle</item>
        <item name="android:textColor">#ffffff</item>
    </style>
    <style name="actionbar_def_style" parent="@android:style/Widget.Funui.ActionBar">
        <item name="android:background">#04cd74</item>
        <item name="android:displayOptions">homeAsUp|showTitle</item>
    </style>
    <style name="actionbar_person_style" parent="@style/actionbar_def_style">
        <item name="android:titleTextStyle">@style/Backup.TextAppearance.Title</item>
        <item name="android:subtitleTextStyle">@style/Backup.TextAppearance.Subtitle</item>

 

actionBar-双行字体大小修改

标签:

原文地址:http://www.cnblogs.com/zhangshuli-1989/p/zhangshuli_actionbar_150305910.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!