增加actionbar属性解释

This commit is contained in:
zengfantian 2015-03-02 23:36:49 +08:00
parent 501daa0a50
commit 8f76d05fde
1 changed files with 30 additions and 1 deletions

View File

@ -21,6 +21,35 @@
<item name="android:actionMenuTextColor">@android:color/white</item>
</style>
<!-- HOLO Theme Action bar styles -->
<!-- <item name="actionDropDownStyle">@android:style/Widget.Holo.Spinner.DropDown.ActionBar</item> -->
<!-- <item name="actionButtonStyle">@android:style/Widget.Holo.ActionButton</item> -->
<!-- <item name="actionOverflowButtonStyle">@android:style/Widget.Holo.ActionButton.Overflow</item> -->
<!-- <item name="actionModeBackground">@android:drawable/cab_background_top_holo_dark</item> -->
<!-- <item name="actionModeSplitBackground">@android:drawable/cab_background_bottom_holo_dark</item> -->
<!-- <item name="actionModeCloseDrawable">@android:drawable/ic_cab_done_holo_dark</item> -->
<!-- <item name="actionBarTabStyle">@style/Widget.Holo.ActionBar.TabView</item> -->
<!-- <item name="actionBarTabBarStyle">@style/Widget.Holo.ActionBar.TabBar</item> -->
<!-- <item name="actionBarTabTextStyle">@style/Widget.Holo.ActionBar.TabText</item> -->
<!-- <item name="actionModeStyle">@style/Widget.Holo.ActionMode</item> -->
<!-- <item name="actionModeCloseButtonStyle">@style/Widget.Holo.ActionButton.CloseMode</item> -->
<!-- <item name="actionBarStyle">@android:style/Widget.Holo.ActionBar</item> -->
<!-- <item name="actionBarSize">@dimen/action_bar_default_height</item> -->
<!-- <item name="actionModePopupWindowStyle">@android:style/Widget.Holo.PopupWindow.ActionMode</item> -->
<!-- <item name="actionBarWidgetTheme">@null</item> -->
<!-- <item name="actionModeCutDrawable">@android:drawable/ic_menu_cut_holo_dark</item> -->
<!-- <item name="actionModeCopyDrawable">@android:drawable/ic_menu_copy_holo_dark</item> -->
<!-- <item name="actionModePasteDrawable">@android:drawable/ic_menu_paste_holo_dark</item> -->
<!-- <item name="actionModeSelectAllDrawable">@android:drawable/ic_menu_selectall_holo_dark</item> -->
<!-- <item name="actionModeShareDrawable">@android:drawable/ic_menu_share_holo_dark</item> -->
<!-- <item name="actionModeFindDrawable">@android:drawable/ic_menu_find_holo_dark</item> -->
<!-- <item name="actionModeWebSearchDrawable">@android:drawable/ic_menu_search_holo_dark</item> -->
<!-- <item name="dividerVertical">?android:attr/listDivider</item> -->
<!-- <item name="dividerHorizontal">?android:attr/listDivider</item> -->
<!-- <item name="buttonBarStyle">@android:style/Holo.ButtonBar</item> -->
<!-- <item name="buttonBarButtonStyle">?android:attr/borderlessButtonStyle</item> -->
<!-- <item name="segmentedButtonStyle">@android:style/Holo.SegmentedButton</item> -->
<style name="CustomActionBar" parent="@android:style/Widget.DeviceDefault.ActionBar">
<item name="android:titleTextStyle">@style/ActionBarTitle</item>
<item name="android:background">@color/actionbar_bg</item>
@ -64,7 +93,7 @@
<item name="android:paddingLeft">12dip</item>
<item name="android:paddingRight">12dip</item>
</style>
<!-- ActionBarTab选项标签的样式 -->
<style name="ActionBarTabStyle" parent="@android:style/Widget.Holo.Light.ActionBar.TabView">
<item name="android:background">@drawable/actionbar_tab_bg</item>