GoogleGit

blob: d983440b99ce75c45f779ed9cc4ab5c58b720ed7 [file] [log] [blame]
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <!-- Copyright (C) 2006 The Android Open Source Project
  3. Licensed under the Apache License, Version 2.0 (the "License");
  4. you may not use this file except in compliance with the License.
  5. You may obtain a copy of the License at
  6. http://www.apache.org/licenses/LICENSE-2.0
  7. Unless required by applicable law or agreed to in writing, software
  8. distributed under the License is distributed on an "AS IS" BASIS,
  9. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  10. See the License for the specific language governing permissions and
  11. limitations under the License.
  12. -->
  13. <!--
  14. ===============================================================
  15. PLEASE READ
  16. ===============================================================
  17. The Holo themes must not be modified in order to pass CTS.
  18. Many related themes and styles depend on other values defined in this file.
  19. If you would like to provide custom themes and styles for your device,
  20. please see themes_device_defaults.xml.
  21. ===============================================================
  22. PLEASE READ
  23. ===============================================================
  24. -->
  25. <resources>
  26. <!-- The default theme for apps on API level 10 and lower. This is the theme used for
  27. activities that have not explicitly set their own theme.
  28. <p>You can count on this being a dark
  29. background with light text on top, but should try to make no
  30. other assumptions about its appearance. In particular, the text
  31. inside of widgets using this theme may be completely different,
  32. with the widget container being a light color and the text on top
  33. of it a dark color.
  34. <p>If you're developing for API level 11 and higher, you should instead use {@link
  35. #Theme_Holo} or {@link #Theme_DeviceDefault}.</p>
  36. -->
  37. <style name="Theme">
  38. <item name="colorForeground">@color/bright_foreground_dark</item>
  39. <item name="colorForegroundInverse">@color/bright_foreground_dark_inverse</item>
  40. <item name="colorBackground">@color/background_dark</item>
  41. <item name="colorBackgroundCacheHint">?attr/colorBackground</item>
  42. <item name="colorPressedHighlight">@color/legacy_pressed_highlight</item>
  43. <item name="colorLongPressedHighlight">@color/legacy_long_pressed_highlight</item>
  44. <item name="colorFocusedHighlight">@color/legacy_selected_highlight</item>
  45. <item name="colorMultiSelectHighlight">@color/legacy_selected_highlight</item>
  46. <item name="colorActivatedHighlight">@color/legacy_selected_highlight</item>
  47. <item name="colorPrimaryDark">@color/legacy_primary_dark</item>
  48. <item name="colorPrimary">@color/legacy_primary</item>
  49. <item name="colorControlActivated">@color/legacy_control_activated</item>
  50. <item name="colorControlNormal">@color/legacy_control_normal</item>
  51. <item name="colorControlHighlight">@color/legacy_button_pressed</item>
  52. <item name="colorButtonNormal">@color/legacy_button_normal</item>
  53. <item name="colorEdgeEffect">?attr/colorPrimary</item>
  54. <item name="disabledAlpha">0.5</item>
  55. <item name="backgroundDimAmount">0.6</item>
  56. <!-- Text styles -->
  57. <item name="textAppearance">@style/TextAppearance</item>
  58. <item name="textAppearanceInverse">@style/TextAppearance.Inverse</item>
  59. <item name="textColorPrimary">@color/primary_text_dark</item>
  60. <item name="textColorSecondary">@color/secondary_text_dark</item>
  61. <item name="textColorTertiary">@color/tertiary_text_dark</item>
  62. <item name="textColorPrimaryInverse">@color/primary_text_light</item>
  63. <item name="textColorSecondaryInverse">@color/secondary_text_light</item>
  64. <item name="textColorTertiaryInverse">@color/tertiary_text_light</item>
  65. <item name="textColorPrimaryActivated">@color/primary_text_dark</item>
  66. <item name="textColorSecondaryActivated">@color/secondary_text_dark</item>
  67. <item name="textColorPrimaryDisableOnly">@color/primary_text_dark_disable_only</item>
  68. <item name="textColorPrimaryInverseDisableOnly">@color/primary_text_light_disable_only</item>
  69. <item name="textColorPrimaryNoDisable">@color/primary_text_dark_nodisable</item>
  70. <item name="textColorSecondaryNoDisable">@color/secondary_text_dark_nodisable</item>
  71. <item name="textColorPrimaryInverseNoDisable">@color/primary_text_light_nodisable</item>
  72. <item name="textColorSecondaryInverseNoDisable">@color/secondary_text_light_nodisable</item>
  73. <item name="textColorHint">@color/hint_foreground_dark</item>
  74. <item name="textColorHintInverse">@color/hint_foreground_light</item>
  75. <item name="textColorSearchUrl">@color/search_url_text</item>
  76. <item name="textColorHighlight">@color/highlighted_text_dark</item>
  77. <item name="textColorHighlightInverse">@color/highlighted_text_light</item>
  78. <item name="textColorLink">@color/link_text_dark</item>
  79. <item name="textColorLinkInverse">@color/link_text_light</item>
  80. <item name="textColorAlertDialogListItem">@color/primary_text_light_disable_only</item>
  81. <item name="textAppearanceLarge">@style/TextAppearance.Large</item>
  82. <item name="textAppearanceMedium">@style/TextAppearance.Medium</item>
  83. <item name="textAppearanceSmall">@style/TextAppearance.Small</item>
  84. <item name="textAppearanceLargeInverse">@style/TextAppearance.Large.Inverse</item>
  85. <item name="textAppearanceMediumInverse">@style/TextAppearance.Medium.Inverse</item>
  86. <item name="textAppearanceSmallInverse">@style/TextAppearance.Small.Inverse</item>
  87. <item name="textAppearanceSearchResultTitle">@style/TextAppearance.SearchResult.Title</item>
  88. <item name="textAppearanceSearchResultSubtitle">@style/TextAppearance.SearchResult.Subtitle</item>
  89. <item name="textAppearanceEasyCorrectSuggestion">@style/TextAppearance.EasyCorrectSuggestion</item>
  90. <item name="textAppearanceMisspelledSuggestion">@style/TextAppearance.MisspelledSuggestion</item>
  91. <item name="textAppearanceAutoCorrectionSuggestion">@style/TextAppearance.AutoCorrectionSuggestion</item>
  92. <item name="textAppearanceButton">@style/TextAppearance.Widget.Button</item>
  93. <item name="editTextColor">@color/primary_text_light</item>
  94. <item name="editTextBackground">@drawable/edit_text</item>
  95. <item name="candidatesTextStyleSpans">@string/candidates_style</item>
  96. <item name="textCheckMark">@drawable/indicator_check_mark_dark</item>
  97. <item name="textCheckMarkInverse">@drawable/indicator_check_mark_light</item>
  98. <item name="textAppearanceLargePopupMenu">@style/TextAppearance.Widget.PopupMenu.Large</item>
  99. <item name="textAppearanceSmallPopupMenu">@style/TextAppearance.Widget.PopupMenu.Small</item>
  100. <!-- Button styles -->
  101. <item name="buttonStyle">@style/Widget.Button</item>
  102. <item name="buttonStyleSmall">@style/Widget.Button.Small</item>
  103. <item name="buttonStyleInset">@style/Widget.Button.Inset</item>
  104. <item name="buttonStyleToggle">@style/Widget.Button.Toggle</item>
  105. <item name="switchStyle">@style/Widget.CompoundButton.Switch</item>
  106. <item name="selectableItemBackground">@drawable/item_background</item>
  107. <item name="selectableItemBackgroundBorderless">?attr/selectableItemBackground</item>
  108. <item name="borderlessButtonStyle">?attr/buttonStyle</item>
  109. <item name="homeAsUpIndicator">@drawable/ic_ab_back_holo_dark</item>
  110. <!-- List attributes -->
  111. <item name="listPreferredItemHeight">64dip</item>
  112. <item name="listPreferredItemHeightSmall">?attr/listPreferredItemHeight</item>
  113. <item name="listPreferredItemHeightLarge">?attr/listPreferredItemHeight</item>
  114. <item name="dropdownListPreferredItemHeight">?attr/listPreferredItemHeight</item>
  115. <item name="textAppearanceListItem">?attr/textAppearanceLarge</item>
  116. <item name="textAppearanceListItemSmall">?attr/textAppearanceLarge</item>
  117. <item name="textAppearanceListItemSecondary">?attr/textAppearanceSmall</item>
  118. <item name="listPreferredItemPaddingLeft">6dip</item>
  119. <item name="listPreferredItemPaddingRight">6dip</item>
  120. <item name="listPreferredItemPaddingStart">6dip</item>
  121. <item name="listPreferredItemPaddingEnd">6dip</item>
  122. <!-- @hide -->
  123. <item name="searchResultListItemHeight">58dip</item>
  124. <item name="listDivider">@drawable/divider_horizontal_dark</item>
  125. <item name="listSeparatorTextViewStyle">@style/Widget.TextView.ListSeparator</item>
  126. <item name="listChoiceIndicatorSingle">@drawable/btn_radio</item>
  127. <item name="listChoiceIndicatorMultiple">@drawable/btn_check</item>
  128. <item name="listChoiceBackgroundIndicator">@drawable/list_selector_background</item>
  129. <item name="activatedBackgroundIndicator">@drawable/activated_background</item>
  130. <item name="listDividerAlertDialog">@drawable/divider_horizontal_bright</item>
  131. <item name="expandableListPreferredItemPaddingLeft">40dip</item>
  132. <item name="expandableListPreferredChildPaddingLeft">?attr/expandableListPreferredItemPaddingLeft</item>
  133. <item name="expandableListPreferredItemIndicatorLeft">3dip</item>
  134. <item name="expandableListPreferredItemIndicatorRight">0dip</item>
  135. <item name="expandableListPreferredChildIndicatorLeft">?attr/expandableListPreferredItemIndicatorLeft</item>
  136. <item name="expandableListPreferredChildIndicatorRight">?attr/expandableListPreferredItemIndicatorRight</item>
  137. <item name="findOnPageNextDrawable">@drawable/ic_find_next_holo_dark</item>
  138. <item name="findOnPagePreviousDrawable">@drawable/ic_find_previous_holo_dark</item>
  139. <!-- Gallery attributes -->
  140. <item name="galleryItemBackground">@drawable/gallery_item_background</item>
  141. <!-- Window attributes -->
  142. <item name="windowBackground">@drawable/screen_background_selector_dark</item>
  143. <item name="windowBackgroundFallback">?attr/colorBackground</item>
  144. <item name="windowClipToOutline">false</item>
  145. <item name="windowFrame">@null</item>
  146. <item name="windowNoTitle">false</item>
  147. <item name="windowFullscreen">false</item>
  148. <item name="windowOverscan">false</item>
  149. <item name="windowIsFloating">false</item>
  150. <item name="windowContentOverlay">@null</item>
  151. <item name="windowShowWallpaper">false</item>
  152. <item name="windowTitleStyle">@style/WindowTitle</item>
  153. <item name="windowTitleSize">25dip</item>
  154. <item name="windowTitleBackgroundStyle">@style/WindowTitleBackground</item>
  155. <item name="windowAnimationStyle">@style/Animation.Activity</item>
  156. <item name="windowSoftInputMode">stateUnspecified|adjustUnspecified</item>
  157. <item name="windowActionBar">false</item>
  158. <item name="windowActionModeOverlay">false</item>
  159. <item name="windowCloseOnTouchOutside">false</item>
  160. <item name="windowTranslucentStatus">false</item>
  161. <item name="windowTranslucentNavigation">false</item>
  162. <item name="windowDrawsSystemBarBackgrounds">false</item>
  163. <item name="statusBarColor">@color/black</item>
  164. <item name="navigationBarColor">@color/black</item>
  165. <item name="windowActionBarFullscreenDecorLayout">@layout/screen_action_bar</item>
  166. <item name="windowContentTransitions">false</item>
  167. <item name="windowActivityTransitions">false</item>
  168. <!-- Define these here; ContextThemeWrappers around themes that define them should
  169. always clear these values. -->
  170. <item name="windowFixedWidthMajor">0dp</item>
  171. <item name="windowFixedWidthMinor">0dp</item>
  172. <item name="windowFixedHeightMajor">0dp</item>
  173. <item name="windowFixedHeightMinor">0dp</item>
  174. <!-- Dialog attributes -->
  175. <item name="dialogTheme">@style/Theme.Dialog</item>
  176. <item name="dialogTitleIconsDecorLayout">@layout/dialog_title_icons</item>
  177. <item name="dialogCustomTitleDecorLayout">@layout/dialog_custom_title</item>
  178. <item name="dialogTitleDecorLayout">@layout/dialog_title</item>
  179. <!-- AlertDialog attributes -->
  180. <item name="alertDialogTheme">@style/Theme.Dialog.Alert</item>
  181. <item name="alertDialogStyle">@style/AlertDialog</item>
  182. <item name="alertDialogCenterButtons">true</item>
  183. <item name="alertDialogIcon">@drawable/ic_dialog_alert</item>
  184. <!-- Presentation attributes (introduced after API level 10 so does not
  185. have a special old-style theme. -->
  186. <item name="presentationTheme">@style/Theme.DeviceDefault.Dialog.Presentation</item>
  187. <!-- Toast attributes -->
  188. <item name="toastFrameBackground">@drawable/toast_frame</item>
  189. <!-- Panel attributes -->
  190. <item name="panelBackground">@drawable/menu_background</item>
  191. <item name="panelFullBackground">@drawable/menu_background_fill_parent_width</item>
  192. <!-- These three attributes do not seems to be used by the framework. Declared public though -->
  193. <item name="panelColorBackground">#000</item>
  194. <item name="panelColorForeground">?attr/textColorPrimary</item>
  195. <item name="panelTextAppearance">?attr/textAppearance</item>
  196. <item name="panelMenuIsCompact">false</item>
  197. <item name="panelMenuListWidth">296dip</item>
  198. <!-- Scrollbar attributes -->
  199. <item name="scrollbarFadeDuration">250</item>
  200. <item name="scrollbarDefaultDelayBeforeFade">300</item>
  201. <item name="scrollbarSize">10dip</item>
  202. <item name="scrollbarThumbHorizontal">@drawable/scrollbar_handle_horizontal</item>
  203. <item name="scrollbarThumbVertical">@drawable/scrollbar_handle_vertical</item>
  204. <item name="scrollbarTrackHorizontal">@null</item>
  205. <item name="scrollbarTrackVertical">@null</item>
  206. <!-- Text selection handle attributes -->
  207. <item name="textSelectHandleLeft">@drawable/text_select_handle_left</item>
  208. <item name="textSelectHandleRight">@drawable/text_select_handle_right</item>
  209. <item name="textSelectHandle">@drawable/text_select_handle_middle</item>
  210. <item name="textSelectHandleWindowStyle">@style/Widget.TextSelectHandle</item>
  211. <item name="textEditPasteWindowLayout">@layout/text_edit_paste_window</item>
  212. <item name="textEditNoPasteWindowLayout">@layout/text_edit_no_paste_window</item>
  213. <item name="textEditSidePasteWindowLayout">@layout/text_edit_side_paste_window</item>
  214. <item name="textEditSideNoPasteWindowLayout">@layout/text_edit_side_no_paste_window</item>
  215. <item name="textSuggestionsWindowStyle">@style/Widget.TextSuggestionsPopupWindow</item>
  216. <item name="textEditSuggestionItemLayout">@layout/text_edit_suggestion_item</item>
  217. <item name="textCursorDrawable">@null</item>
  218. <!-- Widget styles -->
  219. <item name="absListViewStyle">@style/Widget.AbsListView</item>
  220. <item name="autoCompleteTextViewStyle">@style/Widget.AutoCompleteTextView</item>
  221. <item name="checkboxStyle">@style/Widget.CompoundButton.CheckBox</item>
  222. <item name="checkedTextViewStyle">@style/Widget.CheckedTextView</item>
  223. <item name="dropDownListViewStyle">@style/Widget.ListView.DropDown</item>
  224. <item name="editTextStyle">@style/Widget.EditText</item>
  225. <item name="expandableListViewStyle">@style/Widget.ExpandableListView</item>
  226. <item name="expandableListViewWhiteStyle">@style/Widget.ExpandableListView.White</item>
  227. <item name="fastScrollStyle">@style/Widget.FastScroll</item>
  228. <item name="galleryStyle">@style/Widget.Gallery</item>
  229. <item name="gestureOverlayViewStyle">@style/Widget.GestureOverlayView</item>
  230. <item name="gridViewStyle">@style/Widget.GridView</item>
  231. <item name="imageButtonStyle">@style/Widget.ImageButton</item>
  232. <item name="imageWellStyle">@style/Widget.ImageWell</item>
  233. <item name="listViewStyle">@style/Widget.ListView</item>
  234. <item name="listViewWhiteStyle">@style/Widget.ListView.White</item>
  235. <item name="popupWindowStyle">@style/Widget.PopupWindow</item>
  236. <item name="progressBarStyle">@style/Widget.ProgressBar</item>
  237. <item name="progressBarStyleHorizontal">@style/Widget.ProgressBar.Horizontal</item>
  238. <item name="progressBarStyleSmall">@style/Widget.ProgressBar.Small</item>
  239. <item name="progressBarStyleSmallTitle">@style/Widget.ProgressBar.Small.Title</item>
  240. <item name="progressBarStyleLarge">@style/Widget.ProgressBar.Large</item>
  241. <item name="progressBarStyleInverse">@style/Widget.ProgressBar.Inverse</item>
  242. <item name="progressBarStyleSmallInverse">@style/Widget.ProgressBar.Small.Inverse</item>
  243. <item name="progressBarStyleLargeInverse">@style/Widget.ProgressBar.Large.Inverse</item>
  244. <item name="seekBarStyle">@style/Widget.SeekBar</item>
  245. <item name="ratingBarStyle">@style/Widget.RatingBar</item>
  246. <item name="ratingBarStyleIndicator">@style/Widget.RatingBar.Indicator</item>
  247. <item name="ratingBarStyleSmall">@style/Widget.RatingBar.Small</item>
  248. <item name="radioButtonStyle">@style/Widget.CompoundButton.RadioButton</item>
  249. <item name="scrollViewStyle">@style/Widget.ScrollView</item>
  250. <item name="horizontalScrollViewStyle">@style/Widget.HorizontalScrollView</item>
  251. <item name="spinnerStyle">@style/Widget.Spinner</item>
  252. <item name="dropDownSpinnerStyle">@style/Widget.Spinner.DropDown</item>
  253. <item name="starStyle">@style/Widget.CompoundButton.Star</item>
  254. <item name="tabWidgetStyle">@style/Widget.TabWidget</item>
  255. <item name="textViewStyle">@style/Widget.TextView</item>
  256. <item name="errorMessageBackground">@drawable/popup_inline_error</item>
  257. <item name="errorMessageAboveBackground">@drawable/popup_inline_error_above</item>
  258. <item name="webTextViewStyle">@style/Widget.WebTextView</item>
  259. <item name="webViewStyle">@style/Widget.WebView</item>
  260. <item name="dropDownItemStyle">@style/Widget.DropDownItem</item>
  261. <item name="spinnerDropDownItemStyle">@style/Widget.DropDownItem.Spinner</item>
  262. <item name="spinnerItemStyle">@style/Widget.TextView.SpinnerItem</item>
  263. <item name="dropDownHintAppearance">@style/TextAppearance.Widget.DropDownHint</item>
  264. <item name="keyboardViewStyle">@style/Widget.KeyboardView</item>
  265. <item name="quickContactBadgeOverlay">@drawable/quickcontact_badge_overlay_dark</item>
  266. <item name="quickContactBadgeStyleWindowSmall">@style/Widget.QuickContactBadge.WindowSmall</item>
  267. <item name="quickContactBadgeStyleWindowMedium">@style/Widget.QuickContactBadge.WindowMedium</item>
  268. <item name="quickContactBadgeStyleWindowLarge">@style/Widget.QuickContactBadge.WindowLarge</item>
  269. <item name="quickContactBadgeStyleSmallWindowSmall">@style/Widget.QuickContactBadgeSmall.WindowSmall</item>
  270. <item name="quickContactBadgeStyleSmallWindowMedium">@style/Widget.QuickContactBadgeSmall.WindowMedium</item>
  271. <item name="quickContactBadgeStyleSmallWindowLarge">@style/Widget.QuickContactBadgeSmall.WindowLarge</item>
  272. <item name="listPopupWindowStyle">@style/Widget.ListPopupWindow</item>
  273. <item name="popupMenuStyle">@style/Widget.PopupMenu</item>
  274. <item name="activityChooserViewStyle">@style/Widget.ActivityChooserView</item>
  275. <item name="mediaRouteButtonStyle">@style/Widget.DeviceDefault.MediaRouteButton</item>
  276. <item name="fragmentBreadCrumbsStyle">@style/Widget.FragmentBreadCrumbs</item>
  277. <!-- Preference styles -->
  278. <item name="preferenceScreenStyle">@style/Preference.PreferenceScreen</item>
  279. <item name="preferenceActivityStyle">@style/PreferenceActivity</item>
  280. <item name="preferenceFragmentStyle">@style/PreferenceFragment</item>
  281. <item name="preferenceCategoryStyle">@style/Preference.Category</item>
  282. <item name="preferenceStyle">@style/Preference</item>
  283. <item name="preferenceInformationStyle">@style/Preference.Information</item>
  284. <item name="checkBoxPreferenceStyle">@style/Preference.CheckBoxPreference</item>
  285. <item name="switchPreferenceStyle">@style/Preference.SwitchPreference</item>
  286. <item name="seekBarPreferenceStyle">@style/Preference.SeekBarPreference</item>
  287. <item name="yesNoPreferenceStyle">@style/Preference.DialogPreference.YesNoPreference</item>
  288. <item name="dialogPreferenceStyle">@style/Preference.DialogPreference</item>
  289. <item name="editTextPreferenceStyle">@style/Preference.DialogPreference.EditTextPreference</item>
  290. <item name="ringtonePreferenceStyle">@style/Preference.RingtonePreference</item>
  291. <item name="preferenceLayoutChild">@layout/preference_child</item>
  292. <item name="preferencePanelStyle">@style/PreferencePanel</item>
  293. <item name="preferenceHeaderPanelStyle">@style/PreferenceHeaderPanel</item>
  294. <item name="preferenceListStyle">@style/PreferenceHeaderList</item>
  295. <item name="preferenceFragmentListStyle">@style/PreferenceFragmentList</item>
  296. <item name="preferenceFragmentPaddingSide">@dimen/preference_fragment_padding_side</item>
  297. <item name="detailsElementBackground">@drawable/panel_bg_holo_dark</item>
  298. <!-- Search widget styles -->
  299. <item name="searchWidgetCorpusItemBackground">@color/search_widget_corpus_item_background</item>
  300. <!-- Action bar styles -->
  301. <item name="actionDropDownStyle">@style/Widget.Spinner.DropDown</item>
  302. <item name="actionButtonStyle">@style/Widget.ActionButton</item>
  303. <item name="actionOverflowButtonStyle">@style/Widget.ActionButton.Overflow</item>
  304. <item name="actionOverflowMenuStyle">?attr/popupMenuStyle</item>
  305. <item name="actionModeBackground">@drawable/cab_background_top_holo_dark</item>
  306. <item name="actionModeSplitBackground">@null</item>
  307. <item name="actionModeCloseDrawable">@drawable/ic_menu_close_clear_cancel</item>
  308. <item name="actionModeCutDrawable">@drawable/ic_menu_cut_holo_dark</item>
  309. <item name="actionModeCopyDrawable">@drawable/ic_menu_copy_holo_dark</item>
  310. <item name="actionModePasteDrawable">@drawable/ic_menu_paste_holo_dark</item>
  311. <item name="actionModeSelectAllDrawable">@drawable/ic_menu_selectall_holo_dark</item>
  312. <item name="actionModeShareDrawable">@drawable/ic_menu_share_holo_dark</item>
  313. <item name="actionModeFindDrawable">@drawable/ic_menu_find_holo_dark</item>
  314. <item name="actionModeWebSearchDrawable">@drawable/ic_menu_search</item>
  315. <item name="actionBarTabStyle">@style/Widget.ActionBar.TabView</item>
  316. <item name="actionBarTabBarStyle">@style/Widget.ActionBar.TabBar</item>
  317. <item name="actionBarTabTextStyle">@style/Widget.ActionBar.TabText</item>
  318. <item name="actionModeStyle">@style/Widget.ActionMode</item>
  319. <item name="actionModeCloseButtonStyle">@style/Widget.ActionButton.CloseMode</item>
  320. <item name="actionBarStyle">@style/Widget.ActionBar</item>
  321. <item name="actionBarSplitStyle">?attr/actionBarStyle</item>
  322. <item name="actionBarSize">@dimen/action_bar_default_height</item>
  323. <item name="actionModePopupWindowStyle">?attr/popupWindowStyle</item>
  324. <item name="actionMenuTextAppearance">@style/TextAppearance.Holo.Widget.ActionBar.Menu</item>
  325. <item name="actionMenuTextColor">?attr/textColorPrimary</item>
  326. <item name="actionBarWidgetTheme">@null</item>
  327. <item name="actionBarPopupTheme">@null</item>
  328. <item name="actionBarTheme">@null</item>
  329. <item name="actionBarDivider">?attr/dividerVertical</item>
  330. <item name="actionBarItemBackground">?attr/selectableItemBackground</item>
  331. <item name="toolbarStyle">@style/Widget.Toolbar</item>
  332. <item name="dividerVertical">@drawable/divider_vertical_dark</item>
  333. <item name="dividerHorizontal">@drawable/divider_vertical_dark</item>
  334. <item name="buttonBarStyle">@style/ButtonBar</item>
  335. <item name="buttonBarButtonStyle">?attr/buttonStyle</item>
  336. <item name="buttonBarPositiveButtonStyle">?attr/buttonBarButtonStyle</item>
  337. <item name="buttonBarNegativeButtonStyle">?attr/buttonBarButtonStyle</item>
  338. <item name="buttonBarNeutralButtonStyle">?attr/buttonBarButtonStyle</item>
  339. <item name="segmentedButtonStyle">@style/SegmentedButton</item>
  340. <!-- SearchView attributes -->
  341. <item name="searchViewStyle">@style/Widget.Holo.SearchView</item>
  342. <item name="searchDialogTheme">@style/Theme.SearchBar</item>
  343. <!-- PreferenceFrameLayout attributes -->
  344. <item name="preferenceFrameLayoutStyle">@style/Widget.PreferenceFrameLayout</item>
  345. <!-- NumberPicker style-->
  346. <item name="numberPickerStyle">@style/Widget.NumberPicker</item>
  347. <!-- CalendarView style-->
  348. <item name="calendarViewStyle">@style/Widget.CalendarView</item>
  349. <!-- TimePicker style -->
  350. <item name="timePickerStyle">@style/Widget.TimePicker</item>
  351. <!-- TimePicker dialog theme -->
  352. <item name="timePickerDialogTheme">?attr/alertDialogTheme</item>
  353. <!-- DatePicker style -->
  354. <item name="datePickerStyle">@style/Widget.DatePicker</item>
  355. <!-- DatePicker dialog theme -->
  356. <item name="datePickerDialogTheme">?attr/alertDialogTheme</item>
  357. <item name="fastScrollThumbDrawable">@drawable/scrollbar_handle_accelerated_anim2</item>
  358. <item name="fastScrollTrackDrawable">@null</item>
  359. <item name="fastScrollPreviewBackgroundRight">@drawable/menu_submenu_background</item>
  360. <item name="fastScrollPreviewBackgroundLeft">@drawable/menu_submenu_background</item>
  361. <item name="fastScrollOverlayPosition">floating</item>
  362. <item name="fastScrollTextColor">@color/primary_text_dark</item>
  363. <!-- Pointer style -->
  364. <item name="pointerStyle">@style/Pointer</item>
  365. <!-- Accessibility focused drawable -->
  366. <item name="accessibilityFocusedDrawable">@drawable/view_accessibility_focused</item>
  367. <!-- Lighting and shadow properties -->
  368. <item name="lightY">@dimen/light_y</item>
  369. <item name="lightZ">@dimen/light_z</item>
  370. <item name="lightRadius">@dimen/light_radius</item>
  371. <item name="ambientShadowAlpha">@dimen/ambient_shadow_alpha</item>
  372. <item name="spotShadowAlpha">@dimen/spot_shadow_alpha</item>
  373. </style>
  374. <!-- Variant of {@link #Theme} with no title bar -->
  375. <style name="Theme.NoTitleBar">
  376. <item name="windowNoTitle">true</item>
  377. </style>
  378. <!-- Variant of {@link #Theme} that has no title bar and no status bar. This theme
  379. sets {@link android.R.attr#windowFullscreen} to true. -->
  380. <style name="Theme.NoTitleBar.Fullscreen">
  381. <item name="windowFullscreen">true</item>
  382. <item name="windowContentOverlay">@null</item>
  383. </style>
  384. <!-- No title bar, but Action Mode bars will overlay application content
  385. instead of pushing it down to make room. -->
  386. <style name="Theme.NoTitleBar.OverlayActionModes">
  387. <item name="windowActionModeOverlay">true</item>
  388. </style>
  389. <!-- Default theme with an Action Bar. -->
  390. <style name="Theme.WithActionBar">
  391. <item name="windowActionBar">true</item>
  392. </style>
  393. <!-- Theme for a light background with dark text on top. Set your activity
  394. to this theme if you would like such an appearance. As with the
  395. default theme, you should try to assume little more than that the
  396. background will be a light color.
  397. <p>This is designed for API level 10 and lower.</p>-->
  398. <style name="Theme.Light">
  399. <item name="windowBackground">@drawable/screen_background_selector_light</item>
  400. <item name="windowClipToOutline">false</item>
  401. <item name="colorBackground">@color/background_light</item>
  402. <item name="colorForeground">@color/bright_foreground_light</item>
  403. <item name="colorForegroundInverse">@color/bright_foreground_light_inverse</item>
  404. <item name="colorPrimaryDark">@color/legacy_light_primary_dark</item>
  405. <item name="colorPrimary">@color/legacy_light_primary</item>
  406. <item name="colorControlActivated">@color/legacy_light_control_activated</item>
  407. <item name="colorControlNormal">@color/legacy_light_control_normal</item>
  408. <item name="colorControlHighlight">@color/legacy_light_button_pressed</item>
  409. <item name="colorButtonNormal">@color/legacy_light_button_normal</item>
  410. <item name="textColorPrimary">@color/primary_text_light</item>
  411. <item name="textColorSecondary">@color/secondary_text_light</item>
  412. <item name="textColorTertiary">@color/tertiary_text_light</item>
  413. <item name="textColorPrimaryInverse">@color/primary_text_dark</item>
  414. <item name="textColorSecondaryInverse">@color/secondary_text_dark</item>
  415. <item name="textColorTertiaryInverse">@color/tertiary_text_dark</item>
  416. <item name="textColorPrimaryActivated">@color/primary_text_light</item>
  417. <item name="textColorSecondaryActivated">@color/secondary_text_light</item>
  418. <item name="textColorPrimaryDisableOnly">@color/primary_text_light_disable_only</item>
  419. <item name="textColorPrimaryInverseDisableOnly">@color/primary_text_dark_disable_only</item>
  420. <item name="textColorPrimaryNoDisable">@color/primary_text_light_nodisable</item>
  421. <item name="textColorSecondaryNoDisable">@color/secondary_text_light_nodisable</item>
  422. <item name="textColorPrimaryInverseNoDisable">@color/primary_text_dark_nodisable</item>
  423. <item name="textColorSecondaryInverseNoDisable">@color/secondary_text_dark_nodisable</item>
  424. <item name="textColorHint">@color/hint_foreground_light</item>
  425. <item name="textColorHintInverse">@color/hint_foreground_dark</item>
  426. <item name="textColorHighlight">@color/highlighted_text_light</item>
  427. <item name="textColorHighlightInverse">@color/highlighted_text_dark</item>
  428. <item name="textColorLink">@color/link_text_light</item>
  429. <item name="textColorLinkInverse">@color/link_text_dark</item>
  430. <item name="editTextColor">@color/primary_text_light</item>
  431. <item name="listChoiceBackgroundIndicator">@drawable/list_selector_background</item>
  432. <item name="activatedBackgroundIndicator">@drawable/activated_background_light</item>
  433. <item name="quickContactBadgeOverlay">@drawable/quickcontact_badge_overlay_light</item>
  434. <item name="popupWindowStyle">@style/Widget.PopupWindow</item>
  435. <item name="textCheckMark">@drawable/indicator_check_mark_light</item>
  436. <item name="textCheckMarkInverse">@drawable/indicator_check_mark_dark</item>
  437. <item name="gestureOverlayViewStyle">@style/Widget.GestureOverlayView.White</item>
  438. <item name="expandableListViewStyle">@style/Widget.ExpandableListView.White</item>
  439. <item name="listViewStyle">@style/Widget.ListView.White</item>
  440. <item name="listDivider">@drawable/divider_horizontal_bright</item>
  441. <item name="listSeparatorTextViewStyle">@style/Widget.TextView.ListSeparator.White</item>
  442. <item name="progressBarStyle">@style/Widget.ProgressBar.Inverse</item>
  443. <item name="progressBarStyleSmall">@style/Widget.ProgressBar.Small.Inverse</item>
  444. <item name="progressBarStyleLarge">@style/Widget.ProgressBar.Large.Inverse</item>
  445. <item name="progressBarStyleInverse">@style/Widget.ProgressBar</item>
  446. <item name="progressBarStyleSmallInverse">@style/Widget.ProgressBar.Small</item>
  447. <item name="progressBarStyleLargeInverse">@style/Widget.ProgressBar.Large</item>
  448. <item name="actionModeCutDrawable">@drawable/ic_menu_cut_holo_light</item>
  449. <item name="actionModeCopyDrawable">@drawable/ic_menu_copy_holo_light</item>
  450. <item name="actionModePasteDrawable">@drawable/ic_menu_paste_holo_light</item>
  451. <item name="actionModeSelectAllDrawable">@drawable/ic_menu_selectall_holo_light</item>
  452. <item name="actionModeShareDrawable">@drawable/ic_menu_share_holo_light</item>
  453. <item name="actionModeFindDrawable">@drawable/ic_menu_find_holo_light</item>
  454. <item name="actionModeWebSearchDrawable">@drawable/ic_menu_search_holo_light</item>
  455. <item name="actionModeBackground">@drawable/cab_background_top_holo_light</item>
  456. <item name="actionModeSplitBackground">@drawable/cab_background_bottom_holo_light</item>
  457. <item name="searchViewStyle">@style/Widget.Holo.Light.SearchView</item>
  458. <item name="detailsElementBackground">@drawable/panel_bg_holo_light</item>
  459. <item name="mediaRouteButtonStyle">@style/Widget.DeviceDefault.Light.MediaRouteButton</item>
  460. <item name="findOnPageNextDrawable">@drawable/ic_find_next_holo_light</item>
  461. <item name="findOnPagePreviousDrawable">@drawable/ic_find_previous_holo_light</item>
  462. </style>
  463. <!-- Variant of {@link #Theme_Light} with no title bar -->
  464. <style name="Theme.Light.NoTitleBar">
  465. <item name="windowNoTitle">true</item>
  466. </style>
  467. <!-- Variant of {@link #Theme_Light} that has no title bar and
  468. no status bar. This theme
  469. sets {@link android.R.attr#windowFullscreen} to true. -->
  470. <style name="Theme.Light.NoTitleBar.Fullscreen">
  471. <item name="windowFullscreen">true</item>
  472. <item name="windowContentOverlay">@null</item>
  473. </style>
  474. <!-- Variant on {@link #Theme} that ensures the background is
  475. completely black. This is useful for things like image viewers and
  476. media players. If you want the normal (dark background) theme
  477. do <em>not</em> use this, use {@link #Theme}. -->
  478. <style name="Theme.Black">
  479. <item name="windowBackground">@color/black</item>
  480. <item name="colorBackground">@color/black</item>
  481. </style>
  482. <!-- Variant of {@link #Theme_Black} with no title bar -->
  483. <style name="Theme.Black.NoTitleBar">
  484. <item name="windowNoTitle">true</item>
  485. </style>
  486. <!-- Variant of {@link #Theme_Black} that has no title bar and
  487. no status bar. This theme
  488. sets {@link android.R.attr#windowFullscreen} to true. -->
  489. <style name="Theme.Black.NoTitleBar.Fullscreen">
  490. <item name="windowFullscreen">true</item>
  491. <item name="windowContentOverlay">@null</item>
  492. </style>
  493. <!-- Theme for windows that want to have the user's selected
  494. wallpaper appear behind them (for API level 10 and lower). -->
  495. <style name="Theme.Wallpaper">
  496. <item name="windowBackground">@color/transparent</item>
  497. <item name="colorBackgroundCacheHint">@null</item>
  498. <item name="windowShowWallpaper">true</item>
  499. </style>
  500. <!-- Variant of {@link #Theme_Wallpaper} that has no title bar -->
  501. <style name="Theme.Wallpaper.NoTitleBar">
  502. <item name="windowNoTitle">true</item>
  503. </style>
  504. <!-- Variant of {@link #Theme_Wallpaper} that
  505. has no title bar or status bar. -->
  506. <style name="Theme.Wallpaper.NoTitleBar.Fullscreen">
  507. <item name="windowFullscreen">true</item>
  508. <item name="windowContentOverlay">@null</item>
  509. </style>
  510. <!-- Theme for a wallpaper's setting activity, which is designed to be a transparent
  511. background with a dark shade, so the previous Activity is visible in the background. -->
  512. <style name="Theme.WallpaperSettings">
  513. <item name="windowBackground">@drawable/screen_background_dark_transparent</item>
  514. <item name="colorBackgroundCacheHint">@null</item>
  515. <item name="windowIsTranslucent">true</item>
  516. <item name="windowAnimationStyle">@style/Animation.Translucent</item>
  517. </style>
  518. <!-- Theme for a wallpaper's setting activity, which is designed to be a transparent
  519. background with a light shade, so the previous Activity is visible in the background. -->
  520. <style name="Theme.Light.WallpaperSettings">
  521. <item name="windowBackground">@drawable/screen_background_light_transparent</item>
  522. <item name="colorBackgroundCacheHint">@null</item>
  523. <item name="windowIsTranslucent">true</item>
  524. <item name="windowAnimationStyle">@style/Animation.Translucent</item>
  525. </style>
  526. <!-- Style to apply on top of a wallpaper settings theme when it is being
  527. shown on top of the real wallpaper -->
  528. <style name="ActiveWallpaperSettings" />
  529. <!-- Style to apply on top of a wallpaper settings theme when it is being
  530. shown on top of the real wallpaper -->
  531. <style name="PreviewWallpaperSettings" />
  532. <!-- Theme for translucent activities (on API level 10 and lower). That is, windows
  533. that allow you to see through them to the windows behind. This sets up the translucent
  534. flag and appropriate animations for your windows. -->
  535. <style name="Theme.Translucent">
  536. <item name="windowBackground">@color/transparent</item>
  537. <item name="colorBackgroundCacheHint">@null</item>
  538. <item name="windowIsTranslucent">true</item>
  539. <!-- Note that we use the base animation style here (that is no
  540. animations) because we really have no idea how this kind of
  541. activity will be used. -->
  542. <item name="windowAnimationStyle">@style/Animation</item>
  543. </style>
  544. <!-- Variant of {@link #Theme_Translucent} with no title bar -->
  545. <style name="Theme.Translucent.NoTitleBar">
  546. <item name="windowNoTitle">true</item>
  547. <item name="windowContentOverlay">@null</item>
  548. </style>
  549. <!-- Variant of {@link #Theme_Translucent} that has no title bar and
  550. no status bar -->
  551. <style name="Theme.Translucent.NoTitleBar.Fullscreen">
  552. <item name="windowFullscreen">true</item>
  553. </style>
  554. <!-- Default theme for activities that don't actually display a UI; that
  555. is, they finish themselves before being resumed. -->
  556. <style name="Theme.NoDisplay">
  557. <item name="windowBackground">@null</item>
  558. <item name="windowContentOverlay">@null</item>
  559. <item name="windowIsTranslucent">true</item>
  560. <item name="windowAnimationStyle">@null</item>
  561. <item name="windowDisablePreview">true</item>
  562. <item name="windowNoDisplay">true</item>
  563. </style>
  564. <!-- Default theme for dialog windows and activities (on API level 10 and lower),
  565. which is used by the
  566. {@link android.app.Dialog} class. This changes the window to be
  567. floating (not fill the entire screen), and puts a frame around its
  568. contents. You can set this theme on an activity if you would like to
  569. make an activity that looks like a Dialog. -->
  570. <style name="Theme.Dialog">
  571. <item name="windowFrame">@null</item>
  572. <item name="windowTitleStyle">@style/DialogWindowTitle</item>
  573. <item name="windowBackground">@drawable/panel_background</item>
  574. <item name="windowIsFloating">true</item>
  575. <item name="windowContentOverlay">@null</item>
  576. <item name="windowAnimationStyle">@style/Animation.Dialog</item>
  577. <item name="windowSoftInputMode">stateUnspecified|adjustPan</item>
  578. <item name="windowCloseOnTouchOutside">@bool/config_closeDialogWhenTouchOutside</item>
  579. <item name="windowActionModeOverlay">true</item>
  580. <item name="colorBackgroundCacheHint">@null</item>
  581. <item name="textAppearance">@style/TextAppearance</item>
  582. <item name="textAppearanceInverse">@style/TextAppearance.Inverse</item>
  583. <item name="textColorPrimary">@color/primary_text_dark</item>
  584. <item name="textColorSecondary">@color/secondary_text_dark</item>
  585. <item name="textColorTertiary">@color/tertiary_text_dark</item>
  586. <item name="textColorPrimaryInverse">@color/primary_text_light</item>
  587. <item name="textColorSecondaryInverse">@color/secondary_text_light</item>
  588. <item name="textColorTertiaryInverse">@color/tertiary_text_light</item>
  589. <item name="textColorPrimaryDisableOnly">@color/primary_text_dark_disable_only</item>
  590. <item name="textColorPrimaryInverseDisableOnly">@color/primary_text_light_disable_only</item>
  591. <item name="textColorPrimaryNoDisable">@color/primary_text_dark_nodisable</item>
  592. <item name="textColorSecondaryNoDisable">@color/secondary_text_dark_nodisable</item>
  593. <item name="textColorPrimaryInverseNoDisable">@color/primary_text_light_nodisable</item>
  594. <item name="textColorSecondaryInverseNoDisable">@color/secondary_text_light_nodisable</item>
  595. <item name="textColorHint">@color/hint_foreground_dark</item>
  596. <item name="textColorHintInverse">@color/hint_foreground_light</item>
  597. <item name="textColorSearchUrl">@color/search_url_text</item>
  598. <item name="textAppearanceLarge">@style/TextAppearance.Large</item>
  599. <item name="textAppearanceMedium">@style/TextAppearance.Medium</item>
  600. <item name="textAppearanceSmall">@style/TextAppearance.Small</item>
  601. <item name="textAppearanceLargeInverse">@style/TextAppearance.Large.Inverse</item>
  602. <item name="textAppearanceMediumInverse">@style/TextAppearance.Medium.Inverse</item>
  603. <item name="textAppearanceSmallInverse">@style/TextAppearance.Small.Inverse</item>
  604. <item name="listPreferredItemPaddingLeft">10dip</item>
  605. <item name="listPreferredItemPaddingRight">10dip</item>
  606. <item name="listPreferredItemPaddingStart">10dip</item>
  607. <item name="listPreferredItemPaddingEnd">10dip</item>
  608. <item name="preferencePanelStyle">@style/PreferencePanel.Dialog</item>
  609. </style>
  610. <!-- Variant of {@link Theme_Dialog} that does not include a frame (or background).
  611. The view hierarchy of the dialog is responsible for drawing all of
  612. its pixels. -->
  613. <style name="Theme.Dialog.NoFrame">
  614. <item name="windowBackground">@color/transparent</item>
  615. <item name="windowFrame">@null</item>
  616. <item name="windowContentOverlay">@null</item>
  617. <item name="windowAnimationStyle">@null</item>
  618. <item name="backgroundDimEnabled">false</item>
  619. <item name="windowIsTranslucent">true</item>
  620. <item name="windowNoTitle">true</item>
  621. <item name="windowCloseOnTouchOutside">false</item>
  622. </style>
  623. <!-- Default theme for alert dialog windows (on API level 10 and lower), which is used by the
  624. {@link android.app.AlertDialog} class. This is basically a dialog
  625. but sets the background to empty so it can do two-tone backgrounds. -->
  626. <style name="Theme.Dialog.Alert">
  627. <item name="windowBackground">@color/transparent</item>
  628. <item name="windowTitleStyle">@style/DialogWindowTitle</item>
  629. <item name="windowContentOverlay">@null</item>
  630. <item name="itemTextAppearance">@style/TextAppearance.Large.Inverse</item>
  631. <item name="textAppearanceListItem">@style/TextAppearance.Large.Inverse</item>
  632. <item name="textAppearanceListItemSmall">@style/TextAppearance.Large.Inverse</item>
  633. <item name="textAppearanceListItemSecondary">@style/TextAppearance.Small.Inverse</item>
  634. </style>
  635. <!-- Default dark theme for panel windows (on API level 10 and lower). This removes all
  636. extraneous window decorations, so you basically have an empty rectangle in which
  637. to place your content. It makes the window floating, with a transparent
  638. background, and turns off dimming behind the window. -->
  639. <style name="Theme.Panel">
  640. <item name="windowBackground">@color/transparent</item>
  641. <item name="colorBackgroundCacheHint">@null</item>
  642. <item name="windowFrame">@null</item>
  643. <item name="windowContentOverlay">@null</item>
  644. <item name="windowAnimationStyle">@null</item>
  645. <item name="windowIsFloating">true</item>
  646. <item name="backgroundDimEnabled">false</item>
  647. <item name="windowIsTranslucent">true</item>
  648. <item name="windowNoTitle">true</item>
  649. </style>
  650. <!-- Default light theme for panel windows (on API level 10 and lower). This removes all
  651. extraneous window decorations, so you basically have an empty rectangle in which
  652. to place your content. It makes the window floating, with a transparent
  653. background, and turns off dimming behind the window. -->
  654. <style name="Theme.Light.Panel">
  655. <item name="windowBackground">@color/transparent</item>
  656. <item name="colorBackgroundCacheHint">@null</item>
  657. <item name="windowFrame">@null</item>
  658. <item name="windowContentOverlay">@null</item>
  659. <item name="windowAnimationStyle">@null</item>
  660. <item name="windowIsFloating">true</item>
  661. <item name="backgroundDimEnabled">false</item>
  662. <item name="windowIsTranslucent">true</item>
  663. <item name="windowNoTitle">true</item>
  664. </style>
  665. <!-- Default theme for input methods (on API level 10 and lower), which is used by the
  666. {@link android.inputmethodservice.InputMethodService} class.
  667. this inherits from Theme.Panel, but sets up IME appropriate animations
  668. and a few custom attributes. -->
  669. <style name="Theme.InputMethod" parent="Theme.Panel">
  670. <item name="windowAnimationStyle">@style/Animation.InputMethod</item>
  671. <item name="imeFullscreenBackground">@drawable/input_method_fullscreen_background</item>
  672. <item name="imeExtractEnterAnimation">@anim/input_method_extract_enter</item>
  673. <item name="imeExtractExitAnimation">@anim/input_method_extract_exit</item>
  674. </style>
  675. <!-- Default theme for voice interaction, which is used by the
  676. {@link android.service.voice.VoiceInteractionSession} class.
  677. this inherits from Theme.Panel, but sets up appropriate animations
  678. and a few custom attributes. -->
  679. <style name="Theme.VoiceInteractionSession" parent="Theme.Panel">
  680. <item name="windowAnimationStyle">@style/Animation.VoiceInteractionSession</item>
  681. </style>
  682. <!-- Theme for the search input bar. -->
  683. <style name="Theme.SearchBar" parent="Theme.Holo.Light.Panel">
  684. <item name="actionModeBackground">@drawable/cab_background_top_holo_light</item>
  685. <item name="actionModeSplitBackground">@drawable/cab_background_bottom_holo_light</item>
  686. </style>
  687. <!-- Theme for the search input bar when doing global search. The only
  688. difference from non-global search is that we do not dim the background. -->
  689. <style name="Theme.GlobalSearchBar" parent="Theme.Panel">
  690. <item name="windowContentOverlay">@null</item>
  691. <item name="actionModeBackground">@drawable/cab_background_top_holo_light</item>
  692. <item name="actionModeSplitBackground">@drawable/cab_background_bottom_holo_light</item>
  693. </style>
  694. <!-- Theme for the classic "six-pack" icon menu. -->
  695. <style name="Theme.IconMenu" parent="Theme.Holo">
  696. <item name="itemTextAppearance">@style/TextAppearance.Widget.IconMenu.Item</item>
  697. <item name="itemBackground">?attr/selectableItemBackground</item>
  698. <item name="itemIconDisabledAlpha">?attr/disabledAlpha</item>
  699. <item name="horizontalDivider">@drawable/divider_horizontal_dark</item>
  700. <item name="verticalDivider">@drawable/divider_vertical_dark</item>
  701. <item name="windowAnimationStyle">@style/Animation.OptionsPanel</item>
  702. <item name="moreIcon">@drawable/ic_menu_more</item>
  703. <item name="background">@null</item>
  704. </style>
  705. <!-- Default value for ?attr/panelMenuListTheme on pre-ICS. -->
  706. <style name="Theme.ExpandedMenu" parent="Theme.Holo">
  707. <item name="itemTextAppearance">?attr/textAppearanceLarge</item>
  708. <item name="listViewStyle">@style/Widget.ListView.Menu</item>
  709. <item name="windowAnimationStyle">@style/Animation.OptionsPanel</item>
  710. <item name="background">@null</item>
  711. </style>
  712. <!-- System themes -->
  713. <eat-comment />
  714. <!-- Theme for the dialog shown when an app crashes or ANRs. -->
  715. <style name="Theme.Dialog.AppError" parent="Theme.DeviceDefault.Light.Dialog.Alert">
  716. <item name="windowContentTransitions">false</item>
  717. <item name="windowActivityTransitions">false</item>
  718. <item name="windowCloseOnTouchOutside">false</item>
  719. </style>
  720. <!-- Special theme for the recent apps dialog, to allow customization
  721. with overlays. -->
  722. <style name="Theme.Dialog.RecentApplications" parent="Theme.DeviceDefault.Light.Dialog">
  723. <item name="windowBackground">@color/transparent</item>
  724. <item name="windowAnimationStyle">@style/Animation.RecentApplications</item>
  725. <item name="textColor">@color/secondary_text_nofocus</item>
  726. <item name="windowCloseOnTouchOutside">false</item>
  727. <item name="windowContentTransitions">false</item>
  728. <item name="windowActivityTransitions">false</item>
  729. </style>
  730. <!-- Theme for a window that looks like a toast. -->
  731. <style name="Theme.Toast" parent="Theme.DeviceDefault.Dialog">
  732. <item name="windowBackground">?attr/toastFrameBackground</item>
  733. <item name="windowAnimationStyle">@style/Animation.Toast</item>
  734. <item name="backgroundDimEnabled">false</item>
  735. <item name="windowCloseOnTouchOutside">false</item>
  736. <item name="windowContentTransitions">false</item>
  737. <item name="windowActivityTransitions">false</item>
  738. </style>
  739. </resources>