diff options
Diffstat (limited to 'com_actionbarsherlock/res/values')
-rw-r--r-- | com_actionbarsherlock/res/values/abs__attrs.xml | 355 | ||||
-rw-r--r-- | com_actionbarsherlock/res/values/abs__bools.xml | 22 | ||||
-rw-r--r-- | com_actionbarsherlock/res/values/abs__colors.xml | 27 | ||||
-rw-r--r-- | com_actionbarsherlock/res/values/abs__config.xml | 43 | ||||
-rw-r--r-- | com_actionbarsherlock/res/values/abs__dimens.xml | 50 | ||||
-rw-r--r-- | com_actionbarsherlock/res/values/abs__ids.xml | 26 | ||||
-rw-r--r-- | com_actionbarsherlock/res/values/abs__strings.xml | 29 | ||||
-rw-r--r-- | com_actionbarsherlock/res/values/abs__styles.xml | 344 | ||||
-rw-r--r-- | com_actionbarsherlock/res/values/abs__themes.xml | 208 |
9 files changed, 1104 insertions, 0 deletions
diff --git a/com_actionbarsherlock/res/values/abs__attrs.xml b/com_actionbarsherlock/res/values/abs__attrs.xml new file mode 100644 index 000000000..af022dc9c --- /dev/null +++ b/com_actionbarsherlock/res/values/abs__attrs.xml @@ -0,0 +1,355 @@ +<?xml version="1.0" encoding="utf-8"?> + +<resources> + <attr name="titleTextStyle" format="reference" /> + <attr name="subtitleTextStyle" format="reference" /> + <attr name="background" format="reference|color" /> + <attr name="backgroundSplit" format="reference|color" /> + <attr name="height" format="dimension" /> + <attr name="divider" format="reference" /> + + <declare-styleable name="SherlockTheme"> + <!-- =================== --> + <!-- Action bar styles --> + <!-- =================== --> + <eat-comment /> + <!-- Default style for tabs within an action bar --> + <attr name="actionBarTabStyle" format="reference" /> + <attr name="actionBarTabBarStyle" format="reference" /> + <attr name="actionBarTabTextStyle" format="reference" /> + <attr name="actionOverflowButtonStyle" format="reference" /> + <!-- Reference to a style for the Action Bar --> + <attr name="actionBarStyle" format="reference" /> + <!-- Reference to a style for the split Action Bar. This style + controls the split component that holds the menu/action + buttons. actionBarStyle is still used for the primary + bar. --> + <attr name="actionBarSplitStyle" format="reference" /> + <!-- Reference to a theme that should be used to inflate widgets + and layouts destined for the action bar. Most of the time + this will be a reference to the current theme, but when + the action bar has a significantly different contrast + profile than the rest of the activity the difference + can become important. If this is set to @null the current + theme will be used.--> + <attr name="actionBarWidgetTheme" format="reference" /> + <!-- Size of the Action Bar, including the contextual + bar used to present Action Modes. --> + <attr name="actionBarSize" format="dimension" > + <enum name="wrap_content" value="0" /> + </attr> + <!-- Custom divider drawable to use for elements in the action bar. --> + <attr name="actionBarDivider" format="reference" /> + <!-- Custom item state list drawable background for action bar items. --> + <attr name="actionBarItemBackground" format="reference" /> + <!-- TextAppearance style that will be applied to text that + appears within action menu items. --> + <attr name="actionMenuTextAppearance" format="reference" /> + <!-- Color for text that appears within action menu items. --> + <attr name="actionMenuTextColor" format="color|reference" /> + + <!-- =================== --> + <!-- Action mode styles --> + <!-- =================== --> + <eat-comment /> + <attr name="actionModeStyle" format="reference" /> + <attr name="actionModeCloseButtonStyle" format="reference" /> + <!-- Background drawable to use for action mode UI --> + <attr name="actionModeBackground" format="reference" /> + <!-- Background drawable to use for action mode UI in the lower split bar --> + <attr name="actionModeSplitBackground" format="reference" /> + <!-- Drawable to use for the close action mode button --> + <attr name="actionModeCloseDrawable" format="reference" /> + + <!-- PopupWindow style to use for action modes when showing as a window overlay. --> + <attr name="actionModePopupWindowStyle" format="reference" /> + + <!-- ============= --> + <!-- Button styles --> + <!-- ============= --> + <eat-comment /> + + <!-- Small Button style. --> + <attr name="buttonStyleSmall" format="reference" /> + + + + <!-- This Drawable is overlaid over the foreground of the Window's content area, usually + to place a shadow below the title. --> + <attr name="windowContentOverlay" format="reference" /> + + <!-- Text color, typeface, size, and style for the text inside of a popup menu. --> + <attr name="textAppearanceLargePopupMenu" format="reference" /> + + <!-- Text color, typeface, size, and style for small text inside of a popup menu. --> + <attr name="textAppearanceSmallPopupMenu" format="reference" /> + + + <!-- Text color, typeface, size, and style for "small" text. Defaults to secondary text color. --> + <attr name="textAppearanceSmall" format="reference" /> + + <attr name="textColorPrimary" format="color" /> + <attr name="textColorPrimaryDisableOnly" format="color" /> + <attr name="textColorPrimaryInverse" format="color" /> + + <attr name="spinnerItemStyle" format="reference" /> + <attr name="spinnerDropDownItemStyle" format="reference" /> + + <!-- =========== --> + <!-- List styles --> + <!-- =========== --> + <eat-comment /> + + <!-- A smaller, sleeker list item height. --> + <attr name="listPreferredItemHeightSmall" format="dimension" /> + + <!-- The preferred padding along the left edge of list items. --> + <attr name="listPreferredItemPaddingLeft" format="dimension" /> + <!-- The preferred padding along the right edge of list items. --> + <attr name="listPreferredItemPaddingRight" format="dimension" /> + + <!-- The preferred TextAppearance for the primary text of small list items. --> + <attr name="textAppearanceListItemSmall" format="reference" /> + + + <attr name="windowMinWidthMajor" format="dimension" /> + <attr name="windowMinWidthMinor" format="dimension" /> + + + + <!-- Drawable to use for generic vertical dividers. --> + <attr name="dividerVertical" format="reference" /> + + <attr name="actionDropDownStyle" format="reference" /> + <attr name="actionButtonStyle" format="reference" /> + <attr name="homeAsUpIndicator" format="reference" /> + <attr name="dropDownListViewStyle" format="reference" /> + <attr name="popupMenuStyle" format="reference" /> + <attr name="dropdownListPreferredItemHeight" format="dimension" /> + <attr name="actionSpinnerItemStyle" format="reference" /> + <attr name="windowNoTitle" format="boolean"/> + <attr name="windowActionBar" format="boolean"/> + <attr name="windowActionBarOverlay" format="boolean"/> + <attr name="windowActionModeOverlay" format="boolean"/> + <attr name="windowSplitActionBar" format="boolean" /> + + <!-- Specified if we are forcing an action item overflow menu. --> + <attr name="absForceOverflow" format="boolean" /> + + <attr name="android:windowIsFloating" /> + </declare-styleable> + + + <!-- Attributes used to style the Action Bar. --> + <declare-styleable name="SherlockActionBar"> + <!-- The type of navigation to use. --> + <attr name="navigationMode"> + <!-- Normal static title text --> + <enum name="normal" value="0" /> + <!-- The action bar will use a selection list for navigation. --> + <enum name="listMode" value="1" /> + <!-- The action bar will use a series of horizontal tabs for navigation. --> + <enum name="tabMode" value="2" /> + </attr> + <!-- Options affecting how the action bar is displayed. --> + <attr name="displayOptions"> + <flag name="useLogo" value="0x1" /> + <flag name="showHome" value="0x2" /> + <flag name="homeAsUp" value="0x4" /> + <flag name="showTitle" value="0x8" /> + <flag name="showCustom" value="0x10" /> + <flag name="disableHome" value="0x20" /> + </attr> + <!-- Specifies title text used for navigationMode="normal" --> + <attr name="title" format="string" /> + <!-- Specifies subtitle text used for navigationMode="normal" --> + <attr name="subtitle" format="string" /> + <!-- Specifies a style to use for title text. --> + <attr name="titleTextStyle" /> + <!-- Specifies a style to use for subtitle text. --> + <attr name="subtitleTextStyle" /> + <!-- Specifies the drawable used for the application icon. --> + <attr name="icon" format="reference" /> + <!-- Specifies the drawable used for the application logo. --> + <attr name="logo" format="reference" /> + <!-- Specifies the drawable used for item dividers. --> + <attr name="divider" /> + <!-- Specifies a background drawable for the action bar. --> + <attr name="background" /> + <!-- Specifies a background drawable for a second stacked row of the action bar. --> + <attr name="backgroundStacked" format="reference|color" /> + <!-- Specifies a background drawable for the bottom component of a split action bar. --> + <attr name="backgroundSplit" /> + <!-- Specifies a layout for custom navigation. Overrides navigationMode. --> + <attr name="customNavigationLayout" format="reference" /> + <!-- Specifies a fixed height. --> + <attr name="height" /> + <!-- Specifies a layout to use for the "home" section of the action bar. --> + <attr name="homeLayout" format="reference" /> + <!-- Specifies a style resource to use for an embedded progress bar. --> + <attr name="progressBarStyle" format="reference" /> + <!-- Specifies a style resource to use for an indeterminate progress spinner. --> + <attr name="indeterminateProgressStyle" format="reference" /> + <!-- Specifies the horizontal padding on either end for an embedded progress bar. --> + <attr name="progressBarPadding" format="dimension" /> + <!-- Specifies padding that should be applied to the left and right sides of + system-provided items in the bar. --> + <attr name="itemPadding" format="dimension" /> + </declare-styleable> + + + <declare-styleable name="SherlockActionMode"> + <!-- Specifies a style to use for title text. --> + <attr name="titleTextStyle" /> + <!-- Specifies a style to use for subtitle text. --> + <attr name="subtitleTextStyle" /> + <!-- Specifies a background for the action mode bar. --> + <attr name="background" /> + <!-- Specifies a background for the split action mode bar. --> + <attr name="backgroundSplit" /> + <!-- Specifies a fixed height for the action mode bar. --> + <attr name="height" /> + </declare-styleable> + + <declare-styleable name="SherlockMenuView"> + <!-- Default appearance of menu item text. --> + <attr name="itemTextAppearance" format="reference" /> + <!-- Default horizontal divider between rows of menu items. --> + <attr name="horizontalDivider" format="reference" /> + <!-- Default vertical divider between menu items. --> + <attr name="verticalDivider" format="reference" /> + <!-- Default background for the menu header. --> + <attr name="headerBackground" format="color|reference" /> + <!-- Default background for each menu item. --> + <attr name="itemBackground" format="color|reference" /> + <!-- Default animations for the menu. --> + <attr name="windowAnimationStyle" format="reference" /> + <!-- Default disabled icon alpha for each menu item that shows an icon. --> + <attr name="itemIconDisabledAlpha" format="float" /> + <!-- Whether space should be reserved in layout when an icon is missing. --> + <attr name="preserveIconSpacing" format="boolean" /> + </declare-styleable> + + <declare-styleable name="SherlockActionMenuItemView"> + <attr name="android:minWidth" /> + </declare-styleable> + + <!-- Base attributes that are available to all groups. --> + <declare-styleable name="SherlockMenuGroup"> + + <!-- The ID of the group. --> + <attr name="android:id" /> + + <!-- The category applied to all items within this group. + (This will be or'ed with the orderInCategory attribute.) --> + <attr name="android:menuCategory" /> + + <!-- The order within the category applied to all items within this group. + (This will be or'ed with the category attribute.) --> + <attr name="android:orderInCategory" /> + + <!-- Whether the items are capable of displaying a check mark. --> + <attr name="android:checkableBehavior" /> + + <!-- Whether the items are shown/visible. --> + <attr name="android:visible" /> + + <!-- Whether the items are enabled. --> + <attr name="android:enabled" /> + + </declare-styleable> + + <!-- Base attributes that are available to all Item objects. --> + <declare-styleable name="SherlockMenuItem"> + + <!-- The ID of the item. --> + <attr name="android:id" /> + + <!-- The category applied to the item. + (This will be or'ed with the orderInCategory attribute.) --> + <attr name="android:menuCategory" /> + + <!-- The order within the category applied to the item. + (This will be or'ed with the category attribute.) --> + <attr name="android:orderInCategory" /> + + <!-- The title associated with the item. --> + <attr name="android:title" /> + + <!-- The condensed title associated with the item. This is used in situations where the + normal title may be too long to be displayed. --> + <attr name="android:titleCondensed" /> + + <!-- The icon associated with this item. This icon will not always be shown, so + the title should be sufficient in describing this item. --> + <attr name="android:icon" /> + + <!-- The alphabetic shortcut key. This is the shortcut when using a keyboard + with alphabetic keys. --> + <attr name="android:alphabeticShortcut" /> + + <!-- The numeric shortcut key. This is the shortcut when using a numeric (e.g., 12-key) + keyboard. --> + <attr name="android:numericShortcut" /> + + <!-- Whether the item is capable of displaying a check mark. --> + <attr name="android:checkable" /> + + <!-- Whether the item is checked. Note that you must first have enabled checking with + the checkable attribute or else the check mark will not appear. --> + <attr name="android:checked" /> + + <!-- Whether the item is shown/visible. --> + <attr name="android:visible" /> + + <!-- Whether the item is enabled. --> + <attr name="android:enabled" /> + + <!-- Name of a method on the Context used to inflate the menu that will be + called when the item is clicked. --> + <attr name="android:onClick" /> + + <!-- How this item should display in the Action Bar, if present. --> + <attr name="android:showAsAction" /> + + <!-- An optional layout to be used as an action view. + See {@link android.view.MenuItem#setActionView(android.view.View)} + for more info. --> + <attr name="android:actionLayout" /> + + <!-- The name of an optional View class to instantiate and use as an + action view. See {@link android.view.MenuItem#setActionView(android.view.View)} + for more info. --> + <attr name="android:actionViewClass" /> + + <!-- The name of an optional ActionProvider class to instantiate an action view + and perform operations such as default action for that menu item. + See {@link android.view.MenuItem#setActionProvider(android.view.ActionProvider)} + for more info. --> + <attr name="android:actionProviderClass" /> + + </declare-styleable> + + <declare-styleable name="SherlockSpinner"> + <!-- The prompt to display when the spinner's dialog is shown. --> + <attr name="android:prompt" /> + <!-- List selector to use for spinnerMode="dropdown" display. --> + <attr name="android:dropDownSelector" /> + <!-- Background drawable to use for the dropdown in spinnerMode="dropdown". --> + <attr name="android:popupBackground" /> + <!-- Vertical offset from the spinner widget for positioning the dropdown in + spinnerMode="dropdown". --> + <attr name="android:dropDownVerticalOffset" /> + <!-- Horizontal offset from the spinner widget for positioning the dropdown + in spinnerMode="dropdown". --> + <attr name="android:dropDownHorizontalOffset" /> + <!-- Width of the dropdown in spinnerMode="dropdown". --> + <attr name="android:dropDownWidth" /> + <!-- Reference to a layout to use for displaying a prompt in the dropdown for + spinnerMode="dropdown". This layout must contain a TextView with the id + @android:id/text1 to be populated with the prompt text. --> + <attr name="android:popupPromptView" /> + <!-- Gravity setting for positioning the currently selected item. --> + <attr name="android:gravity" /> + </declare-styleable> +</resources> diff --git a/com_actionbarsherlock/res/values/abs__bools.xml b/com_actionbarsherlock/res/values/abs__bools.xml new file mode 100644 index 000000000..0b432448d --- /dev/null +++ b/com_actionbarsherlock/res/values/abs__bools.xml @@ -0,0 +1,22 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Copyright (C) 2011 The Android Open Source Project + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--> + +<resources> + <bool name="abs__action_bar_embed_tabs">false</bool> + <bool name="abs__split_action_bar_is_narrow">true</bool> + <bool name="abs__action_bar_expanded_action_views_exclusive">true</bool> + <!--bool name="target_honeycomb_needs_options_menu">true</bool--> +</resources> diff --git a/com_actionbarsherlock/res/values/abs__colors.xml b/com_actionbarsherlock/res/values/abs__colors.xml new file mode 100644 index 000000000..625c632ff --- /dev/null +++ b/com_actionbarsherlock/res/values/abs__colors.xml @@ -0,0 +1,27 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Copyright (C) 2011 The Android Open Source Project + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--> + +<resources> + <color name="abs__background_holo_dark">#ff000000</color> + <color name="abs__background_holo_light">#fff3f3f3</color> + <color name="abs__bright_foreground_holo_dark">@color/abs__background_holo_light</color> + <color name="abs__bright_foreground_holo_light">@color/abs__background_holo_dark</color> + <color name="abs__bright_foreground_disabled_holo_dark">#ff4c4c4c</color> + <color name="abs__bright_foreground_disabled_holo_light">#ffb2b2b2</color> + <color name="abs__bright_foreground_inverse_holo_dark">@color/abs__bright_foreground_holo_light</color> + <color name="abs__bright_foreground_inverse_holo_light">@color/abs__bright_foreground_holo_dark</color> + <color name="abs__holo_blue_light">#ff33b5e5</color> +</resources> diff --git a/com_actionbarsherlock/res/values/abs__config.xml b/com_actionbarsherlock/res/values/abs__config.xml new file mode 100644 index 000000000..4c7b5d459 --- /dev/null +++ b/com_actionbarsherlock/res/values/abs__config.xml @@ -0,0 +1,43 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- +/* +** Copyright 2009, The Android Open Source Project +** +** Licensed under the Apache License, Version 2.0 (the "License"); +** you may not use this file except in compliance with the License. +** You may obtain a copy of the License at +** +** http://www.apache.org/licenses/LICENSE-2.0 +** +** Unless required by applicable law or agreed to in writing, software +** distributed under the License is distributed on an "AS IS" BASIS, +** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +** See the License for the specific language governing permissions and +** limitations under the License. +*/ +--> + +<!-- These resources are around just to allow their values to be customized + for different hardware and product builds. --> +<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> + + <!-- The maximum width we would prefer dialogs to be. 0 if there is no + maximum (let them grow as large as the screen). Actual values are + specified for -large and -xlarge configurations. --> + <dimen name="abs__config_prefDialogWidth">320dp</dimen> + + <!-- Sets whether menu shortcuts should be displayed on panel menus when + a keyboard is present. --> + <bool name="abs__config_showMenuShortcutsWhenKeyboardPresent">false</bool> + + <!-- Whether action menu items should be displayed in ALLCAPS or not. + Defaults to true. If this is not appropriate for specific locales + it should be disabled in that locale's resources. --> + <bool name="abs__config_actionMenuItemAllCaps">true</bool> + + <!-- Whether action menu items should obey the "withText" showAsAction + flag. This may be set to false for situations where space is + extremely limited. --> + <bool name="abs__config_allowActionMenuItemTextWithIcon">false</bool> + +</resources> diff --git a/com_actionbarsherlock/res/values/abs__dimens.xml b/com_actionbarsherlock/res/values/abs__dimens.xml new file mode 100644 index 000000000..0a409756c --- /dev/null +++ b/com_actionbarsherlock/res/values/abs__dimens.xml @@ -0,0 +1,50 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- +/* //device/apps/common/assets/res/any/dimens.xml +** +** Copyright 2006, The Android Open Source Project +** +** Licensed under the Apache License, Version 2.0 (the "License"); +** you may not use this file except in compliance with the License. +** You may obtain a copy of the License at +** +** http://www.apache.org/licenses/LICENSE-2.0 +** +** Unless required by applicable law or agreed to in writing, software +** distributed under the License is distributed on an "AS IS" BASIS, +** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +** See the License for the specific language governing permissions and +** limitations under the License. +*/ +--> +<resources> + <!-- Default height of an action bar. --> + <dimen name="abs__action_bar_default_height">48dip</dimen> + <!-- Vertical padding around action bar icons. --> + <dimen name="abs__action_bar_icon_vertical_padding">8dip</dimen> + <!-- Text size for action bar titles --> + <dimen name="abs__action_bar_title_text_size">18dp</dimen> + <!-- Text size for action bar subtitles --> + <dimen name="abs__action_bar_subtitle_text_size">14dp</dimen> + <!-- Top margin for action bar subtitles --> + <dimen name="abs__action_bar_subtitle_top_margin">-3dp</dimen> + <!-- Bottom margin for action bar subtitles --> + <dimen name="abs__action_bar_subtitle_bottom_margin">5dip</dimen> + + <integer name="abs__max_action_buttons">2</integer> + + <!-- Minimum width for an action button in the menu area of an action bar --> + <dimen name="abs__action_button_min_width">56dip</dimen> + + <!-- Dialog title height --> + <dimen name="abs__alert_dialog_title_height">64dip</dimen> + + <!-- The platform's desired minimum size for a dialog's width when it + is along the major axis (that is the screen is landscape). This may + be either a fraction or a dimension. --> + <item type="dimen" name="abs__dialog_min_width_major">65%</item> + <!-- The platform's desired minimum size for a dialog's width when it + is along the minor axis (that is the screen is portrait). This may + be either a fraction or a dimension. --> + <item type="dimen" name="abs__dialog_min_width_minor">95%</item> +</resources> diff --git a/com_actionbarsherlock/res/values/abs__ids.xml b/com_actionbarsherlock/res/values/abs__ids.xml new file mode 100644 index 000000000..f9f56045b --- /dev/null +++ b/com_actionbarsherlock/res/values/abs__ids.xml @@ -0,0 +1,26 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- +** +** Copyright 2007, The Android Open Source Project +** +** Licensed under the Apache License, Version 2.0 (the "License"); +** you may not use this file except in compliance with the License. +** You may obtain a copy of the License at +** +** http://www.apache.org/licenses/LICENSE-2.0 +** +** Unless required by applicable law or agreed to in writing, software +** distributed under the License is distributed on an "AS IS" BASIS, +** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +** See the License for the specific language governing permissions and +** limitations under the License. +*/ +--> +<resources> + <item type="id" name="abs__home" /> + <item type="id" name="abs__up" /> + <item type="id" name="abs__action_menu_divider" /> + <item type="id" name="abs__action_menu_presenter" /> + <item type="id" name="abs__progress_circular" /> + <item type="id" name="abs__progress_horizontal" /> +</resources> diff --git a/com_actionbarsherlock/res/values/abs__strings.xml b/com_actionbarsherlock/res/values/abs__strings.xml new file mode 100644 index 000000000..c228281e7 --- /dev/null +++ b/com_actionbarsherlock/res/values/abs__strings.xml @@ -0,0 +1,29 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- +** +** Copyright 2007, The Android Open Source Project +** +** Licensed under the Apache License, Version 2.0 (the "License"); +** you may not use this file except in compliance with the License. +** You may obtain a copy of the License at +** +** http://www.apache.org/licenses/LICENSE-2.0 +** +** Unless required by applicable law or agreed to in writing, software +** distributed under the License is distributed on an "AS IS" BASIS, +** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +** See the License for the specific language governing permissions and +** limitations under the License. +*/ +--> +<resources> + <!-- Content description for the action bar "home" affordance. [CHAR LIMIT=NONE] --> + <string name="abs__action_bar_home_description">Navigate home</string> + <!-- Content description for the action bar "up" affordance. [CHAR LIMIT=NONE] --> + <string name="abs__action_bar_up_description">Navigate up</string> + <!-- Content description for the action menu overflow button. [CHAR LIMIT=NONE] --> + <string name="abs__action_menu_overflow_description">More options</string> + + <!-- Label for the "Done" button on the far left of action mode toolbars. --> + <string name="abs__action_mode_done">Done</string> +</resources> diff --git a/com_actionbarsherlock/res/values/abs__styles.xml b/com_actionbarsherlock/res/values/abs__styles.xml new file mode 100644 index 000000000..1d563c64f --- /dev/null +++ b/com_actionbarsherlock/res/values/abs__styles.xml @@ -0,0 +1,344 @@ +<?xml version="1.0" encoding="utf-8"?> + +<resources> + <style name="Widget"> + </style> + + <style name="Sherlock.__Widget.ActionBar" parent="Widget"> + <item name="displayOptions">useLogo|showHome|showTitle</item> + <item name="height">?attr/actionBarSize</item> + <item name="android:paddingLeft">0dip</item> + <item name="android:paddingTop">0dip</item> + <item name="android:paddingRight">0dip</item> + <item name="android:paddingBottom">0dip</item> + <item name="homeLayout">@layout/abs__action_bar_home</item> + </style> + <style name="Widget.Sherlock.ActionBar" parent="Sherlock.__Widget.ActionBar"> + <item name="titleTextStyle">@style/TextAppearance.Sherlock.Widget.ActionBar.Title</item> + <item name="subtitleTextStyle">@style/TextAppearance.Sherlock.Widget.ActionBar.Subtitle</item> + <item name="background">@drawable/abs__ab_transparent_dark_holo</item> + <item name="backgroundStacked">@drawable/abs__ab_stacked_transparent_dark_holo</item> + <item name="backgroundSplit">@drawable/abs__ab_bottom_transparent_dark_holo</item> + <item name="divider">?attr/dividerVertical</item> + <item name="progressBarStyle">@style/Widget.Sherlock.ProgressBar.Horizontal</item> + <item name="indeterminateProgressStyle">@style/Widget.Sherlock.ProgressBar</item> + <item name="progressBarPadding">32dip</item> + <item name="itemPadding">8dip</item> + </style> + <style name="Widget.Sherlock.ActionBar.Solid" parent="Sherlock.__Widget.ActionBar"> + <item name="titleTextStyle">@style/TextAppearance.Sherlock.Widget.ActionBar.Title</item> + <item name="subtitleTextStyle">@style/TextAppearance.Sherlock.Widget.ActionBar.Subtitle</item> + <item name="background">@drawable/abs__ab_solid_dark_holo</item> + <item name="backgroundStacked">@drawable/abs__ab_stacked_solid_dark_holo</item> + <item name="backgroundSplit">@drawable/abs__ab_bottom_solid_dark_holo</item> + <item name="divider">?attr/dividerVertical</item> + <item name="progressBarStyle">@style/Widget.Sherlock.ProgressBar.Horizontal</item> + <item name="indeterminateProgressStyle">@style/Widget.Sherlock.ProgressBar</item> + <item name="progressBarPadding">32dip</item> + <item name="itemPadding">8dip</item> + </style> + <style name="Widget.Sherlock.Light.ActionBar" parent="Widget.Sherlock.ActionBar"> + <item name="titleTextStyle">@style/TextAppearance.Sherlock.Widget.ActionBar.Title</item> + <item name="subtitleTextStyle">@style/TextAppearance.Sherlock.Widget.ActionBar.Subtitle</item> + <item name="background">@drawable/abs__ab_transparent_light_holo</item> + <item name="backgroundStacked">@drawable/abs__ab_stacked_transparent_light_holo</item> + <item name="backgroundSplit">@drawable/abs__ab_bottom_transparent_light_holo</item> + <item name="homeAsUpIndicator">@drawable/abs__ic_ab_back_holo_light</item> + <item name="progressBarStyle">@style/Widget.Sherlock.Light.ProgressBar.Horizontal</item> + <item name="indeterminateProgressStyle">@style/Widget.Sherlock.Light.ProgressBar</item> + </style> + <style name="Widget.Sherlock.Light.ActionBar.Solid"> + <item name="titleTextStyle">@style/TextAppearance.Sherlock.Widget.ActionBar.Title</item> + <item name="subtitleTextStyle">@style/TextAppearance.Sherlock.Widget.ActionBar.Subtitle</item> + <item name="background">@drawable/abs__ab_solid_light_holo</item> + <item name="backgroundStacked">@drawable/abs__ab_stacked_solid_light_holo</item> + <item name="backgroundSplit">@drawable/abs__ab_bottom_solid_light_holo</item> + <item name="divider">?attr/dividerVertical</item> + <item name="progressBarStyle">@style/Widget.Sherlock.Light.ProgressBar.Horizontal</item> + <item name="indeterminateProgressStyle">@style/Widget.Sherlock.Light.ProgressBar</item> + <item name="progressBarPadding">32dip</item> + <item name="itemPadding">8dip</item> + </style> + <style name="Widget.Sherlock.Light.ActionBar.Solid.Inverse"> + <item name="titleTextStyle">@style/TextAppearance.Sherlock.Widget.ActionBar.Title.Inverse</item> + <item name="subtitleTextStyle">@style/TextAppearance.Sherlock.Widget.ActionBar.Subtitle.Inverse</item> + <item name="background">@drawable/abs__ab_solid_dark_holo</item> + <item name="backgroundStacked">@drawable/abs__ab_stacked_solid_dark_holo</item> + <item name="backgroundSplit">@drawable/abs__ab_bottom_solid_inverse_holo</item> + <item name="divider">@drawable/abs__list_divider_holo_dark</item> + <item name="progressBarStyle">@style/Widget.Sherlock.ProgressBar.Horizontal</item> + <item name="indeterminateProgressStyle">@style/Widget.Sherlock.ProgressBar</item> + <item name="progressBarPadding">32dip</item> + <item name="itemPadding">8dip</item> + </style> + + <style name="Widget.Sherlock.ActionBar.TabView" parent="Widget"> + <item name="android:gravity">center_horizontal</item> + <item name="android:background">@drawable/abs__tab_indicator_holo</item> + <item name="android:paddingLeft">16dip</item> + <item name="android:paddingRight">16dip</item> + </style> + <style name="Widget.Sherlock.Light.ActionBar.TabView" parent="Widget.Sherlock.ActionBar.TabView"> + </style> + <style name="Widget.Sherlock.Light.ActionBar.TabView.Inverse"> + </style> + + <style name="Widget.Sherlock.ActionBar.TabBar" parent="Widget"> + <item name="android:divider">?attr/actionBarDivider</item> + <item name="android:showDividers">middle</item> + <item name="android:dividerPadding">12dip</item> + </style> + <style name="Widget.Sherlock.Light.ActionBar.TabBar" parent="Widget.Sherlock.ActionBar.TabBar"> + </style> + <style name="Widget.Sherlock.Light.ActionBar.TabBar.Inverse"> + </style> + + <style name="Widget.Sherlock.ActionBar.TabText" parent="Widget"> + <item name="android:textAppearance">@null</item> + <item name="android:textColor">?attr/textColorPrimary</item> + <item name="android:textSize">12sp</item> + <item name="android:textStyle">bold</item> + <item name="android:textAllCaps">true</item> + <item name="android:ellipsize">marquee</item> + <item name="android:maxLines">2</item> + </style> + <style name="Widget.Sherlock.Light.ActionBar.TabText" parent="Widget.Sherlock.ActionBar.TabText"> + </style> + <style name="Widget.Sherlock.Light.ActionBar.TabText.Inverse"> + <item name="android:textColor">?attr/textColorPrimaryInverse</item> + </style> + + <style name="Widget.Sherlock.ActionButton" parent="Widget"> + <item name="android:background">?attr/actionBarItemBackground</item> + <item name="android:minHeight">?attr/actionBarSize</item> + + <item name="android:minWidth">56dip</item> + <item name="android:gravity">center</item> + <item name="android:paddingLeft">12dip</item> + <item name="android:paddingRight">12dip</item> + <item name="android:scaleType">center</item> + </style> + <style name="Widget.Sherlock.Light.ActionButton" parent="Widget.Sherlock.ActionButton"> + </style> + + <style name="Widget.Sherlock.ActionButton.CloseMode"> + <item name="android:background">@drawable/abs__btn_cab_done_holo_dark</item> + </style> + <style name="Widget.Sherlock.Light.ActionButton.CloseMode"> + <item name="android:background">@drawable/abs__btn_cab_done_holo_light</item> + </style> + + <style name="Widget.Sherlock.ActionButton.Overflow"> + <item name="android:src">@drawable/abs__ic_menu_moreoverflow_holo_dark</item> + <item name="android:background">?attr/actionBarItemBackground</item> + <item name="android:contentDescription">@string/abs__action_menu_overflow_description</item> + </style> + <style name="Widget.Sherlock.Light.ActionButton.Overflow"> + <item name="android:src">@drawable/abs__ic_menu_moreoverflow_holo_light</item> + </style> + + <style name="Sherlock.__Widget.ActionMode" parent="Widget"> + <item name="background">?attr/actionModeBackground</item> + <item name="backgroundSplit">?attr/actionModeSplitBackground</item> + <item name="height">?attr/actionBarSize</item> + </style> + <style name="Widget.Sherlock.ActionMode" parent="Sherlock.__Widget.ActionMode"> + <item name="titleTextStyle">@style/TextAppearance.Sherlock.Widget.ActionMode.Title</item> + <item name="subtitleTextStyle">@style/TextAppearance.Sherlock.Widget.ActionMode.Subtitle</item> + </style> + <style name="Widget.Sherlock.Light.ActionMode" parent="Widget.Sherlock.ActionMode"> + <item name="titleTextStyle">@style/TextAppearance.Sherlock.Widget.ActionMode.Title</item> + <item name="subtitleTextStyle">@style/TextAppearance.Sherlock.Widget.ActionMode.Subtitle</item> + </style> + <style name="Widget.Sherlock.Light.ActionMode.Inverse" parent="Sherlock.__Widget.ActionMode"> + <item name="titleTextStyle">@style/TextAppearance.Sherlock.Widget.ActionMode.Title.Inverse</item> + <item name="subtitleTextStyle">@style/TextAppearance.Sherlock.Widget.ActionMode.Subtitle.Inverse</item> + </style> + + + <style name="Widget.Sherlock.PopupMenu" parent="Widget"> + <item name="android:dropDownSelector">@drawable/abs__list_selector_holo_dark</item> + <item name="android:popupBackground">@drawable/abs__menu_dropdown_panel_holo_dark</item> + <item name="android:dropDownVerticalOffset">0dip</item> + <item name="android:dropDownHorizontalOffset">0dip</item> + <item name="android:dropDownWidth">wrap_content</item> + </style> + <style name="Widget.Sherlock.Light.PopupMenu" parent="Widget"> + <item name="android:dropDownSelector">@drawable/abs__list_selector_holo_light</item> + <item name="android:popupBackground">@drawable/abs__menu_dropdown_panel_holo_light</item> + <item name="android:dropDownVerticalOffset">0dip</item> + <item name="android:dropDownHorizontalOffset">0dip</item> + <item name="android:dropDownWidth">wrap_content</item> + </style> + + + <style name="Sherlock.__Widget.Holo.Spinner" parent="Widget"> + <item name="android:dropDownSelector">@drawable/abs__list_selector_holo_dark</item> + <item name="android:popupBackground">@drawable/abs__menu_dropdown_panel_holo_dark</item> + <item name="android:dropDownVerticalOffset">0dip</item> + <item name="android:dropDownHorizontalOffset">0dip</item> + <item name="android:dropDownWidth">wrap_content</item> + <item name="android:gravity">left|center_vertical</item> + <item name="android:spinnerMode">dropdown</item> + <item name="android:clickable">true</item> + </style> + <style name="Widget.Sherlock.Spinner.DropDown.ActionBar" parent="Sherlock.__Widget.Holo.Spinner"> + <item name="android:background">@drawable/abs__spinner_ab_holo_dark</item> + </style> + <style name="Widget.Sherlock.Light.Spinner.DropDown.ActionBar" parent="Sherlock.__Widget.Holo.Spinner"> + <item name="android:background">@drawable/abs__spinner_ab_holo_light</item> + <item name="android:dropDownSelector">@drawable/abs__list_selector_holo_light</item> + <item name="android:popupBackground">@drawable/abs__menu_dropdown_panel_holo_light</item> + </style> + + <style name="Sherlock.__Widget.Holo.ListView" parent="android:Widget.ListView"> + <item name="android:divider">@drawable/abs__list_divider_holo_dark</item> + <item name="android:listSelector">@drawable/abs__list_selector_holo_dark</item> + </style> + <style name="Widget.Sherlock.ListView.DropDown" parent="Sherlock.__Widget.Holo.ListView"> + </style> + <style name="Widget.Sherlock.Light.ListView.DropDown" parent="Sherlock.__Widget.Holo.ListView"> + <item name="android:divider">@drawable/abs__list_divider_holo_light</item> + <item name="android:listSelector">@drawable/abs__list_selector_holo_light</item> + </style> + + <style name="Sherlock.__Widget.Holo.DropDownItem" parent="Widget"> + <item name="android:textAppearance">@style/TextAppearance.Sherlock.Widget.DropDownItem</item> + <item name="android:paddingLeft">8dp</item> + <item name="android:paddingRight">8dp</item> + <item name="android:gravity">center_vertical</item> + </style> + <style name="Widget.Sherlock.DropDownItem.Spinner" parent="Sherlock.__Widget.Holo.DropDownItem"> + </style> + <style name="Widget.Sherlock.Light.DropDownItem.Spinner" parent="Sherlock.__Widget.Holo.DropDownItem"> + </style> + + <style name="Widget.Sherlock.PopupWindow.ActionMode" parent="Widget"> + </style> + <style name="Widget.Sherlock.Light.PopupWindow.ActionMode" parent="Widget"> + <item name="android:popupBackground">@android:color/white</item> + </style> + + + + <style name="Widget.Sherlock.ProgressBar" parent="android:Widget.ProgressBar"> + <item name="android:indeterminateDrawable">@drawable/abs__progress_medium_holo</item> + <item name="android:animationResolution">33</item> + </style> + <style name="Widget.Sherlock.Light.ProgressBar" parent="Widget.Sherlock.ProgressBar"> + </style> + + <style name="Widget.Sherlock.ProgressBar.Horizontal" parent="android:Widget.ProgressBar.Horizontal"> + <item name="android:progressDrawable">@drawable/abs__progress_horizontal_holo_dark</item> + <!--item name="android:indeterminateDrawable">@drawable/abs__progress_indeterminate_horizontal_holo</item--> + <item name="android:minHeight">16dip</item> + <item name="android:maxHeight">16dip</item> + </style> + <style name="Widget.Sherlock.Light.ProgressBar.Horizontal" parent="Widget.Sherlock.ProgressBar.Horizontal"> + <item name="android:progressDrawable">@drawable/abs__progress_horizontal_holo_light</item> + </style> + + + + <style name="Widget.Sherlock.TextView.SpinnerItem" parent="Widget"> + <item name="android:textAppearance">@style/TextAppearance.Sherlock.Widget.TextView.SpinnerItem</item> + <item name="android:paddingLeft">8dp</item> + <item name="android:paddingRight">8dp</item> + </style> + + + + <style name="DialogWindowTitle.Sherlock" parent="Widget"> + <item name="android:maxLines">1</item> + <item name="android:scrollHorizontally">true</item> + <item name="android:textAppearance">@style/TextAppearance.Sherlock.DialogWindowTitle</item> + <item name="android:minHeight">@dimen/abs__alert_dialog_title_height</item> + <item name="android:paddingLeft">16dip</item> + <item name="android:paddingRight">16dip</item> + </style> + <style name="DialogWindowTitle.Sherlock.Light" parent="Widget"> + <item name="android:maxLines">1</item> + <item name="android:scrollHorizontally">true</item> + <item name="android:textAppearance">@style/TextAppearance.Sherlock.Light.DialogWindowTitle</item> + <item name="android:minHeight">@dimen/abs__alert_dialog_title_height</item> + <item name="android:paddingLeft">16dip</item> + <item name="android:paddingRight">16dip</item> + </style> + + + + <style name="TextAppearance.Sherlock.Widget.ActionBar.Menu" parent="Widget"> + <item name="android:textSize">12sp</item> + <item name="android:textStyle">bold</item> + <item name="android:textColor">?attr/actionMenuTextColor</item> + <item name="android:textAllCaps">@bool/abs__config_actionMenuItemAllCaps</item> + </style> + + <style name="TextAppearance.Sherlock.Widget.ActionBar.Title" parent="Widget"> + <item name="android:textSize">@dimen/abs__action_bar_title_text_size</item> + <item name="android:textColor">?android:attr/textColorPrimary</item> + </style> + <style name="TextAppearance.Sherlock.Widget.ActionBar.Title.Inverse" parent="Widget"> + <item name="android:textSize">@dimen/abs__action_bar_title_text_size</item> + <item name="android:textColor">?android:attr/textColorPrimaryInverse</item> + </style> + <style name="TextAppearance.Sherlock.Widget.ActionBar.Subtitle" parent="Widget"> + <item name="android:textSize">@dimen/abs__action_bar_subtitle_text_size</item> + <item name="android:textColor">?android:attr/textColorSecondary</item> + </style> + <style name="TextAppearance.Sherlock.Widget.ActionBar.Subtitle.Inverse" parent="Widget"> + <item name="android:textSize">@dimen/abs__action_bar_subtitle_text_size</item> + <item name="android:textColor">?android:attr/textColorPrimaryInverse</item> + </style> + <style name="TextAppearance.Sherlock.Widget.ActionMode.Title" parent="Widget"> + <item name="android:textSize">@dimen/abs__action_bar_title_text_size</item> + <item name="android:textColor">?android:attr/textColorPrimary</item> + </style> + <style name="TextAppearance.Sherlock.Widget.ActionMode.Title.Inverse" parent="Widget"> + <item name="android:textSize">@dimen/abs__action_bar_title_text_size</item> + <item name="android:textColor">?android:attr/textColorPrimaryInverse</item> + </style> + <style name="TextAppearance.Sherlock.Widget.ActionMode.Subtitle" parent="Widget"> + <item name="android:textSize">@dimen/abs__action_bar_subtitle_text_size</item> + <item name="android:textColor">?android:attr/textColorSecondary</item> + </style> + <style name="TextAppearance.Sherlock.Widget.ActionMode.Subtitle.Inverse" parent="Widget"> + <item name="android:textSize">@dimen/abs__action_bar_subtitle_text_size</item> + <item name="android:textColor">?android:attr/textColorPrimaryInverse</item> + </style> + + <style name="TextAppearance.Sherlock.Widget.PopupMenu" parent="Widget"> + <item name="android:textColor">?attr/textColorPrimary</item> + </style> + <style name="TextAppearance.Sherlock.Widget.PopupMenu.Large"> + <item name="android:textSize">18sp</item> + </style> + <style name="TextAppearance.Sherlock.Light.Widget.PopupMenu.Large" parent="TextAppearance.Sherlock.Widget.PopupMenu.Large"> + </style> + <style name="TextAppearance.Sherlock.Widget.PopupMenu.Small"> + <item name="android:textSize">14sp</item> + </style> + <style name="TextAppearance.Sherlock.Light.Widget.PopupMenu.Small" parent="TextAppearance.Sherlock.Widget.PopupMenu.Small"> + </style> + + <style name="TextAppearance.Sherlock.Widget.TextView.SpinnerItem" parent="Widget"> + <item name="android:textColor">?textColorPrimary</item> + <item name="android:textSize">16sp</item> + <item name="android:textStyle">normal</item> + </style> + + <style name="TextAppearance.Sherlock.Widget.DropDownItem" parent="Widget"> + <item name="android:textColor">?textColorPrimaryDisableOnly</item> + <item name="android:textSize">16sp</item> + <item name="android:textStyle">normal</item> + </style> + + <style name="TextAppearance.Sherlock.DialogWindowTitle" parent="Widget"> + <item name="android:textSize">22sp</item> + <item name="android:textColor">@color/abs__holo_blue_light</item> + </style> + <style name="TextAppearance.Sherlock.Light.DialogWindowTitle" parent="Widget"> + <item name="android:textSize">22sp</item> + <item name="android:textColor">@color/abs__holo_blue_light</item> + </style> +</resources> diff --git a/com_actionbarsherlock/res/values/abs__themes.xml b/com_actionbarsherlock/res/values/abs__themes.xml new file mode 100644 index 000000000..a7234ac8f --- /dev/null +++ b/com_actionbarsherlock/res/values/abs__themes.xml @@ -0,0 +1,208 @@ +<?xml version="1.0" encoding="utf-8"?> + +<resources> + <style name="Sherlock.__Theme" parent="android:Theme.NoTitleBar"> + <item name="android:windowContentOverlay">@null</item> + </style> + <style name="Sherlock.__Theme.Light" parent="android:Theme.Light.NoTitleBar"> + <item name="android:windowContentOverlay">@null</item> + </style> + <style name="Sherlock.__Theme.DarkActionBar" parent="Theme.Sherlock.Light"> + </style> + <style name="Sherlock.__Theme.Dialog" parent="android:Theme.Dialog"> + </style> + + <style name="Theme.Sherlock" parent="Sherlock.__Theme"> + <!-- Action bar styles (from Theme.Holo) --> + <item name="actionDropDownStyle">@style/Widget.Sherlock.Spinner.DropDown.ActionBar</item> + <item name="actionButtonStyle">@style/Widget.Sherlock.ActionButton</item> + <item name="actionOverflowButtonStyle">@style/Widget.Sherlock.ActionButton.Overflow</item> + <item name="actionModeBackground">@drawable/abs__cab_background_top_holo_dark</item> + <item name="actionModeSplitBackground">@drawable/abs__cab_background_bottom_holo_dark</item> + <item name="actionModeCloseDrawable">@drawable/abs__ic_cab_done_holo_dark</item> + <item name="actionBarTabStyle">@style/Widget.Sherlock.ActionBar.TabView</item> + <item name="actionBarTabBarStyle">@style/Widget.Sherlock.ActionBar.TabBar</item> + <item name="actionBarTabTextStyle">@style/Widget.Sherlock.ActionBar.TabText</item> + <item name="actionModeStyle">@style/Widget.Sherlock.ActionMode</item> + <item name="actionModeCloseButtonStyle">@style/Widget.Sherlock.ActionButton.CloseMode</item> + <item name="actionBarStyle">@style/Widget.Sherlock.ActionBar</item> + <item name="actionBarSize">@dimen/abs__action_bar_default_height</item> + <!-- Internal --><item name="actionModePopupWindowStyle">@style/Widget.Sherlock.PopupWindow.ActionMode</item> + <item name="actionBarWidgetTheme">@null</item> + + <!-- Action bar styles (defaults from Theme) --> + <item name="actionBarSplitStyle">?attr/actionBarStyle</item> + <item name="actionMenuTextAppearance">@style/TextAppearance.Sherlock.Widget.ActionBar.Menu</item> + <item name="actionMenuTextColor">?attr/textColorPrimary</item> + <item name="actionBarDivider">?attr/dividerVertical</item> + <item name="actionBarItemBackground">@drawable/abs__item_background_holo_dark</item> + + <item name="homeAsUpIndicator">@drawable/abs__ic_ab_back_holo_dark</item> + + <item name="dividerVertical">@drawable/abs__list_divider_holo_dark</item> + + <item name="spinnerDropDownItemStyle">@style/Widget.Sherlock.DropDownItem.Spinner</item> + <item name="spinnerItemStyle">@style/Widget.Sherlock.TextView.SpinnerItem</item> + + <item name="textColorPrimary">@color/abs__primary_text_holo_dark</item> + <item name="textColorPrimaryDisableOnly">@color/abs__primary_text_disable_only_holo_dark</item> + <item name="textColorPrimaryInverse">@color/abs__primary_text_holo_light</item> + + <!-- Internal --><item name="dropdownListPreferredItemHeight">48dip</item> + <item name="dropDownListViewStyle">@style/Widget.Sherlock.ListView.DropDown</item> + + <item name="textAppearanceLargePopupMenu">@style/TextAppearance.Sherlock.Widget.PopupMenu.Large</item> + <item name="textAppearanceSmallPopupMenu">@style/TextAppearance.Sherlock.Widget.PopupMenu.Small</item> + + <item name="popupMenuStyle">@style/Widget.Sherlock.PopupMenu</item> + + <item name="windowActionBar">true</item> + <item name="windowActionModeOverlay">false</item> + <item name="windowContentOverlay">@null</item> + </style> + <style name="Theme.Sherlock.Light" parent="Sherlock.__Theme.Light"> + <!-- Action bar styles (from Theme.Holo) --> + <item name="actionDropDownStyle">@style/Widget.Sherlock.Light.Spinner.DropDown.ActionBar</item> + <item name="actionButtonStyle">@style/Widget.Sherlock.Light.ActionButton</item> + <item name="actionOverflowButtonStyle">@style/Widget.Sherlock.Light.ActionButton.Overflow</item> + <item name="actionModeBackground">@drawable/abs__cab_background_top_holo_light</item> + <item name="actionModeSplitBackground">@drawable/abs__cab_background_bottom_holo_light</item> + <item name="actionModeCloseDrawable">@drawable/abs__ic_cab_done_holo_light</item> + <item name="actionBarTabStyle">@style/Widget.Sherlock.Light.ActionBar.TabView</item> + <item name="actionBarTabBarStyle">@style/Widget.Sherlock.Light.ActionBar.TabBar</item> + <item name="actionBarTabTextStyle">@style/Widget.Sherlock.Light.ActionBar.TabText</item> + <item name="actionModeStyle">@style/Widget.Sherlock.Light.ActionMode</item> + <item name="actionModeCloseButtonStyle">@style/Widget.Sherlock.Light.ActionButton.CloseMode</item> + <item name="actionBarStyle">@style/Widget.Sherlock.Light.ActionBar.Solid</item> + <item name="actionBarSize">@dimen/abs__action_bar_default_height</item> + <!-- Internal --><item name="actionModePopupWindowStyle">@style/Widget.Sherlock.Light.PopupWindow.ActionMode</item> + <item name="actionBarWidgetTheme">@null</item> + + <!-- Action bar styles (defaults from Theme) --> + <item name="actionBarSplitStyle">?attr/actionBarStyle</item> + <item name="actionMenuTextAppearance">@style/TextAppearance.Sherlock.Widget.ActionBar.Menu</item> + <item name="actionMenuTextColor">?attr/textColorPrimary</item> + <item name="actionBarDivider">?attr/dividerVertical</item> + <item name="actionBarItemBackground">@drawable/abs__item_background_holo_light</item> + + <item name="homeAsUpIndicator">@drawable/abs__ic_ab_back_holo_light</item> + + <item name="dividerVertical">@drawable/abs__list_divider_holo_light</item> + + <item name="spinnerDropDownItemStyle">@style/Widget.Sherlock.Light.DropDownItem.Spinner</item> + <item name="spinnerItemStyle">@style/Widget.Sherlock.TextView.SpinnerItem</item> + + <item name="textColorPrimary">@color/abs__primary_text_holo_light</item> + <item name="textColorPrimaryDisableOnly">@color/abs__primary_text_disable_only_holo_light</item> + <item name="textColorPrimaryInverse">@color/abs__primary_text_holo_dark</item> + + <!-- Internal --><item name="dropdownListPreferredItemHeight">48dip</item> + <item name="dropDownListViewStyle">@style/Widget.Sherlock.Light.ListView.DropDown</item> + + <item name="textAppearanceLargePopupMenu">@style/TextAppearance.Sherlock.Light.Widget.PopupMenu.Large</item> + <item name="textAppearanceSmallPopupMenu">@style/TextAppearance.Sherlock.Light.Widget.PopupMenu.Small</item> + + <item name="popupMenuStyle">@style/Widget.Sherlock.Light.PopupMenu</item> + + <item name="windowActionBar">true</item> + <item name="windowActionModeOverlay">false</item> + <item name="windowContentOverlay">@null</item> + </style> + <style name="Theme.Sherlock.Light.DarkActionBar" parent="Sherlock.__Theme.DarkActionBar"> + <item name="windowContentOverlay">@drawable/abs__ab_solid_shadow_holo</item> + <item name="actionBarStyle">@style/Widget.Sherlock.Light.ActionBar.Solid.Inverse</item> + <item name="actionBarWidgetTheme">@style/Theme.Sherlock</item> + + <item name="actionDropDownStyle">@style/Widget.Sherlock.Spinner.DropDown.ActionBar</item> + <item name="actionButtonStyle">@style/Widget.Sherlock.ActionButton</item> + <item name="actionOverflowButtonStyle">@style/Widget.Sherlock.ActionButton.Overflow</item> + <item name="actionModeBackground">@drawable/abs__cab_background_top_holo_dark</item> + <item name="actionModeSplitBackground">@drawable/abs__cab_background_bottom_holo_dark</item> + <item name="actionModeCloseDrawable">@drawable/abs__ic_cab_done_holo_dark</item> + <item name="homeAsUpIndicator">@drawable/abs__ic_ab_back_holo_dark</item> + <item name="actionBarTabStyle">@style/Widget.Sherlock.Light.ActionBar.TabView.Inverse</item> + <item name="actionBarTabBarStyle">@style/Widget.Sherlock.Light.ActionBar.TabBar.Inverse</item> + <item name="actionBarTabTextStyle">@style/Widget.Sherlock.Light.ActionBar.TabText.Inverse</item> + <item name="actionBarDivider">@drawable/abs__list_divider_holo_dark</item> + <item name="actionBarItemBackground">@drawable/abs__item_background_holo_dark</item> + <item name="actionMenuTextColor">?android:attr/textColorPrimaryInverse</item> + <item name="actionModeStyle">@style/Widget.Sherlock.Light.ActionMode.Inverse</item> + <item name="actionModeCloseButtonStyle">@style/Widget.Sherlock.ActionButton.CloseMode</item> + <item name="actionModePopupWindowStyle">@style/Widget.Sherlock.PopupWindow.ActionMode</item> + </style> + + + <style name="Theme.Sherlock.NoActionBar"> + <item name="windowActionBar">false</item> + <item name="windowNoTitle">true</item> + </style> + <style name="Theme.Sherlock.Light.NoActionBar"> + <item name="windowActionBar">false</item> + <item name="windowNoTitle">true</item> + </style> + + + <style name="Theme.Sherlock.ForceOverflow"> + <item name="absForceOverflow">true</item> + </style> + <style name="Theme.Sherlock.Light.ForceOverflow"> + <item name="absForceOverflow">true</item> + </style> + <style name="Theme.Sherlock.Light.DarkActionBar.ForceOverflow"> + <item name="absForceOverflow">true</item> + </style> + + + <style name="Theme.Sherlock.Dialog" parent="android:Theme"> + <item name="android:windowFrame">@null</item> + <item name="android:windowTitleStyle">@style/DialogWindowTitle.Sherlock</item> + <item name="android:windowBackground">@drawable/abs__dialog_full_holo_dark</item> + <item name="android:windowIsFloating">true</item> + <item name="android:windowContentOverlay">@null</item> + <item name="android:windowAnimationStyle">@android:style/Animation.Dialog</item> + <item name="android:windowSoftInputMode">stateUnspecified|adjustPan</item> + + <item name="android:windowActionBar">false</item> + <item name="android:windowActionModeOverlay">true</item> + <item name="android:windowCloseOnTouchOutside">true</item> + <item name="android:windowNoTitle">true</item> + <item name="android:backgroundDimAmount">0.6</item> + + <item name="android:colorBackgroundCacheHint">@null</item> + + <item name="android:textColorPrimary">@color/abs__primary_text_holo_dark</item> + <item name="android:textColorPrimaryInverse">@color/abs__primary_text_holo_light</item> + + <item name="windowMinWidthMajor">@dimen/abs__dialog_min_width_major</item> + <item name="windowMinWidthMinor">@dimen/abs__dialog_min_width_minor</item> + + <item name="windowActionBar">false</item> + <item name="windowContentOverlay">@null</item> + </style> + <style name="Theme.Sherlock.Light.Dialog" parent="android:Theme.Light"> + <item name="android:windowFrame">@null</item> + <item name="android:windowTitleStyle">@style/DialogWindowTitle.Sherlock.Light</item> + <item name="android:windowBackground">@drawable/abs__dialog_full_holo_light</item> + <item name="android:windowIsFloating">true</item> + <item name="android:windowContentOverlay">@null</item> + <item name="android:windowAnimationStyle">@android:style/Animation.Dialog</item> + <item name="android:windowSoftInputMode">stateUnspecified|adjustPan</item> + + <item name="android:windowActionBar">false</item> + <item name="android:windowActionModeOverlay">true</item> + <item name="android:windowCloseOnTouchOutside">true</item> + <item name="android:windowNoTitle">true</item> + <item name="android:backgroundDimAmount">0.6</item> + + <item name="android:colorBackgroundCacheHint">@null</item> + + <item name="android:textColorPrimary">@color/abs__primary_text_holo_light</item> + <item name="android:textColorPrimaryInverse">@color/abs__primary_text_holo_dark</item> + + <item name="windowMinWidthMajor">@dimen/abs__dialog_min_width_major</item> + <item name="windowMinWidthMinor">@dimen/abs__dialog_min_width_minor</item> + + <item name="windowActionBar">false</item> + <item name="windowContentOverlay">@null</item> + </style> +</resources> |