themes.xml revision 89e0645b4157961e8c465eb9c819f965fdb453d8
1<?xml version="1.0" encoding="utf-8"?> 2<!-- Copyright (C) 2006 The Android Open Source Project 3 4 Licensed under the Apache License, Version 2.0 (the "License"); 5 you may not use this file except in compliance with the License. 6 You may obtain a copy of the License at 7 8 http://www.apache.org/licenses/LICENSE-2.0 9 10 Unless required by applicable law or agreed to in writing, software 11 distributed under the License is distributed on an "AS IS" BASIS, 12 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 See the License for the specific language governing permissions and 14 limitations under the License. 15--> 16 17<resources> 18 <!-- The default system theme. This is the theme used for activities 19 that have not explicitly set their own theme. 20 21 <p>You can count on this being a dark 22 background with light text on top, but should try to make no 23 other assumptions about its appearance. In particular, the text 24 inside of widgets using this theme may be completely different, 25 with the widget container being a light color and the text on top 26 of it a dark color. 27 --> 28 <style name="Theme"> 29 30 <item name="colorForeground">@android:color/bright_foreground_dark</item> 31 <item name="colorForegroundInverse">@android:color/bright_foreground_dark_inverse</item> 32 <item name="colorBackground">@android:color/background_dark</item> 33 <item name="colorBackgroundCacheHint">?android:attr/colorBackground</item> 34 <item name="disabledAlpha">0.5</item> 35 <item name="backgroundDimAmount">0.6</item> 36 37 <!-- Text styles --> 38 <item name="textAppearance">@android:style/TextAppearance</item> 39 <item name="textAppearanceInverse">@android:style/TextAppearance.Inverse</item> 40 41 <item name="textColorPrimary">@android:color/primary_text_dark</item> 42 <item name="textColorSecondary">@android:color/secondary_text_dark</item> 43 <item name="textColorTertiary">@android:color/tertiary_text_dark</item> 44 <item name="textColorPrimaryInverse">@android:color/primary_text_light</item> 45 <item name="textColorSecondaryInverse">@android:color/secondary_text_light</item> 46 <item name="textColorTertiaryInverse">@android:color/tertiary_text_light</item> 47 <item name="textColorPrimaryDisableOnly">@android:color/primary_text_dark_disable_only</item> 48 <item name="textColorPrimaryInverseDisableOnly">@android:color/primary_text_light_disable_only</item> 49 <item name="textColorPrimaryNoDisable">@android:color/primary_text_dark_nodisable</item> 50 <item name="textColorSecondaryNoDisable">@android:color/secondary_text_dark_nodisable</item> 51 <item name="textColorPrimaryInverseNoDisable">@android:color/primary_text_light_nodisable</item> 52 <item name="textColorSecondaryInverseNoDisable">@android:color/secondary_text_light_nodisable</item> 53 <item name="textColorHint">@android:color/hint_foreground_dark</item> 54 <item name="textColorHintInverse">@android:color/hint_foreground_light</item> 55 <item name="textColorSearchUrl">@android:color/search_url_text</item> 56 57 <item name="textAppearanceLarge">@android:style/TextAppearance.Large</item> 58 <item name="textAppearanceMedium">@android:style/TextAppearance.Medium</item> 59 <item name="textAppearanceSmall">@android:style/TextAppearance.Small</item> 60 <item name="textAppearanceLargeInverse">@android:style/TextAppearance.Large.Inverse</item> 61 <item name="textAppearanceMediumInverse">@android:style/TextAppearance.Medium.Inverse</item> 62 <item name="textAppearanceSmallInverse">@android:style/TextAppearance.Small.Inverse</item> 63 <item name="textAppearanceSearchResultTitle">@android:style/TextAppearance.SearchResult.Title</item> 64 <item name="textAppearanceSearchResultSubtitle">@android:style/TextAppearance.SearchResult.Subtitle</item> 65 66 <item name="textAppearanceButton">@android:style/TextAppearance.Widget.Button</item> 67 68 <item name="candidatesTextStyleSpans">@android:string/candidates_style</item> 69 70 <item name="textCheckMark">@android:drawable/indicator_check_mark_dark</item> 71 <item name="textCheckMarkInverse">@android:drawable/indicator_check_mark_light</item> 72 73 <!-- Button styles --> 74 <item name="buttonStyle">@android:style/Widget.Button</item> 75 76 <item name="buttonStyleSmall">@android:style/Widget.Button.Small</item> 77 <item name="buttonStyleInset">@android:style/Widget.Button.Inset</item> 78 79 <item name="buttonStyleToggle">@android:style/Widget.Button.Toggle</item> 80 81 <!-- List attributes --> 82 <item name="listPreferredItemHeight">64dip</item> 83 <!-- @hide --> 84 <item name="searchResultListItemHeight">58dip</item> 85 <item name="listDivider">@drawable/divider_horizontal_dark</item> 86 <item name="listSeparatorTextViewStyle">@android:style/Widget.TextView.ListSeparator</item> 87 88 <item name="listChoiceIndicatorSingle">@android:drawable/btn_radio</item> 89 <item name="listChoiceIndicatorMultiple">@android:drawable/btn_check</item> 90 91 <item name="expandableListPreferredItemPaddingLeft">40dip</item> 92 <item name="expandableListPreferredChildPaddingLeft"> 93 ?android:attr/expandableListPreferredItemPaddingLeft</item> 94 95 <item name="expandableListPreferredItemIndicatorLeft">3dip</item> 96 <item name="expandableListPreferredItemIndicatorRight">33dip</item> 97 <item name="expandableListPreferredChildIndicatorLeft"> 98 ?android:attr/expandableListPreferredItemIndicatorLeft</item> 99 <item name="expandableListPreferredChildIndicatorRight"> 100 ?android:attr/expandableListPreferredItemIndicatorRight</item> 101 102 <!-- Gallery attributes --> 103 <item name="galleryItemBackground">@android:drawable/gallery_item_background</item> 104 105 <!-- Window attributes --> 106 <item name="windowBackground">@android:drawable/screen_background_dark</item> 107 <item name="windowFrame">@null</item> 108 <item name="windowNoTitle">false</item> 109 <item name="windowFullscreen">false</item> 110 <item name="windowIsFloating">false</item> 111 <item name="windowContentOverlay">@android:drawable/title_bar_shadow</item> 112 <item name="windowShowWallpaper">false</item> 113 <item name="windowTitleStyle">@android:style/WindowTitle</item> 114 <item name="windowTitleSize">25dip</item> 115 <item name="windowTitleBackgroundStyle">@android:style/WindowTitleBackground</item> 116 <item name="android:windowAnimationStyle">@android:style/Animation.Activity</item> 117 <item name="android:windowSoftInputMode">stateUnspecified|adjustUnspecified</item> 118 <item name="windowActionBar">false</item> 119 <item name="windowActionBarStyle">@android:style/ActionBar</item> 120 121 <!-- Dialog attributes --> 122 <item name="alertDialogStyle">@android:style/AlertDialog</item> 123 124 <!-- Panel attributes --> 125 <item name="panelBackground">@android:drawable/menu_background</item> 126 <item name="panelFullBackground">@android:drawable/menu_background_fill_parent_width</item> 127 <item name="panelColorBackground">#fff</item> 128 <item name="panelColorForeground">?android:attr/textColorPrimaryInverse</item> 129 <item name="panelTextAppearance">?android:attr/textAppearanceInverse</item> 130 131 <!-- Scrollbar attributes --> 132 <item name="scrollbarFadeDuration">250</item> 133 <item name="scrollbarDefaultDelayBeforeFade">300</item> 134 <item name="scrollbarSize">10dip</item> 135 <item name="scrollbarThumbHorizontal">@android:drawable/scrollbar_handle_horizontal</item> 136 <item name="scrollbarThumbVertical">@android:drawable/scrollbar_handle_vertical</item> 137 <item name="scrollbarTrackHorizontal">@null</item> 138 <item name="scrollbarTrackVertical">@null</item> 139 140 <!-- Widget styles --> 141 <item name="absListViewStyle">@android:style/Widget.AbsListView</item> 142 <item name="autoCompleteTextViewStyle">@android:style/Widget.AutoCompleteTextView</item> 143 <item name="checkboxStyle">@android:style/Widget.CompoundButton.CheckBox</item> 144 <item name="dropDownListViewStyle">@android:style/Widget.ListView.DropDown</item> 145 <item name="editTextStyle">@android:style/Widget.EditText</item> 146 <item name="expandableListViewStyle">@android:style/Widget.ExpandableListView</item> 147 <item name="expandableListViewWhiteStyle">@android:style/Widget.ExpandableListView.White</item> 148 <item name="galleryStyle">@android:style/Widget.Gallery</item> 149 <item name="gestureOverlayViewStyle">@android:style/Widget.GestureOverlayView</item> 150 <item name="gridViewStyle">@android:style/Widget.GridView</item> 151 <item name="imageButtonStyle">@android:style/Widget.ImageButton</item> 152 <item name="imageWellStyle">@android:style/Widget.ImageWell</item> 153 <item name="listViewStyle">@android:style/Widget.ListView</item> 154 <item name="listViewWhiteStyle">@android:style/Widget.ListView.White</item> 155 <item name="popupWindowStyle">@android:style/Widget.PopupWindow</item> 156 <item name="progressBarStyle">@android:style/Widget.ProgressBar</item> 157 <item name="progressBarStyleHorizontal">@android:style/Widget.ProgressBar.Horizontal</item> 158 <item name="progressBarStyleSmall">@android:style/Widget.ProgressBar.Small</item> 159 <item name="progressBarStyleSmallTitle">@android:style/Widget.ProgressBar.Small.Title</item> 160 <item name="progressBarStyleLarge">@android:style/Widget.ProgressBar.Large</item> 161 <item name="progressBarStyleInverse">@android:style/Widget.ProgressBar.Inverse</item> 162 <item name="progressBarStyleSmallInverse">@android:style/Widget.ProgressBar.Small.Inverse</item> 163 <item name="progressBarStyleLargeInverse">@android:style/Widget.ProgressBar.Large.Inverse</item> 164 <item name="seekBarStyle">@android:style/Widget.SeekBar</item> 165 <item name="ratingBarStyle">@android:style/Widget.RatingBar</item> 166 <item name="ratingBarStyleIndicator">@android:style/Widget.RatingBar.Indicator</item> 167 <item name="ratingBarStyleSmall">@android:style/Widget.RatingBar.Small</item> 168 <item name="radioButtonStyle">@android:style/Widget.CompoundButton.RadioButton</item> 169 <item name="scrollViewStyle">@android:style/Widget.ScrollView</item> 170 <item name="horizontalScrollViewStyle">@android:style/Widget.HorizontalScrollView</item> 171 <item name="spinnerStyle">@android:style/Widget.Spinner</item> 172 <item name="dropDownSpinnerStyle">@android:style/Widget.Spinner.DropDown</item> 173 <item name="actionDropDownStyle">@android:style/Widget.Spinner.DropDown</item> 174 <item name="actionButtonStyle">@android:style/Widget.ActionButton</item> 175 <item name="starStyle">@android:style/Widget.CompoundButton.Star</item> 176 <item name="tabWidgetStyle">@android:style/Widget.TabWidget</item> 177 <item name="textViewStyle">@android:style/Widget.TextView</item> 178 <item name="webTextViewStyle">@android:style/Widget.WebTextView</item> 179 <item name="webViewStyle">@android:style/Widget.WebView</item> 180 <item name="dropDownItemStyle">@android:style/Widget.DropDownItem</item> 181 <item name="spinnerDropDownItemStyle">@android:style/Widget.DropDownItem.Spinner</item> 182 <item name="spinnerItemStyle">@android:style/Widget.TextView.SpinnerItem</item> 183 <item name="dropDownHintAppearance">@android:style/TextAppearance.Widget.DropDownHint</item> 184 <item name="keyboardViewStyle">@android:style/Widget.KeyboardView</item> 185 <item name="quickContactBadgeStyleWindowSmall">@android:style/Widget.QuickContactBadge.WindowSmall</item> 186 <item name="quickContactBadgeStyleWindowMedium">@android:style/Widget.QuickContactBadge.WindowMedium</item> 187 <item name="quickContactBadgeStyleWindowLarge">@android:style/Widget.QuickContactBadge.WindowLarge</item> 188 <item name="quickContactBadgeStyleSmallWindowSmall">@android:style/Widget.QuickContactBadgeSmall.WindowSmall</item> 189 <item name="quickContactBadgeStyleSmallWindowMedium">@android:style/Widget.QuickContactBadgeSmall.WindowMedium</item> 190 <item name="quickContactBadgeStyleSmallWindowLarge">@android:style/Widget.QuickContactBadgeSmall.WindowLarge</item> 191 192 <!-- Preference styles --> 193 <item name="preferenceScreenStyle">@android:style/Preference.PreferenceScreen</item> 194 <item name="preferenceCategoryStyle">@android:style/Preference.Category</item> 195 <item name="preferenceStyle">@android:style/Preference</item> 196 <item name="preferenceInformationStyle">@android:style/Preference.Information</item> 197 <item name="checkBoxPreferenceStyle">@android:style/Preference.CheckBoxPreference</item> 198 <item name="yesNoPreferenceStyle">@android:style/Preference.DialogPreference.YesNoPreference</item> 199 <item name="dialogPreferenceStyle">@android:style/Preference.DialogPreference</item> 200 <item name="editTextPreferenceStyle">@android:style/Preference.DialogPreference.EditTextPreference</item> 201 <item name="ringtonePreferenceStyle">@android:style/Preference.RingtonePreference</item> 202 <item name="preferenceLayoutChild">@android:layout/preference_child</item> 203 204 <!-- Search widget styles --> 205 <item name="searchWidgetCorpusItemBackground">@android:color/search_widget_corpus_item_background</item> 206 207 <!-- Action bar styles --> 208 <item name="actionButtonPadding">12dip</item> 209 <item name="actionBarContextBackground">@android:drawable/action_bar_context_background</item> 210 <item name="actionBarCloseContextDrawable">@android:drawable/ic_menu_close_clear_cancel</item> 211 </style> 212 213 <!-- Variant of the default (dark) theme with no title bar --> 214 <style name="Theme.NoTitleBar"> 215 <item name="android:windowNoTitle">true</item> 216 </style> 217 218 <!-- Variant of the default (dark) theme that has no title bar and 219 fills the entire screen --> 220 <style name="Theme.NoTitleBar.Fullscreen"> 221 <item name="android:windowFullscreen">true</item> 222 <item name="android:windowContentOverlay">@null</item> 223 </style> 224 225 <!-- Theme for a light background with dark text on top. Set your activity 226 to this theme if you would like such an appearance. As with the 227 default theme, you should try to assume little more than that the 228 background will be a light color. --> 229 <style name="Theme.Light"> 230 <item name="windowBackground">@drawable/screen_background_light</item> 231 <item name="colorBackground">@android:color/background_light</item> 232 <item name="colorForeground">@color/bright_foreground_light</item> 233 <item name="colorForegroundInverse">@android:color/bright_foreground_light_inverse</item> 234 235 <item name="textColorPrimary">@android:color/primary_text_light</item> 236 <item name="textColorSecondary">@android:color/secondary_text_light</item> 237 <item name="textColorTertiary">@android:color/tertiary_text_light</item> 238 <item name="textColorPrimaryInverse">@android:color/primary_text_dark</item> 239 <item name="textColorSecondaryInverse">@android:color/secondary_text_dark</item> 240 <item name="textColorTertiaryInverse">@android:color/tertiary_text_dark</item> 241 <item name="textColorPrimaryDisableOnly">@android:color/primary_text_light_disable_only</item> 242 <item name="textColorPrimaryInverseDisableOnly">@android:color/primary_text_dark_disable_only</item> 243 <item name="textColorPrimaryNoDisable">@android:color/primary_text_light_nodisable</item> 244 <item name="textColorSecondaryNoDisable">@android:color/secondary_text_light_nodisable</item> 245 <item name="textColorPrimaryInverseNoDisable">@android:color/primary_text_dark_nodisable</item> 246 <item name="textColorSecondaryInverseNoDisable">@android:color/secondary_text_dark_nodisable</item> 247 <item name="textColorHint">@android:color/hint_foreground_light</item> 248 <item name="textColorHintInverse">@android:color/hint_foreground_dark</item> 249 250 <item name="popupWindowStyle">@android:style/Widget.PopupWindow</item> 251 252 <item name="textCheckMark">@android:drawable/indicator_check_mark_light</item> 253 <item name="textCheckMarkInverse">@android:drawable/indicator_check_mark_dark</item> 254 255 <item name="gestureOverlayViewStyle">@android:style/Widget.GestureOverlayView.White</item> 256 <item name="expandableListViewStyle">@android:style/Widget.ExpandableListView.White</item> 257 <item name="listViewStyle">@android:style/Widget.ListView.White</item> 258 <item name="listDivider">@drawable/divider_horizontal_bright</item> 259 <item name="listSeparatorTextViewStyle">@android:style/Widget.TextView.ListSeparator.White</item> 260 261 <item name="progressBarStyle">@android:style/Widget.ProgressBar.Inverse</item> 262 <item name="progressBarStyleSmall">@android:style/Widget.ProgressBar.Small.Inverse</item> 263 <item name="progressBarStyleLarge">@android:style/Widget.ProgressBar.Large.Inverse</item> 264 <item name="progressBarStyleInverse">@android:style/Widget.ProgressBar</item> 265 <item name="progressBarStyleSmallInverse">@android:style/Widget.ProgressBar.Small</item> 266 <item name="progressBarStyleLargeInverse">@android:style/Widget.ProgressBar.Large</item> 267 </style> 268 269 <!-- Variant of the light theme with no title bar --> 270 <style name="Theme.Light.NoTitleBar"> 271 <item name="android:windowNoTitle">true</item> 272 </style> 273 274 <!-- Variant of the light theme that has no title bar and 275 fills the entire screen --> 276 <style name="Theme.Light.NoTitleBar.Fullscreen"> 277 <item name="android:windowFullscreen">true</item> 278 <item name="android:windowContentOverlay">@null</item> 279 </style> 280 281 <!-- Special variation on the default theme that ensures the background is 282 completely black. This is useful for things like image viewers and 283 media players. If you want the normal (dark background) theme 284 do <em>not</em> use this, use {@link #Theme}. --> 285 <style name="Theme.Black"> 286 <item name="android:windowBackground">@android:color/black</item> 287 <item name="android:colorBackground">@android:color/black</item> 288 </style> 289 290 <!-- Variant of the black theme with no title bar --> 291 <style name="Theme.Black.NoTitleBar"> 292 <item name="android:windowNoTitle">true</item> 293 </style> 294 295 <!-- Variant of the black theme that has no title bar and 296 fills the entire screen --> 297 <style name="Theme.Black.NoTitleBar.Fullscreen"> 298 <item name="android:windowFullscreen">true</item> 299 <item name="android:windowContentOverlay">@null</item> 300 </style> 301 302 <!-- Default theme for windows that want to have the user's selected 303 wallpaper appear behind them. --> 304 <style name="Theme.Wallpaper"> 305 <item name="android:windowBackground">@android:color/transparent</item> 306 <item name="android:colorBackgroundCacheHint">@null</item> 307 <item name="android:windowShowWallpaper">true</item> 308 </style> 309 310 <!-- Variant of the translucent theme with no title bar --> 311 <style name="Theme.Wallpaper.NoTitleBar"> 312 <item name="android:windowNoTitle">true</item> 313 </style> 314 315 <!-- Variant of the translucent theme that has no title bar and 316 fills the entire screen --> 317 <style name="Theme.Wallpaper.NoTitleBar.Fullscreen"> 318 <item name="android:windowFullscreen">true</item> 319 <item name="android:windowContentOverlay">@null</item> 320 </style> 321 322 <!-- Theme for a wallpaper's setting activity that is designed to be on 323 top of a dark background. --> 324 <style name="Theme.WallpaperSettings"> 325 <item name="android:windowBackground">@android:drawable/screen_background_dark_transparent</item> 326 <item name="android:colorBackgroundCacheHint">@null</item> 327 <item name="android:windowIsTranslucent">true</item> 328 <item name="android:windowAnimationStyle">@android:style/Animation.Translucent</item> 329 </style> 330 331 <!-- Theme for a wallpaper's setting activity that is designed to be on 332 top of a light background. --> 333 <style name="Theme.Light.WallpaperSettings"> 334 <item name="android:windowBackground">@android:drawable/screen_background_light_transparent</item> 335 <item name="android:colorBackgroundCacheHint">@null</item> 336 <item name="android:windowIsTranslucent">true</item> 337 <item name="android:windowAnimationStyle">@android:style/Animation.Translucent</item> 338 </style> 339 340 <!-- Style to apply on top of a wallpaper settings theme when it is being 341 shown on top of the real wallpaper --> 342 <style name="ActiveWallpaperSettings"> 343 </style> 344 345 <!-- Style to apply on top of a wallpaper settings theme when it is being 346 shown on top of the real wallpaper --> 347 <style name="PreviewWallpaperSettings"> 348 </style> 349 350 <!-- Default theme for translucent activities, that is windows that allow you 351 to see through them to the windows behind. This sets up the translucent 352 flag and appropriate animations for your windows. --> 353 <style name="Theme.Translucent"> 354 <item name="android:windowBackground">@android:color/transparent</item> 355 <item name="android:colorBackgroundCacheHint">@null</item> 356 <item name="android:windowIsTranslucent">true</item> 357 <!-- Note that we use the base animation style here (that is no 358 animations) because we really have no idea how this kind of 359 activity will be used. --> 360 <item name="android:windowAnimationStyle">@android:style/Animation</item> 361 </style> 362 363 <!-- Variant of the translucent theme with no title bar --> 364 <style name="Theme.Translucent.NoTitleBar"> 365 <item name="android:windowNoTitle">true</item> 366 <item name="android:windowContentOverlay">@null</item> 367 </style> 368 369 <!-- Variant of the translucent theme that has no title bar and 370 fills the entire screen --> 371 <style name="Theme.Translucent.NoTitleBar.Fullscreen"> 372 <item name="android:windowFullscreen">true</item> 373 </style> 374 375 <!-- Default theme for activities that don't actually display a UI; that 376 is, they finish themselves before being resumed. --> 377 <style name="Theme.NoDisplay"> 378 <item name="android:windowBackground">@null</item> 379 <item name="android:windowContentOverlay">@null</item> 380 <item name="android:windowIsTranslucent">true</item> 381 <item name="android:windowAnimationStyle">@null</item> 382 <item name="android:windowDisablePreview">true</item> 383 <item name="android:windowNoDisplay">true</item> 384 </style> 385 386 <!-- Default theme for dialog windows and activities, which is used by the 387 {@link android.app.Dialog} class. This changes the window to be 388 floating (not fill the entire screen), and puts a frame around its 389 contents. You can set this theme on an activity if you would like to 390 make an activity that looks like a Dialog. --> 391 <style name="Theme.Dialog"> 392 <item name="android:windowFrame">@null</item> 393 <item name="android:windowTitleStyle">@android:style/DialogWindowTitle</item> 394 <item name="android:windowBackground">@android:drawable/panel_background</item> 395 <item name="android:windowIsFloating">true</item> 396 <item name="android:windowContentOverlay">@null</item> 397 <item name="android:windowAnimationStyle">@android:style/Animation.Dialog</item> 398 <item name="android:windowSoftInputMode">stateUnspecified|adjustPan</item> 399 400 <item name="android:colorBackgroundCacheHint">@null</item> 401 402 <item name="textAppearance">@android:style/TextAppearance</item> 403 <item name="textAppearanceInverse">@android:style/TextAppearance.Inverse</item> 404 405 <item name="textColorPrimary">@android:color/primary_text_dark</item> 406 <item name="textColorSecondary">@android:color/secondary_text_dark</item> 407 <item name="textColorTertiary">@android:color/tertiary_text_dark</item> 408 <item name="textColorPrimaryInverse">@android:color/primary_text_light</item> 409 <item name="textColorSecondaryInverse">@android:color/secondary_text_light</item> 410 <item name="textColorTertiaryInverse">@android:color/tertiary_text_light</item> 411 <item name="textColorPrimaryDisableOnly">@android:color/primary_text_dark_disable_only</item> 412 <item name="textColorPrimaryInverseDisableOnly">@android:color/primary_text_light_disable_only</item> 413 <item name="textColorPrimaryNoDisable">@android:color/primary_text_dark_nodisable</item> 414 <item name="textColorSecondaryNoDisable">@android:color/secondary_text_dark_nodisable</item> 415 <item name="textColorPrimaryInverseNoDisable">@android:color/primary_text_light_nodisable</item> 416 <item name="textColorSecondaryInverseNoDisable">@android:color/secondary_text_light_nodisable</item> 417 <item name="textColorHint">@android:color/hint_foreground_dark</item> 418 <item name="textColorHintInverse">@android:color/hint_foreground_light</item> 419 <item name="textColorSearchUrl">@android:color/search_url_text</item> 420 421 <item name="textAppearanceLarge">@android:style/TextAppearance.Large</item> 422 <item name="textAppearanceMedium">@android:style/TextAppearance.Medium</item> 423 <item name="textAppearanceSmall">@android:style/TextAppearance.Small</item> 424 <item name="textAppearanceLargeInverse">@android:style/TextAppearance.Large.Inverse</item> 425 <item name="textAppearanceMediumInverse">@android:style/TextAppearance.Medium.Inverse</item> 426 <item name="textAppearanceSmallInverse">@android:style/TextAppearance.Small.Inverse</item> 427 </style> 428 429 <!-- Default theme for alert dialog windows, which is used by the 430 {@link android.app.AlertDialog} class. This is basically a dialog 431 but sets the background to empty so it can do two-tone backgrounds. --> 432 <style name="Theme.Dialog.Alert"> 433 <item name="windowBackground">@android:color/transparent</item> 434 <item name="windowTitleStyle">@android:style/DialogWindowTitle</item> 435 <item name="windowIsFloating">true</item> 436 <item name="windowContentOverlay">@null</item> 437 </style> 438 439 <!-- Default dark theme for panel windows. This removes all extraneous 440 window decorations, so you basically have an empty rectangle in which 441 to place your content. It makes the window floating, with a transparent 442 background, and turns off dimming behind the window. --> 443 <style name="Theme.Panel"> 444 <item name="android:windowBackground">@android:color/transparent</item> 445 <item name="android:colorBackgroundCacheHint">@null</item> 446 <item name="android:windowFrame">@null</item> 447 <item name="android:windowContentOverlay">@null</item> 448 <item name="android:windowIsFloating">true</item> 449 <item name="android:backgroundDimEnabled">false</item> 450 <item name="android:windowIsTranslucent">true</item> 451 <item name="android:windowNoTitle">true</item> 452 </style> 453 454 <!-- Default light theme for panel windows. This removes all extraneous 455 window decorations, so you basically have an empty rectangle in which 456 to place your content. It makes the window floating, with a transparent 457 background, and turns off dimming behind the window. --> 458 <style name="Theme.Light.Panel"> 459 <item name="android:windowBackground">@android:color/transparent</item> 460 <item name="android:colorBackgroundCacheHint">@null</item> 461 <item name="android:windowFrame">@null</item> 462 <item name="android:windowContentOverlay">@null</item> 463 <item name="android:windowIsFloating">true</item> 464 <item name="android:backgroundDimEnabled">false</item> 465 <item name="android:windowIsTranslucent">true</item> 466 <item name="android:windowNoTitle">true</item> 467 </style> 468 469 <!-- Default theme for input methods, which is used by the 470 {@link android.inputmethodservice.InputMethodService} class. 471 this inherits from Theme.NoTitleBar, but makes the background 472 transparent, the window floating and translucent, and ensures that 473 it does not dim the UI behind it. This also configures the window 474 with the standard IME animations and visuals. --> 475 <style name="Theme.InputMethod" parent="Theme.Panel"> 476 <item name="android:windowAnimationStyle">@android:style/Animation.InputMethod</item> 477 <item name="android:imeFullscreenBackground">@android:drawable/input_method_fullscreen_background</item> 478 <item name="android:imeExtractEnterAnimation">@android:anim/input_method_extract_enter</item> 479 <item name="android:imeExtractExitAnimation">@android:anim/input_method_extract_exit</item> 480 </style> 481 482 <!-- Theme for the search input bar. --> 483 <style name="Theme.SearchBar" parent="Theme.Panel"> 484 <item name="windowContentOverlay">@null</item> 485 </style> 486 487 <!-- Theme for the search input bar when doing global search. The only 488 difference from non-global search is that we do not dim the background. --> 489 <style name="Theme.GlobalSearchBar" parent="Theme.Panel"> 490 <item name="windowContentOverlay">@null</item> 491 </style> 492 493 <!-- Menu Themes --> 494 <eat-comment /> 495 496 <style name="Theme.IconMenu"> 497 <!-- Menu/item attributes --> 498 <item name="android:itemTextAppearance">@android:style/TextAppearance.Widget.IconMenu.Item</item> 499 <item name="android:itemBackground">@android:drawable/menu_selector</item> 500 <item name="android:itemIconDisabledAlpha">?android:attr/disabledAlpha</item> 501 <item name="android:horizontalDivider">@android:drawable/divider_horizontal_bright</item> 502 <item name="android:verticalDivider">@android:drawable/divider_vertical_bright</item> 503 <item name="android:windowAnimationStyle">@android:style/Animation.OptionsPanel</item> 504 <item name="android:moreIcon">@android:drawable/ic_menu_more</item> 505 <item name="android:background">@null</item> 506 </style> 507 508 <style name="Theme.ExpandedMenu"> 509 <!-- Menu/item attributes --> 510 <item name="android:itemTextAppearance">?android:attr/textAppearanceLargeInverse</item> 511 <item name="android:listViewStyle">@android:style/Widget.ListView.Menu</item> 512 <item name="android:windowAnimationStyle">@android:style/Animation.OptionsPanel</item> 513 <item name="android:background">@null</item> 514 </style> 515 516 <!-- @hide --> 517 <style name="Theme.Dialog.AppError"> 518 <item name="windowFrame">@null</item> 519 <item name="windowTitleStyle">@android:style/DialogWindowTitle</item> 520 <item name="windowBackground">@android:color/transparent</item> 521 <item name="windowIsFloating">true</item> 522 <item name="windowContentOverlay">@null</item> 523 <item name="textAppearance">@style/TextAppearance.Theme.Dialog.AppError</item> 524 </style> 525 526 <!-- Special theme for the recent apps dialog, to allow customization 527 with overlays. --> 528 <style name="Theme.Dialog.RecentApplications"> 529 <item name="windowFrame">@null</item> 530 <item name="windowBackground">@android:color/transparent</item> 531 <item name="android:windowAnimationStyle">@android:style/Animation.RecentApplications</item> 532 <item name="android:textColor">@android:color/secondary_text_nofocus</item> 533 </style> 534 535 <style name="Theme.WithActionBar"> 536 <item name="android:windowActionBar">true</item> 537 </style> 538 539</resources> 540