actionBar-双行字体大小修改

  <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>

 

posted @ 2015-03-06 19:29  小白屋  阅读(224)  评论(0编辑  收藏  举报