diff options
Diffstat (limited to 'libraries/ActionBarSherlock/res/values')
9 files changed, 1321 insertions, 0 deletions
diff --git a/libraries/ActionBarSherlock/res/values/abs__attrs.xml b/libraries/ActionBarSherlock/res/values/abs__attrs.xml new file mode 100644 index 000000000..32631ca8d --- /dev/null +++ b/libraries/ActionBarSherlock/res/values/abs__attrs.xml @@ -0,0 +1,432 @@ +<?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" /> + <!-- Drawable to use for the Share action button in WebView selection action modes --> + <attr name="actionModeShareDrawable" 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" /> + + <!-- Background drawable for standalone items that need focus/pressed states. --> + <attr name="selectableItemBackground" 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" /> + + <!-- ============================ --> + <!-- SearchView styles and assets --> + <!-- ============================ --> + <eat-comment /> + <!-- SearchView AutoCompleteTextView style --> + <attr name="searchAutoCompleteTextView" format="reference" /> + <!-- SearchView dropdown background --> + <attr name="searchDropdownBackground" format="reference" /> + <!-- SearchView close button icon --> + <attr name="searchViewCloseIcon" format="reference" /> + <!-- SearchView Go button icon --> + <attr name="searchViewGoIcon" format="reference" /> + <!-- SearchView Search icon --> + <attr name="searchViewSearchIcon" format="reference" /> + <!-- SearchView Voice button icon --> + <attr name="searchViewVoiceIcon" format="reference" /> + <!-- SearchView query refinement icon --> + <attr name="searchViewEditQuery" format="reference" /> + <!-- SearchView query refinement icon background --> + <attr name="searchViewEditQueryBackground" format="reference" /> + <!-- SearchView text field background for the left section --> + <attr name="searchViewTextField" format="reference" /> + <!-- SearchView text field background for the right section --> + <attr name="searchViewTextFieldRight" format="reference" /> + <!-- Text color for urls in search suggestions, used by things like global search and the browser. @hide --> + <attr name="textColorSearchUrl" format="reference|color" /> + <!-- The list item height for search results. @hide --> + <attr name="searchResultListItemHeight" format="dimension" /> + <!-- Text color, typeface, size, and style for system search result title. Defaults to primary inverse text color. --> + <attr name="textAppearanceSearchResultTitle" format="reference" /> + <!-- Text color, typeface, size, and style for system search result subtitle. Defaults to primary inverse text color. --> + <attr name="textAppearanceSearchResultSubtitle" 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" /> + + + <attr name="listPopupWindowStyle" format="reference" /> + + + <!-- Default ActivityChooserView style. --> + <attr name="activityChooserViewStyle" format="reference" /> + <!-- Drawable used as a background for activated items. --> + <attr name="activatedBackgroundIndicator" format="reference" /> + + <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> + + <declare-styleable name="SherlockActivityChooserView"> + <!-- The maximal number of items initially shown in the activity list. --> + <attr name="initialActivityCount" format="string" /> + <!-- The drawable to show in the button for expanding the activities overflow popup. + <strong>Note:</strong> Clients would like to set this drawable + as a clue about the action the chosen activity will perform. For + example, if share activity is to be chosen the drawable should + give a clue that sharing is to be performed. + --> + <attr name="expandActivityOverflowButtonDrawable" format="reference" /> + + <attr name="android:background" /> + </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> + + <declare-styleable name="SherlockSearchView"> + <!-- The default state of the SearchView. If true, it will be iconified when not in + use and expanded when clicked. --> + <attr name="iconifiedByDefault" format="boolean"/> + <!-- An optional maximum width of the SearchView. --> + <attr name="android:maxWidth" /> + <!-- An optional query hint string to be displayed in the empty query field. --> + <attr name="queryHint" format="string" /> + <!-- The IME options to set on the query text field. --> + <attr name="android:imeOptions" /> + <!-- The input type to set on the query text field. --> + <attr name="android:inputType" /> + </declare-styleable> + + <declare-styleable name="SherlockView"> + <attr name="android:focusable"/> + </declare-styleable> +</resources> diff --git a/libraries/ActionBarSherlock/res/values/abs__bools.xml b/libraries/ActionBarSherlock/res/values/abs__bools.xml new file mode 100644 index 000000000..0b432448d --- /dev/null +++ b/libraries/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/libraries/ActionBarSherlock/res/values/abs__colors.xml b/libraries/ActionBarSherlock/res/values/abs__colors.xml new file mode 100644 index 000000000..625c632ff --- /dev/null +++ b/libraries/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/libraries/ActionBarSherlock/res/values/abs__config.xml b/libraries/ActionBarSherlock/res/values/abs__config.xml new file mode 100644 index 000000000..4c7b5d459 --- /dev/null +++ b/libraries/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/libraries/ActionBarSherlock/res/values/abs__dimens.xml b/libraries/ActionBarSherlock/res/values/abs__dimens.xml new file mode 100644 index 000000000..831289e07 --- /dev/null +++ b/libraries/ActionBarSherlock/res/values/abs__dimens.xml @@ -0,0 +1,67 @@ +<?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> + + + <!-- Text padding for dropdown items --> + <dimen name="abs__dropdownitem_text_padding_left">8dip</dimen> + + <!-- Text padding for dropdown items --> + <dimen name="abs__dropdownitem_text_padding_right">8dip</dimen> + + <!-- Width of the icon in a dropdown list --> + <dimen name="abs__dropdownitem_icon_width">32dip</dimen> + + + <!-- Minimum width of the search view text entry area. --> + <dimen name="abs__search_view_text_min_width">160dip</dimen> + + <!-- Preferred width of the search view. --> + <dimen name="abs__search_view_preferred_width">320dip</dimen> +</resources> diff --git a/libraries/ActionBarSherlock/res/values/abs__ids.xml b/libraries/ActionBarSherlock/res/values/abs__ids.xml new file mode 100644 index 000000000..f9f56045b --- /dev/null +++ b/libraries/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/libraries/ActionBarSherlock/res/values/abs__strings.xml b/libraries/ActionBarSherlock/res/values/abs__strings.xml new file mode 100644 index 000000000..06a2a2af4 --- /dev/null +++ b/libraries/ActionBarSherlock/res/values/abs__strings.xml @@ -0,0 +1,53 @@ +<?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 xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> + <!-- 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> + + <!-- Title for a button to expand the list of activities in ActivityChooserView [CHAR LIMIT=25] --> + <string name="abs__activity_chooser_view_see_all">See all...</string> + <!-- Title default for a dialog showing possible activities in ActivityChooserView [CHAR LIMIT=25] --> + <string name="abs__activity_chooser_view_dialog_title_default">Select activity</string> + <!-- Title for a dialog showing possible activities for sharing in ShareActionProvider [CHAR LIMIT=25] --> + <string name="abs__share_action_provider_share_with">Share with...</string> + <!-- Description of the shwoing of a popup window with activities to choose from. [CHAR LIMIT=NONE] --> + <string name="abs__activitychooserview_choose_application">Choose an application</string> + <!-- Description of the choose target button in a ShareActionProvider (share UI). [CHAR LIMIT=NONE] --> + <string name="abs__shareactionprovider_share_with">Share with</string> + <!-- Description of a share target (both in the list of such or the default share button) in a ShareActionProvider (share UI). [CHAR LIMIT=NONE] --> + <string name="abs__shareactionprovider_share_with_application">Share with <xliff:g id="application_name" example="Bluetooth">%s</xliff:g></string> + + <!-- SearchView accessibility description for search button [CHAR LIMIT=NONE] --> + <string name="abs__searchview_description_search">Search</string> + <!-- SearchView accessibility description for search text field [CHAR LIMIT=NONE] --> + <string name="abs__searchview_description_query">Search query</string> + <!-- SearchView accessibility description for clear button [CHAR LIMIT=NONE] --> + <string name="abs__searchview_description_clear">Clear query</string> + <!-- SearchView accessibility description for submit button [CHAR LIMIT=NONE] --> + <string name="abs__searchview_description_submit">Submit query</string> + <!-- SearchView accessibility description for voice button [CHAR LIMIT=NONE] --> + <string name="abs__searchview_description_voice">Voice search</string> +</resources> diff --git a/libraries/ActionBarSherlock/res/values/abs__styles.xml b/libraries/ActionBarSherlock/res/values/abs__styles.xml new file mode 100644 index 000000000..45a18c183 --- /dev/null +++ b/libraries/ActionBarSherlock/res/values/abs__styles.xml @@ -0,0 +1,412 @@ +<?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_ab_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">@dimen/abs__action_button_min_width</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.ListPopupWindow" 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.ListPopupWindow" 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="Widget.Sherlock.PopupMenu" parent="Widget.Sherlock.ListPopupWindow"> + </style> + <style name="Widget.Sherlock.Light.PopupMenu" parent="Widget.Sherlock.Light.ListPopupWindow"> + </style> + + + <style name="Sherlock.__Widget.ActivityChooserView" parent="Widget"> + <item name="android:gravity">center</item> + <item name="android:background">@drawable/abs__ab_share_pack_holo_dark</item> + <item name="android:divider">?attr/dividerVertical</item> + <item name="android:showDividers">middle</item> + <item name="android:dividerPadding">6dip</item> + <item name="android:minHeight">?attr/actionBarSize</item> + </style> + <style name="Widget.Sherlock.ActivityChooserView" parent="Sherlock.__Widget.ActivityChooserView"> + </style> + <style name="Widget.Sherlock.Light.ActivityChooserView" parent="Widget.Sherlock.ActivityChooserView"> + <item name="android:background">@drawable/abs__ab_share_pack_holo_light</item> + </style> + + <style name="Widget.Sherlock.Button.Small" parent="Widget"> + <item name="android:textAppearance">?attr/textAppearanceSmall</item> + <item name="android:textColor">@color/abs__primary_text_holo_dark</item> + <item name="android:minHeight">48dip</item> + <item name="android:minWidth">48dip</item> + </style> + <style name="Widget.Sherlock.Light.Button.Small" parent="Widget"> + <item name="android:textAppearance">?attr/textAppearanceSmall</item> + <item name="android:textColor">@color/abs__primary_text_holo_light</item> + <item name="android:minHeight">48dip</item> + <item name="android:minWidth">48dip</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="Sherlock.__Widget.SearchAutoCompleteTextView" parent="Widget"> + <item name="android:focusable">true</item> + <item name="android:focusableInTouchMode">true</item> + <item name="android:clickable">true</item> + <item name="android:textAppearance">?android:attr/textAppearanceMediumInverse</item> + <item name="android:textColor">?attr/textColorPrimary</item> + <item name="android:gravity">center_vertical</item> + <item name="android:completionHintView">@layout/abs__simple_dropdown_hint</item> + <item name="android:completionThreshold">2</item> + <item name="android:dropDownWidth">wrap_content</item> + </style> + <style name="Widget.Sherlock.SearchAutoCompleteTextView" parent="Sherlock.__Widget.SearchAutoCompleteTextView"> + <item name="android:dropDownSelector">@drawable/abs__list_selector_holo_dark</item> + <item name="android:popupBackground">@drawable/abs__menu_dropdown_panel_holo_dark</item> + </style> + <style name="Widget.Sherlock.Light.SearchAutoCompleteTextView" parent="Sherlock.__Widget.SearchAutoCompleteTextView"> + <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="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> + + <style name="Sherlock.__TextAppearance.Small" parent="Widget"> + <item name="android:textSize">14sp</item> + <item name="android:textColor">?android:attr/textColorSecondary</item> + </style> + <style name="TextAppearance.Sherlock.Small" parent="Sherlock.__TextAppearance.Small"> + </style> + <style name="TextAppearance.Sherlock.Light.Small" parent="TextAppearance.Sherlock.Small"> + </style> + + <style name="TextAppearance.Sherlock.Widget.DropDownHint" parent="Widget"> + <item name="android:textColor">?textColorPrimary</item> + <item name="android:textSize">14sp</item> + </style> +</resources> diff --git a/libraries/ActionBarSherlock/res/values/abs__themes.xml b/libraries/ActionBarSherlock/res/values/abs__themes.xml new file mode 100644 index 000000000..634fa798b --- /dev/null +++ b/libraries/ActionBarSherlock/res/values/abs__themes.xml @@ -0,0 +1,239 @@ +<?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">?attr/selectableItemBackground</item> + + <item name="buttonStyleSmall">@style/Widget.Sherlock.Button.Small</item> + + <item name="selectableItemBackground">@drawable/abs__item_background_holo_dark</item> + + <item name="activatedBackgroundIndicator">@drawable/abs__activated_background_holo_dark</item> + <item name="actionModeShareDrawable">@drawable/abs__ic_menu_share_holo_dark</item> + <item name="activityChooserViewStyle">@style/Widget.Sherlock.ActivityChooserView</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="textAppearanceSmall">@style/TextAppearance.Sherlock.Small</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> + <!-- Internal --><item name="listPopupWindowStyle">@style/Widget.Sherlock.ListPopupWindow</item> + + <item name="searchDropdownBackground">@drawable/abs__search_dropdown_dark</item> + <item name="searchViewTextField">@drawable/abs__textfield_searchview_holo_dark</item> + <item name="searchViewTextFieldRight">@drawable/abs__textfield_searchview_right_holo_dark</item> + <item name="searchViewCloseIcon">@drawable/abs__ic_clear</item> + <item name="searchViewSearchIcon">@drawable/abs__ic_search</item> + <item name="searchViewGoIcon">@drawable/abs__ic_go</item> + <item name="searchViewVoiceIcon">@drawable/abs__ic_voice_search</item> + <item name="searchAutoCompleteTextView">@style/Widget.Sherlock.SearchAutoCompleteTextView</item> + <item name="android:dropDownHintAppearance">@style/TextAppearance.Sherlock.Widget.DropDownHint</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">?attr/selectableItemBackground</item> + + <item name="buttonStyleSmall">@style/Widget.Sherlock.Light.Button.Small</item> + + <item name="selectableItemBackground">@drawable/abs__item_background_holo_light</item> + + <item name="activatedBackgroundIndicator">@drawable/abs__activated_background_holo_light</item> + <item name="actionModeShareDrawable">@drawable/abs__ic_menu_share_holo_light</item> + <item name="activityChooserViewStyle">@style/Widget.Sherlock.Light.ActivityChooserView</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="textAppearanceSmall">@style/TextAppearance.Sherlock.Light.Small</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> + <!-- Internal --><item name="listPopupWindowStyle">@style/Widget.Sherlock.Light.ListPopupWindow</item> + + <item name="searchDropdownBackground">@drawable/abs__search_dropdown_light</item> + <item name="searchViewTextField">@drawable/abs__textfield_searchview_holo_light</item> + <item name="searchViewTextFieldRight">@drawable/abs__textfield_searchview_right_holo_light</item> + <item name="searchViewCloseIcon">@drawable/abs__ic_clear_holo_light</item> + <item name="searchViewSearchIcon">@drawable/abs__ic_search_api_holo_light</item> + <item name="searchViewGoIcon">@drawable/abs__ic_go_search_api_holo_light</item> + <item name="searchViewVoiceIcon">@drawable/abs__ic_voice_search_api_holo_light</item> + <item name="searchAutoCompleteTextView">@style/Widget.Sherlock.Light.SearchAutoCompleteTextView</item> + <item name="android:dropDownHintAppearance">@style/TextAppearance.Sherlock.Widget.DropDownHint</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">?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> + + <item name="actionModeShareDrawable">@drawable/abs__ic_menu_share_holo_dark</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.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> |