themes.xml revision 5d2b178f5c7c2dc68f8a640689abb6745ba35983
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 <item name="textColorHighlight">@android:color/highlighted_text_dark</item> 57 <item name="textColorHighlightInverse">@android:color/highlighted_text_light</item> 58 <item name="textColorLink">@android:color/link_text_dark</item> 59 <item name="textColorLinkInverse">@android:color/link_text_light</item> 60 <item name="textColorAlertDialogListItem">@android:color/primary_text_light_disable_only</item> 61 62 <item name="textAppearanceLarge">@android:style/TextAppearance.Large</item> 63 <item name="textAppearanceMedium">@android:style/TextAppearance.Medium</item> 64 <item name="textAppearanceSmall">@android:style/TextAppearance.Small</item> 65 <item name="textAppearanceLargeInverse">@android:style/TextAppearance.Large.Inverse</item> 66 <item name="textAppearanceMediumInverse">@android:style/TextAppearance.Medium.Inverse</item> 67 <item name="textAppearanceSmallInverse">@android:style/TextAppearance.Small.Inverse</item> 68 <item name="textAppearanceSearchResultTitle">@android:style/TextAppearance.SearchResult.Title</item> 69 <item name="textAppearanceSearchResultSubtitle">@android:style/TextAppearance.SearchResult.Subtitle</item> 70 71 <item name="textAppearanceButton">@android:style/TextAppearance.Widget.Button</item> 72 73 <item name="editTextColor">?android:attr/textColorPrimaryInverse</item> 74 <item name="editTextBackground">@android:drawable/edit_text</item> 75 76 <item name="candidatesTextStyleSpans">@android:string/candidates_style</item> 77 78 <item name="textCheckMark">@android:drawable/indicator_check_mark_dark</item> 79 <item name="textCheckMarkInverse">@android:drawable/indicator_check_mark_light</item> 80 81 <item name="textAppearanceLargePopupMenu">@android:style/TextAppearance.Widget.PopupMenu.Large</item> 82 <item name="textAppearanceSmallPopupMenu">@android:style/TextAppearance.Widget.PopupMenu.Small</item> 83 84 <!-- Button styles --> 85 <item name="buttonStyle">@android:style/Widget.Button</item> 86 87 <item name="buttonStyleSmall">@android:style/Widget.Button.Small</item> 88 <item name="buttonStyleInset">@android:style/Widget.Button.Inset</item> 89 90 <item name="buttonStyleToggle">@android:style/Widget.Button.Toggle</item> 91 92 <item name="groupButtonBackground">@null</item> 93 <item name="selectableItemBackground">@android:drawable/item_background</item> 94 95 <!-- List attributes --> 96 <item name="listPreferredItemHeight">64dip</item> 97 <!-- @hide --> 98 <item name="searchResultListItemHeight">58dip</item> 99 <item name="listDivider">@drawable/divider_horizontal_dark</item> 100 <item name="listSeparatorTextViewStyle">@android:style/Widget.TextView.ListSeparator</item> 101 102 <item name="listChoiceIndicatorSingle">@android:drawable/btn_radio</item> 103 <item name="listChoiceIndicatorMultiple">@android:drawable/btn_check</item> 104 105 <item name="listChoiceBackgroundIndicator">@android:drawable/list_selected_background</item> 106 107 <item name="activatedBackgroundIndicator">@android:drawable/activated_background</item> 108 109 <item name="listDividerAlertDialog">@android:drawable/divider_horizontal_bright</item> 110 111 <item name="expandableListPreferredItemPaddingLeft">40dip</item> 112 <item name="expandableListPreferredChildPaddingLeft"> 113 ?android:attr/expandableListPreferredItemPaddingLeft</item> 114 115 <item name="expandableListPreferredItemIndicatorLeft">3dip</item> 116 <item name="expandableListPreferredItemIndicatorRight">33dip</item> 117 <item name="expandableListPreferredChildIndicatorLeft"> 118 ?android:attr/expandableListPreferredItemIndicatorLeft</item> 119 <item name="expandableListPreferredChildIndicatorRight"> 120 ?android:attr/expandableListPreferredItemIndicatorRight</item> 121 122 <!-- Gallery attributes --> 123 <item name="galleryItemBackground">@android:drawable/gallery_item_background</item> 124 125 <!-- Window attributes --> 126 <item name="windowBackground">@android:drawable/screen_background_dark</item> 127 <item name="windowFrame">@null</item> 128 <item name="windowNoTitle">false</item> 129 <item name="windowFullscreen">false</item> 130 <item name="windowIsFloating">false</item> 131 <item name="windowContentOverlay">@android:drawable/title_bar_shadow</item> 132 <item name="windowShowWallpaper">false</item> 133 <item name="windowTitleStyle">@android:style/WindowTitle</item> 134 <item name="windowTitleSize">25dip</item> 135 <item name="windowTitleBackgroundStyle">@android:style/WindowTitleBackground</item> 136 <item name="android:windowAnimationStyle">@android:style/Animation.Activity</item> 137 <item name="android:windowSoftInputMode">stateUnspecified|adjustUnspecified</item> 138 <item name="windowActionBar">false</item> 139 <item name="windowActionModeOverlay">false</item> 140 141 <!-- Dialog attributes --> 142 <item name="alertDialogStyle">@android:style/AlertDialog</item> 143 <item name="dialogTheme">@android:style/Theme.Dialog</item> 144 <item name="alertDialogTheme">@android:style/Theme.Dialog.Alert</item> 145 <item name="alertDialogButtonGroupStyle">?android:attr/buttonGroupStyle</item> 146 147 <!-- Panel attributes --> 148 <item name="panelBackground">@android:drawable/menu_background</item> 149 <item name="panelFullBackground">@android:drawable/menu_background_fill_parent_width</item> 150 <!-- These three attributes do not seems to be used by the framework. Declared public though --> 151 <item name="panelColorBackground">#000</item> 152 <item name="panelColorForeground">?android:attr/textColorPrimary</item> 153 <item name="panelTextAppearance">?android:attr/textAppearance</item> 154 155 <!-- Scrollbar attributes --> 156 <item name="scrollbarFadeDuration">250</item> 157 <item name="scrollbarDefaultDelayBeforeFade">300</item> 158 <item name="scrollbarSize">10dip</item> 159 <item name="scrollbarThumbHorizontal">@android:drawable/scrollbar_handle_horizontal</item> 160 <item name="scrollbarThumbVertical">@android:drawable/scrollbar_handle_vertical</item> 161 <item name="scrollbarTrackHorizontal">@null</item> 162 <item name="scrollbarTrackVertical">@null</item> 163 164 <!-- Text selection handle attributes --> 165 <item name="textSelectHandleLeft">@android:drawable/text_select_handle_left</item> 166 <item name="textSelectHandleRight">@android:drawable/text_select_handle_right</item> 167 <item name="textSelectHandle">@android:drawable/text_select_handle_middle</item> 168 <item name="textSelectHandleWindowStyle">@android:style/Widget.TextSelectHandle</item> 169 170 <!-- Widget styles --> 171 <item name="absListViewStyle">@android:style/Widget.AbsListView</item> 172 <item name="autoCompleteTextViewStyle">@android:style/Widget.AutoCompleteTextView</item> 173 <item name="checkboxStyle">@android:style/Widget.CompoundButton.CheckBox</item> 174 <item name="dropDownListViewStyle">@android:style/Widget.ListView.DropDown</item> 175 <item name="editTextStyle">@android:style/Widget.EditText</item> 176 <item name="expandableListViewStyle">@android:style/Widget.ExpandableListView</item> 177 <item name="expandableListViewWhiteStyle">@android:style/Widget.ExpandableListView.White</item> 178 <item name="galleryStyle">@android:style/Widget.Gallery</item> 179 <item name="gestureOverlayViewStyle">@android:style/Widget.GestureOverlayView</item> 180 <item name="gridViewStyle">@android:style/Widget.GridView</item> 181 <item name="imageButtonStyle">@android:style/Widget.ImageButton</item> 182 <item name="imageWellStyle">@android:style/Widget.ImageWell</item> 183 <item name="listViewStyle">@android:style/Widget.ListView</item> 184 <item name="listViewWhiteStyle">@android:style/Widget.ListView.White</item> 185 <item name="popupWindowStyle">@android:style/Widget.PopupWindow</item> 186 <item name="progressBarStyle">@android:style/Widget.ProgressBar</item> 187 <item name="progressBarStyleHorizontal">@android:style/Widget.ProgressBar.Horizontal</item> 188 <item name="progressBarStyleSmall">@android:style/Widget.ProgressBar.Small</item> 189 <item name="progressBarStyleSmallTitle">@android:style/Widget.ProgressBar.Small.Title</item> 190 <item name="progressBarStyleLarge">@android:style/Widget.ProgressBar.Large</item> 191 <item name="progressBarStyleInverse">@android:style/Widget.ProgressBar.Inverse</item> 192 <item name="progressBarStyleSmallInverse">@android:style/Widget.ProgressBar.Small.Inverse</item> 193 <item name="progressBarStyleLargeInverse">@android:style/Widget.ProgressBar.Large.Inverse</item> 194 <item name="seekBarStyle">@android:style/Widget.SeekBar</item> 195 <item name="ratingBarStyle">@android:style/Widget.RatingBar</item> 196 <item name="ratingBarStyleIndicator">@android:style/Widget.RatingBar.Indicator</item> 197 <item name="ratingBarStyleSmall">@android:style/Widget.RatingBar.Small</item> 198 <item name="radioButtonStyle">@android:style/Widget.CompoundButton.RadioButton</item> 199 <item name="scrollViewStyle">@android:style/Widget.ScrollView</item> 200 <item name="horizontalScrollViewStyle">@android:style/Widget.HorizontalScrollView</item> 201 <item name="spinnerStyle">@android:style/Widget.Spinner</item> 202 <item name="dropDownSpinnerStyle">@android:style/Widget.Spinner.DropDown</item> 203 <item name="starStyle">@android:style/Widget.CompoundButton.Star</item> 204 <item name="tabWidgetStyle">@android:style/Widget.TabWidget</item> 205 <item name="textViewStyle">@android:style/Widget.TextView</item> 206 <item name="webTextViewStyle">@android:style/Widget.WebTextView</item> 207 <item name="webViewStyle">@android:style/Widget.WebView</item> 208 <item name="dropDownItemStyle">@android:style/Widget.DropDownItem</item> 209 <item name="spinnerDropDownItemStyle">@android:style/Widget.DropDownItem.Spinner</item> 210 <item name="spinnerItemStyle">@android:style/Widget.TextView.SpinnerItem</item> 211 <item name="dropDownHintAppearance">@android:style/TextAppearance.Widget.DropDownHint</item> 212 <item name="keyboardViewStyle">@android:style/Widget.KeyboardView</item> 213 <item name="quickContactBadgeStyleWindowSmall">@android:style/Widget.QuickContactBadge.WindowSmall</item> 214 <item name="quickContactBadgeStyleWindowMedium">@android:style/Widget.QuickContactBadge.WindowMedium</item> 215 <item name="quickContactBadgeStyleWindowLarge">@android:style/Widget.QuickContactBadge.WindowLarge</item> 216 <item name="quickContactBadgeStyleSmallWindowSmall">@android:style/Widget.QuickContactBadgeSmall.WindowSmall</item> 217 <item name="quickContactBadgeStyleSmallWindowMedium">@android:style/Widget.QuickContactBadgeSmall.WindowMedium</item> 218 <item name="quickContactBadgeStyleSmallWindowLarge">@android:style/Widget.QuickContactBadgeSmall.WindowLarge</item> 219 <item name="listPopupWindowStyle">@android:style/Widget.ListPopupWindow</item> 220 <item name="popupMenuStyle">@android:style/Widget.PopupMenu</item> 221 222 <!-- Preference styles --> 223 <item name="preferenceScreenStyle">@android:style/Preference.PreferenceScreen</item> 224 <item name="preferenceCategoryStyle">@android:style/Preference.Category</item> 225 <item name="preferenceStyle">@android:style/Preference</item> 226 <item name="preferenceInformationStyle">@android:style/Preference.Information</item> 227 <item name="checkBoxPreferenceStyle">@android:style/Preference.CheckBoxPreference</item> 228 <item name="yesNoPreferenceStyle">@android:style/Preference.DialogPreference.YesNoPreference</item> 229 <item name="dialogPreferenceStyle">@android:style/Preference.DialogPreference</item> 230 <item name="editTextPreferenceStyle">@android:style/Preference.DialogPreference.EditTextPreference</item> 231 <item name="ringtonePreferenceStyle">@android:style/Preference.RingtonePreference</item> 232 <item name="preferenceLayoutChild">@android:layout/preference_child</item> 233 234 <!-- Search widget styles --> 235 <item name="searchWidgetCorpusItemBackground">@android:color/search_widget_corpus_item_background</item> 236 237 <!-- Action bar styles --> 238 <item name="actionDropDownStyle">@android:style/Widget.Spinner.DropDown</item> 239 <item name="actionButtonStyle">@android:style/Widget.ActionButton</item> 240 <item name="actionOverflowButtonStyle">@android:style/Widget.ActionButton.Overflow</item> 241 <item name="actionModeBackground">@android:drawable/action_bar_context_background</item> 242 <item name="actionModeCloseDrawable">@android:drawable/ic_menu_close_clear_cancel</item> 243 <item name="actionModeCutDrawable">@android:drawable/ic_menu_cut_dark</item> 244 <item name="actionModeCopyDrawable">@android:drawable/ic_menu_copy_dark</item> 245 <item name="actionModePasteDrawable">@android:drawable/ic_menu_paste_dark</item> 246 <item name="actionBarTabStyle">@style/Widget.ActionBarView_TabView</item> 247 <item name="actionBarTabBarStyle">@style/Widget.ActionBarView_TabBar</item> 248 <item name="actionBarTabTextStyle">@style/Widget.ActionBarView_TabText</item> 249 <item name="actionModeStyle">@style/Widget.ActionMode</item> 250 <item name="actionModeCloseButtonStyle">@style/Widget.ActionButton.CloseMode</item> 251 <item name="actionBarStyle">@android:style/Widget.ActionBar</item> 252 <item name="actionBarSize">56dip</item> 253 254 <item name="dividerVertical">@drawable/divider_vertical_dark</item> 255 <item name="buttonGroupStyle">@android:style/Widget.ButtonGroup</item> 256 257 <!-- SearchView attributes --> 258 <item name="searchDropdownBackground">@android:drawable/search_dropdown_dark</item> 259 </style> 260 261 <!-- Variant of the default (dark) theme with no title bar --> 262 <style name="Theme.NoTitleBar"> 263 <item name="android:windowNoTitle">true</item> 264 </style> 265 266 <!-- Variant of the default (dark) theme that has no title bar and 267 fills the entire screen --> 268 <style name="Theme.NoTitleBar.Fullscreen"> 269 <item name="android:windowFullscreen">true</item> 270 <item name="android:windowContentOverlay">@null</item> 271 </style> 272 273 <!-- Theme for a light background with dark text on top. Set your activity 274 to this theme if you would like such an appearance. As with the 275 default theme, you should try to assume little more than that the 276 background will be a light color. --> 277 <style name="Theme.Light"> 278 <item name="windowBackground">@drawable/screen_background_light</item> 279 <item name="colorBackground">@android:color/background_light</item> 280 <item name="colorForeground">@color/bright_foreground_light</item> 281 <item name="colorForegroundInverse">@android:color/bright_foreground_light_inverse</item> 282 283 <item name="textColorPrimary">@android:color/primary_text_light</item> 284 <item name="textColorSecondary">@android:color/secondary_text_light</item> 285 <item name="textColorTertiary">@android:color/tertiary_text_light</item> 286 <item name="textColorPrimaryInverse">@android:color/primary_text_dark</item> 287 <item name="textColorSecondaryInverse">@android:color/secondary_text_dark</item> 288 <item name="textColorTertiaryInverse">@android:color/tertiary_text_dark</item> 289 <item name="textColorPrimaryDisableOnly">@android:color/primary_text_light_disable_only</item> 290 <item name="textColorPrimaryInverseDisableOnly">@android:color/primary_text_dark_disable_only</item> 291 <item name="textColorPrimaryNoDisable">@android:color/primary_text_light_nodisable</item> 292 <item name="textColorSecondaryNoDisable">@android:color/secondary_text_light_nodisable</item> 293 <item name="textColorPrimaryInverseNoDisable">@android:color/primary_text_dark_nodisable</item> 294 <item name="textColorSecondaryInverseNoDisable">@android:color/secondary_text_dark_nodisable</item> 295 <item name="textColorHint">@android:color/hint_foreground_light</item> 296 <item name="textColorHintInverse">@android:color/hint_foreground_dark</item> 297 <item name="textColorHighlight">@android:color/highlighted_text_light</item> 298 <item name="textColorHighlightInverse">@android:color/highlighted_text_dark</item> 299 <item name="textColorLink">@android:color/link_text_light</item> 300 <item name="textColorLinkInverse">@android:color/link_text_dark</item> 301 302 <item name="editTextColor">?android:attr/textColorPrimary</item> 303 <item name="listChoiceBackgroundIndicator">@android:drawable/list_selected_background_light</item> 304 305 <item name="activatedBackgroundIndicator">@android:drawable/activated_background_light</item> 306 307 <item name="popupWindowStyle">@android:style/Widget.PopupWindow</item> 308 309 <item name="textCheckMark">@android:drawable/indicator_check_mark_light</item> 310 <item name="textCheckMarkInverse">@android:drawable/indicator_check_mark_dark</item> 311 312 <item name="gestureOverlayViewStyle">@android:style/Widget.GestureOverlayView.White</item> 313 <item name="expandableListViewStyle">@android:style/Widget.ExpandableListView.White</item> 314 <item name="listViewStyle">@android:style/Widget.ListView.White</item> 315 <item name="listDivider">@drawable/divider_horizontal_bright</item> 316 <item name="listSeparatorTextViewStyle">@android:style/Widget.TextView.ListSeparator.White</item> 317 318 <item name="progressBarStyle">@android:style/Widget.ProgressBar.Inverse</item> 319 <item name="progressBarStyleSmall">@android:style/Widget.ProgressBar.Small.Inverse</item> 320 <item name="progressBarStyleLarge">@android:style/Widget.ProgressBar.Large.Inverse</item> 321 <item name="progressBarStyleInverse">@android:style/Widget.ProgressBar</item> 322 <item name="progressBarStyleSmallInverse">@android:style/Widget.ProgressBar.Small</item> 323 <item name="progressBarStyleLargeInverse">@android:style/Widget.ProgressBar.Large</item> 324 <item name="actionModeCutDrawable">@android:drawable/ic_menu_cut_light</item> 325 <item name="actionModeCopyDrawable">@android:drawable/ic_menu_copy_light</item> 326 <item name="actionModePasteDrawable">@android:drawable/ic_menu_paste_light</item> 327 <!-- SearchView attributes --> 328 <item name="searchDropdownBackground">@android:drawable/search_dropdown_light</item> 329 </style> 330 331 <!-- Variant of the light theme with no title bar --> 332 <style name="Theme.Light.NoTitleBar"> 333 <item name="android:windowNoTitle">true</item> 334 </style> 335 336 <!-- Variant of the light theme that has no title bar and 337 fills the entire screen --> 338 <style name="Theme.Light.NoTitleBar.Fullscreen"> 339 <item name="android:windowFullscreen">true</item> 340 <item name="android:windowContentOverlay">@null</item> 341 </style> 342 343 <!-- Special variation on the default theme that ensures the background is 344 completely black. This is useful for things like image viewers and 345 media players. If you want the normal (dark background) theme 346 do <em>not</em> use this, use {@link #Theme}. --> 347 <style name="Theme.Black"> 348 <item name="android:windowBackground">@android:color/black</item> 349 <item name="android:colorBackground">@android:color/black</item> 350 </style> 351 352 <!-- Variant of the black theme with no title bar --> 353 <style name="Theme.Black.NoTitleBar"> 354 <item name="android:windowNoTitle">true</item> 355 </style> 356 357 <!-- Variant of the black theme that has no title bar and 358 fills the entire screen --> 359 <style name="Theme.Black.NoTitleBar.Fullscreen"> 360 <item name="android:windowFullscreen">true</item> 361 <item name="android:windowContentOverlay">@null</item> 362 </style> 363 364 <!-- Default theme for windows that want to have the user's selected 365 wallpaper appear behind them. --> 366 <style name="Theme.Wallpaper"> 367 <item name="android:windowBackground">@android:color/transparent</item> 368 <item name="android:colorBackgroundCacheHint">@null</item> 369 <item name="android:windowShowWallpaper">true</item> 370 </style> 371 372 <!-- Variant of the translucent theme with no title bar --> 373 <style name="Theme.Wallpaper.NoTitleBar"> 374 <item name="android:windowNoTitle">true</item> 375 </style> 376 377 <!-- Variant of the translucent theme that has no title bar and 378 fills the entire screen --> 379 <style name="Theme.Wallpaper.NoTitleBar.Fullscreen"> 380 <item name="android:windowFullscreen">true</item> 381 <item name="android:windowContentOverlay">@null</item> 382 </style> 383 384 <!-- Theme for a wallpaper's setting activity that is designed to be on 385 top of a dark background. --> 386 <style name="Theme.WallpaperSettings"> 387 <item name="android:windowBackground">@android:drawable/screen_background_dark_transparent</item> 388 <item name="android:colorBackgroundCacheHint">@null</item> 389 <item name="android:windowIsTranslucent">true</item> 390 <item name="android:windowAnimationStyle">@android:style/Animation.Translucent</item> 391 </style> 392 393 <!-- Theme for a wallpaper's setting activity that is designed to be on 394 top of a light background. --> 395 <style name="Theme.Light.WallpaperSettings"> 396 <item name="android:windowBackground">@android:drawable/screen_background_light_transparent</item> 397 <item name="android:colorBackgroundCacheHint">@null</item> 398 <item name="android:windowIsTranslucent">true</item> 399 <item name="android:windowAnimationStyle">@android:style/Animation.Translucent</item> 400 </style> 401 402 <!-- Style to apply on top of a wallpaper settings theme when it is being 403 shown on top of the real wallpaper --> 404 <style name="ActiveWallpaperSettings"> 405 </style> 406 407 <!-- Style to apply on top of a wallpaper settings theme when it is being 408 shown on top of the real wallpaper --> 409 <style name="PreviewWallpaperSettings"> 410 </style> 411 412 <!-- Default theme for translucent activities, that is windows that allow you 413 to see through them to the windows behind. This sets up the translucent 414 flag and appropriate animations for your windows. --> 415 <style name="Theme.Translucent"> 416 <item name="android:windowBackground">@android:color/transparent</item> 417 <item name="android:colorBackgroundCacheHint">@null</item> 418 <item name="android:windowIsTranslucent">true</item> 419 <!-- Note that we use the base animation style here (that is no 420 animations) because we really have no idea how this kind of 421 activity will be used. --> 422 <item name="android:windowAnimationStyle">@android:style/Animation</item> 423 </style> 424 425 <!-- Variant of the translucent theme with no title bar --> 426 <style name="Theme.Translucent.NoTitleBar"> 427 <item name="android:windowNoTitle">true</item> 428 <item name="android:windowContentOverlay">@null</item> 429 </style> 430 431 <!-- Variant of the translucent theme that has no title bar and 432 fills the entire screen --> 433 <style name="Theme.Translucent.NoTitleBar.Fullscreen"> 434 <item name="android:windowFullscreen">true</item> 435 </style> 436 437 <!-- Default theme for activities that don't actually display a UI; that 438 is, they finish themselves before being resumed. --> 439 <style name="Theme.NoDisplay"> 440 <item name="android:windowBackground">@null</item> 441 <item name="android:windowContentOverlay">@null</item> 442 <item name="android:windowIsTranslucent">true</item> 443 <item name="android:windowAnimationStyle">@null</item> 444 <item name="android:windowDisablePreview">true</item> 445 <item name="android:windowNoDisplay">true</item> 446 </style> 447 448 <!-- Default theme for dialog windows and activities, which is used by the 449 {@link android.app.Dialog} class. This changes the window to be 450 floating (not fill the entire screen), and puts a frame around its 451 contents. You can set this theme on an activity if you would like to 452 make an activity that looks like a Dialog. --> 453 <style name="Theme.Dialog"> 454 <item name="android:windowFrame">@null</item> 455 <item name="android:windowTitleStyle">@android:style/DialogWindowTitle</item> 456 <item name="android:windowBackground">@android:drawable/panel_background</item> 457 <item name="android:windowIsFloating">true</item> 458 <item name="android:windowContentOverlay">@null</item> 459 <item name="android:windowAnimationStyle">@android:style/Animation.Dialog</item> 460 <item name="android:windowSoftInputMode">stateUnspecified|adjustPan</item> 461 462 <item name="android:colorBackgroundCacheHint">@null</item> 463 464 <item name="textAppearance">@android:style/TextAppearance</item> 465 <item name="textAppearanceInverse">@android:style/TextAppearance.Inverse</item> 466 467 <item name="textColorPrimary">@android:color/primary_text_dark</item> 468 <item name="textColorSecondary">@android:color/secondary_text_dark</item> 469 <item name="textColorTertiary">@android:color/tertiary_text_dark</item> 470 <item name="textColorPrimaryInverse">@android:color/primary_text_light</item> 471 <item name="textColorSecondaryInverse">@android:color/secondary_text_light</item> 472 <item name="textColorTertiaryInverse">@android:color/tertiary_text_light</item> 473 <item name="textColorPrimaryDisableOnly">@android:color/primary_text_dark_disable_only</item> 474 <item name="textColorPrimaryInverseDisableOnly">@android:color/primary_text_light_disable_only</item> 475 <item name="textColorPrimaryNoDisable">@android:color/primary_text_dark_nodisable</item> 476 <item name="textColorSecondaryNoDisable">@android:color/secondary_text_dark_nodisable</item> 477 <item name="textColorPrimaryInverseNoDisable">@android:color/primary_text_light_nodisable</item> 478 <item name="textColorSecondaryInverseNoDisable">@android:color/secondary_text_light_nodisable</item> 479 <item name="textColorHint">@android:color/hint_foreground_dark</item> 480 <item name="textColorHintInverse">@android:color/hint_foreground_light</item> 481 <item name="textColorSearchUrl">@android:color/search_url_text</item> 482 483 <item name="textAppearanceLarge">@android:style/TextAppearance.Large</item> 484 <item name="textAppearanceMedium">@android:style/TextAppearance.Medium</item> 485 <item name="textAppearanceSmall">@android:style/TextAppearance.Small</item> 486 <item name="textAppearanceLargeInverse">@android:style/TextAppearance.Large.Inverse</item> 487 <item name="textAppearanceMediumInverse">@android:style/TextAppearance.Medium.Inverse</item> 488 <item name="textAppearanceSmallInverse">@android:style/TextAppearance.Small.Inverse</item> 489 </style> 490 491 <!-- Variation of Theme.Dialog that does not include a frame (or background). 492 The view hierarchy of the dialog is responsible for drawing all of 493 its pixels. --> 494 <style name="Theme.Dialog.NoFrame"> 495 <item name="windowBackground">@android:color/transparent</item> 496 <item name="android:windowFrame">@null</item> 497 <item name="windowContentOverlay">@null</item> 498 <item name="android:windowAnimationStyle">@null</item> 499 <item name="android:backgroundDimEnabled">false</item> 500 <item name="android:windowIsTranslucent">true</item> 501 <item name="android:windowNoTitle">true</item> 502 </style> 503 504 <!-- Default theme for alert dialog windows, which is used by the 505 {@link android.app.AlertDialog} class. This is basically a dialog 506 but sets the background to empty so it can do two-tone backgrounds. --> 507 <style name="Theme.Dialog.Alert"> 508 <item name="windowBackground">@android:color/transparent</item> 509 <item name="windowTitleStyle">@android:style/DialogWindowTitle</item> 510 <item name="windowContentOverlay">@null</item> 511 </style> 512 513 <!-- Default dark theme for panel windows. This removes all extraneous 514 window decorations, so you basically have an empty rectangle in which 515 to place your content. It makes the window floating, with a transparent 516 background, and turns off dimming behind the window. --> 517 <style name="Theme.Panel"> 518 <item name="android:windowBackground">@android:color/transparent</item> 519 <item name="android:colorBackgroundCacheHint">@null</item> 520 <item name="android:windowFrame">@null</item> 521 <item name="android:windowContentOverlay">@null</item> 522 <item name="android:windowIsFloating">true</item> 523 <item name="android:backgroundDimEnabled">false</item> 524 <item name="android:windowIsTranslucent">true</item> 525 <item name="android:windowNoTitle">true</item> 526 </style> 527 528 <!-- Default light theme for panel windows. This removes all extraneous 529 window decorations, so you basically have an empty rectangle in which 530 to place your content. It makes the window floating, with a transparent 531 background, and turns off dimming behind the window. --> 532 <style name="Theme.Light.Panel"> 533 <item name="android:windowBackground">@android:color/transparent</item> 534 <item name="android:colorBackgroundCacheHint">@null</item> 535 <item name="android:windowFrame">@null</item> 536 <item name="android:windowContentOverlay">@null</item> 537 <item name="android:windowIsFloating">true</item> 538 <item name="android:backgroundDimEnabled">false</item> 539 <item name="android:windowIsTranslucent">true</item> 540 <item name="android:windowNoTitle">true</item> 541 </style> 542 543 <!-- Default theme for input methods, which is used by the 544 {@link android.inputmethodservice.InputMethodService} class. 545 this inherits from Theme.NoTitleBar, but makes the background 546 transparent, the window floating and translucent, and ensures that 547 it does not dim the UI behind it. This also configures the window 548 with the standard IME animations and visuals. --> 549 <style name="Theme.InputMethod" parent="Theme.Panel"> 550 <item name="android:windowAnimationStyle">@android:style/Animation.InputMethod</item> 551 <item name="android:imeFullscreenBackground">@android:drawable/input_method_fullscreen_background</item> 552 <item name="android:imeExtractEnterAnimation">@android:anim/input_method_extract_enter</item> 553 <item name="android:imeExtractExitAnimation">@android:anim/input_method_extract_exit</item> 554 </style> 555 556 <!-- Theme for the search input bar. --> 557 <style name="Theme.SearchBar" parent="Theme.Panel"> 558 <item name="windowContentOverlay">@null</item> 559 </style> 560 561 <!-- Theme for the search input bar when doing global search. The only 562 difference from non-global search is that we do not dim the background. --> 563 <style name="Theme.GlobalSearchBar" parent="Theme.Panel"> 564 <item name="windowContentOverlay">@null</item> 565 </style> 566 567 <!-- Menu Themes --> 568 <eat-comment /> 569 570 <style name="Theme.IconMenu"> 571 <!-- Menu/item attributes --> 572 <item name="android:itemTextAppearance">@android:style/TextAppearance.Widget.IconMenu.Item</item> 573 <item name="android:selectableItemBackground">@android:drawable/menu_selector</item> 574 <item name="android:itemIconDisabledAlpha">?android:attr/disabledAlpha</item> 575 <item name="android:horizontalDivider">@android:drawable/divider_horizontal_dark</item> 576 <item name="android:verticalDivider">@android:drawable/divider_vertical_dark</item> 577 <item name="android:windowAnimationStyle">@android:style/Animation.OptionsPanel</item> 578 <item name="android:moreIcon">@android:drawable/ic_menu_more</item> 579 <item name="android:background">@null</item> 580 </style> 581 582 <style name="Theme.ExpandedMenu"> 583 <!-- Menu/item attributes --> 584 <item name="android:itemTextAppearance">?android:attr/textAppearanceLarge</item> 585 <item name="android:listViewStyle">@android:style/Widget.ListView.Menu</item> 586 <item name="android:windowAnimationStyle">@android:style/Animation.OptionsPanel</item> 587 <item name="android:background">@null</item> 588 </style> 589 590 <!-- @hide --> 591 <style name="Theme.Dialog.AppError"> 592 <item name="windowFrame">@null</item> 593 <item name="windowTitleStyle">@android:style/DialogWindowTitle</item> 594 <item name="windowBackground">@android:color/transparent</item> 595 <item name="windowIsFloating">true</item> 596 <item name="windowContentOverlay">@null</item> 597 <item name="textAppearance">@style/TextAppearance.Theme.Dialog.AppError</item> 598 </style> 599 600 <!-- Special theme for the recent apps dialog, to allow customization 601 with overlays. --> 602 <style name="Theme.Dialog.RecentApplications"> 603 <item name="windowFrame">@null</item> 604 <item name="windowBackground">@android:color/transparent</item> 605 <item name="android:windowAnimationStyle">@android:style/Animation.RecentApplications</item> 606 <item name="android:textColor">@android:color/secondary_text_nofocus</item> 607 </style> 608 609 <!-- Default theme for window that looks like a toast. --> 610 <style name="Theme.Toast" parent="@android:style/Theme.Dialog"> 611 <item name="android:windowBackground">@android:drawable/toast_frame</item> 612 <item name="android:windowAnimationStyle">@android:style/Animation.Toast</item> 613 <item name="android:backgroundDimEnabled">false</item> 614 </style> 615 616 <!-- Default theme with an Action Bar. --> 617 <style name="Theme.WithActionBar"> 618 <item name="android:windowActionBar">true</item> 619 </style> 620 621 <!-- No title bar, but Action Mode bars will overlay application content 622 instead of pushing it down to make room. --> 623 <style name="Theme.NoTitleBar.OverlayActionModes"> 624 <item name="android:windowActionModeOverlay">true</item> 625 </style> 626 627 <!-- New Honeycomb holographic theme. Dark version. The widgets in the 628 holographic theme are translucent on their brackground, so applications 629 must ensure that any background they use with this theme is itself 630 dark; otherwise, it will be difficult to see the widgets. The new 631 UI style also includes a full action bar by default. 632 633 Styles used by the Holo theme are named using the convention Type.Holo.Etc. 634 (For example, Widget.Holo.Button, TextAppearance.Holo.Widget.PopupMenu.Large.) 635 Specific resources used by Holo are named using the convention @type/foo_bar_baz_holo 636 with trailing _dark or _light specifiers if they are not shared between both light and 637 dark versions of the theme. --> 638 <style name="Theme.Holo"> 639 <item name="colorForeground">@android:color/bright_foreground_holo_dark</item> 640 <item name="colorForegroundInverse">@android:color/bright_foreground_inverse_holo_dark</item> 641 <item name="colorBackground">@android:color/background_holo_dark</item> 642 <item name="colorBackgroundCacheHint">@android:color/transparent</item> 643 <item name="disabledAlpha">0.5</item> 644 <item name="backgroundDimAmount">0.6</item> 645 646 <!-- Text styles --> 647 <item name="textAppearance">@android:style/TextAppearance.Holo</item> 648 <item name="textAppearanceInverse">@android:style/TextAppearance.Holo.Inverse</item> 649 650 <item name="textColorPrimary">@android:color/primary_text_holo_dark</item> 651 <item name="textColorSecondary">@android:color/secondary_text_holo_dark</item> 652 <item name="textColorTertiary">@android:color/tertiary_text_holo_dark</item> 653 <item name="textColorPrimaryInverse">@android:color/primary_text_holo_light</item> 654 <item name="textColorSecondaryInverse">@android:color/secondary_text_holo_light</item> 655 <item name="textColorTertiaryInverse">@android:color/tertiary_text_holo_light</item> 656 <item name="textColorPrimaryDisableOnly">@android:color/primary_text_disable_only_holo_dark</item> 657 <item name="textColorPrimaryInverseDisableOnly">@android:color/primary_text_disable_only_holo_light</item> 658 <item name="textColorPrimaryNoDisable">@android:color/primary_text_nodisable_holo_dark</item> 659 <item name="textColorSecondaryNoDisable">@android:color/secondary_text_nodisable_holo_dark</item> 660 <item name="textColorPrimaryInverseNoDisable">@android:color/primary_text_nodisable_holo_light</item> 661 <item name="textColorSecondaryInverseNoDisable">@android:color/secondary_text_nodisable_holo_light</item> 662 <item name="textColorHint">@android:color/hint_foreground_holo_dark</item> 663 <item name="textColorHintInverse">@android:color/hint_foreground_holo_light</item> 664 <item name="textColorSearchUrl">@android:color/search_url_text_holo</item> 665 <item name="textColorHighlight">@android:color/highlighted_text_holo_dark</item> 666 <item name="textColorHighlightInverse">@android:color/highlighted_text_holo_light</item> 667 <item name="textColorLink">@android:color/link_text_holo_dark</item> 668 <item name="textColorLinkInverse">@android:color/link_text_holo_light</item> 669 <item name="textColorAlertDialogListItem">@android:color/primary_text_holo_dark</item> 670 671 <item name="textAppearanceLarge">@android:style/TextAppearance.Holo.Large</item> 672 <item name="textAppearanceMedium">@android:style/TextAppearance.Holo.Medium</item> 673 <item name="textAppearanceSmall">@android:style/TextAppearance.Holo.Small</item> 674 <item name="textAppearanceLargeInverse">@android:style/TextAppearance.Holo.Large.Inverse</item> 675 <item name="textAppearanceMediumInverse">@android:style/TextAppearance.Holo.Medium.Inverse</item> 676 <item name="textAppearanceSmallInverse">@android:style/TextAppearance.Holo.Small.Inverse</item> 677 <item name="textAppearanceSearchResultTitle">@android:style/TextAppearance.Holo.SearchResult.Title</item> 678 <item name="textAppearanceSearchResultSubtitle">@android:style/TextAppearance.Holo.SearchResult.Subtitle</item> 679 680 <item name="textAppearanceButton">@android:style/TextAppearance.Holo.Widget.Button</item> 681 682 <item name="editTextColor">?android:attr/textColorPrimary</item> 683 <item name="editTextBackground">@android:drawable/edit_text_holo_dark</item> 684 685 <item name="candidatesTextStyleSpans">@android:string/candidates_style</item> 686 687 <item name="textCheckMark">@android:drawable/indicator_check_mark_dark</item> 688 <item name="textCheckMarkInverse">@android:drawable/indicator_check_mark_light</item> 689 690 <item name="textAppearanceLargePopupMenu">@android:style/TextAppearance.Holo.Widget.PopupMenu.Large</item> 691 <item name="textAppearanceSmallPopupMenu">@android:style/TextAppearance.Holo.Widget.PopupMenu.Small</item> 692 693 <!-- Button styles --> 694 <item name="buttonStyle">@android:style/Widget.Holo.Button</item> 695 696 <item name="buttonStyleSmall">@android:style/Widget.Holo.Button.Small</item> 697 <item name="buttonStyleInset">@android:style/Widget.Holo.Button.Inset</item> 698 699 <item name="buttonStyleToggle">@android:style/Widget.Holo.Button.Toggle</item> 700 701 <item name="groupButtonBackground">@android:drawable/group_button_background_holo_dark</item> 702 <item name="selectableItemBackground">@android:drawable/item_background_holo_dark</item> 703 704 <!-- List attributes --> 705 <item name="listPreferredItemHeight">64dip</item> 706 <!-- @hide --> 707 <item name="searchResultListItemHeight">58dip</item> 708 <item name="listDivider">@drawable/list_divider_holo_dark</item> 709 <item name="listSeparatorTextViewStyle">@android:style/Widget.Holo.TextView.ListSeparator</item> 710 711 <item name="listChoiceIndicatorSingle">@android:drawable/btn_radio_holo_dark</item> 712 <item name="listChoiceIndicatorMultiple">@android:drawable/btn_check_holo_dark</item> 713 714 <item name="listChoiceBackgroundIndicator">@android:drawable/list_selector_holo_dark</item> 715 716 <item name="activatedBackgroundIndicator">@android:drawable/activated_background_holo_dark</item> 717 718 <item name="listDividerAlertDialog">@android:drawable/list_divider_holo_dark</item> 719 720 <item name="expandableListPreferredItemPaddingLeft">40dip</item> 721 <item name="expandableListPreferredChildPaddingLeft"> 722 ?android:attr/expandableListPreferredItemPaddingLeft</item> 723 724 <item name="expandableListPreferredItemIndicatorLeft">3dip</item> 725 <item name="expandableListPreferredItemIndicatorRight">33dip</item> 726 <item name="expandableListPreferredChildIndicatorLeft"> 727 ?android:attr/expandableListPreferredItemIndicatorLeft</item> 728 <item name="expandableListPreferredChildIndicatorRight"> 729 ?android:attr/expandableListPreferredItemIndicatorRight</item> 730 731 <!-- Gallery attributes --> 732 <item name="galleryItemBackground">@android:drawable/gallery_item_background</item> 733 734 <!-- Window attributes --> 735 <item name="windowBackground">@android:drawable/background_holo_dark</item> 736 <item name="windowFrame">@null</item> 737 <item name="windowNoTitle">false</item> 738 <item name="windowFullscreen">false</item> 739 <item name="windowIsFloating">false</item> 740 <item name="windowContentOverlay">@null</item> 741 <item name="windowShowWallpaper">false</item> 742 <item name="windowTitleStyle">@android:style/WindowTitle.Holo</item> 743 <item name="windowTitleSize">25dip</item> 744 <item name="windowTitleBackgroundStyle">@android:style/WindowTitleBackground.Holo</item> 745 <item name="android:windowAnimationStyle">@android:style/Animation.Holo.Activity</item> 746 <item name="android:windowSoftInputMode">stateUnspecified|adjustUnspecified</item> 747 <item name="windowActionBar">true</item> 748 <item name="windowActionModeOverlay">false</item> 749 750 <!-- Dialog attributes --> 751 <item name="alertDialogStyle">@android:style/AlertDialog.Holo</item> 752 <item name="dialogTheme">@android:style/Theme.Holo.Dialog</item> 753 <item name="alertDialogTheme">@android:style/Theme.Holo.Dialog.Alert</item> 754 <item name="alertDialogButtonGroupStyle">@android:style/Widget.Holo.ButtonGroup.AlertDialog</item> 755 756 <!-- Panel attributes --> 757 <item name="panelBackground">@android:drawable/menu_background</item> 758 <item name="panelFullBackground">@android:drawable/menu_background_fill_parent_width</item> 759 <!-- These three attributes do not seems to be used by the framework. Declared public though --> 760 <item name="panelColorBackground">#000</item> 761 <item name="panelColorForeground">?android:attr/textColorPrimary</item> 762 <item name="panelTextAppearance">?android:attr/textAppearance</item> 763 764 <!-- Scrollbar attributes --> 765 <item name="scrollbarFadeDuration">250</item> 766 <item name="scrollbarDefaultDelayBeforeFade">300</item> 767 <item name="scrollbarSize">10dip</item> 768 <item name="scrollbarThumbHorizontal">@android:drawable/scrollbar_handle_horizontal</item> 769 <item name="scrollbarThumbVertical">@android:drawable/scrollbar_handle_vertical</item> 770 <item name="scrollbarTrackHorizontal">@null</item> 771 <item name="scrollbarTrackVertical">@null</item> 772 773 <!-- Text selection handle attributes --> 774 <item name="textSelectHandleLeft">@android:drawable/text_select_handle_left</item> 775 <item name="textSelectHandleRight">@android:drawable/text_select_handle_right</item> 776 <item name="textSelectHandle">@android:drawable/text_select_handle_middle</item> 777 <item name="textSelectHandleWindowStyle">@android:style/Widget.Holo.TextSelectHandle</item> 778 779 <!-- Widget styles --> 780 <item name="absListViewStyle">@android:style/Widget.Holo.AbsListView</item> 781 <item name="autoCompleteTextViewStyle">@android:style/Widget.Holo.AutoCompleteTextView</item> 782 <item name="checkboxStyle">@android:style/Widget.Holo.CompoundButton.CheckBox</item> 783 <item name="dropDownListViewStyle">@android:style/Widget.Holo.ListView.DropDown</item> 784 <item name="editTextStyle">@android:style/Widget.Holo.EditText</item> 785 <item name="expandableListViewStyle">@android:style/Widget.Holo.ExpandableListView</item> 786 <item name="expandableListViewWhiteStyle">@android:style/Widget.Holo.ExpandableListView.White</item> 787 <item name="galleryStyle">@android:style/Widget.Holo.Gallery</item> 788 <item name="gestureOverlayViewStyle">@android:style/Widget.Holo.GestureOverlayView</item> 789 <item name="gridViewStyle">@android:style/Widget.Holo.GridView</item> 790 <item name="imageButtonStyle">@android:style/Widget.Holo.ImageButton</item> 791 <item name="imageWellStyle">@android:style/Widget.Holo.ImageWell</item> 792 <item name="listViewStyle">@android:style/Widget.Holo.ListView</item> 793 <item name="listViewWhiteStyle">@android:style/Widget.Holo.ListView.White</item> 794 <item name="popupWindowStyle">@android:style/Widget.Holo.PopupWindow</item> 795 <item name="progressBarStyle">@android:style/Widget.Holo.ProgressBar</item> 796 <item name="progressBarStyleHorizontal">@android:style/Widget.Holo.ProgressBar.Horizontal</item> 797 <item name="progressBarStyleSmall">@android:style/Widget.Holo.ProgressBar.Small</item> 798 <item name="progressBarStyleSmallTitle">@android:style/Widget.Holo.ProgressBar.Small.Title</item> 799 <item name="progressBarStyleLarge">@android:style/Widget.Holo.ProgressBar.Large</item> 800 <item name="progressBarStyleInverse">@android:style/Widget.Holo.ProgressBar.Inverse</item> 801 <item name="progressBarStyleSmallInverse">@android:style/Widget.Holo.ProgressBar.Small.Inverse</item> 802 <item name="progressBarStyleLargeInverse">@android:style/Widget.Holo.ProgressBar.Large.Inverse</item> 803 <item name="seekBarStyle">@android:style/Widget.Holo.SeekBar</item> 804 <item name="ratingBarStyle">@android:style/Widget.Holo.RatingBar</item> 805 <item name="ratingBarStyleIndicator">@android:style/Widget.Holo.RatingBar.Indicator</item> 806 <item name="ratingBarStyleSmall">@android:style/Widget.Holo.RatingBar.Small</item> 807 <item name="radioButtonStyle">@android:style/Widget.Holo.CompoundButton.RadioButton</item> 808 <item name="scrollViewStyle">@android:style/Widget.Holo.ScrollView</item> 809 <item name="horizontalScrollViewStyle">@android:style/Widget.Holo.HorizontalScrollView</item> 810 <item name="spinnerStyle">?android:attr/dropDownSpinnerStyle</item> 811 <item name="dropDownSpinnerStyle">@android:style/Widget.Holo.Spinner.DropDown</item> 812 <item name="starStyle">@android:style/Widget.Holo.CompoundButton.Star</item> 813 <item name="tabWidgetStyle">@android:style/Widget.Holo.TabWidget</item> 814 <item name="textViewStyle">@android:style/Widget.Holo.TextView</item> 815 <item name="webTextViewStyle">@android:style/Widget.Holo.WebTextView</item> 816 <item name="webViewStyle">@android:style/Widget.Holo.WebView</item> 817 <item name="dropDownItemStyle">@android:style/Widget.Holo.DropDownItem</item> 818 <item name="spinnerDropDownItemStyle">@android:style/Widget.Holo.DropDownItem.Spinner</item> 819 <item name="spinnerItemStyle">@android:style/Widget.Holo.TextView.SpinnerItem</item> 820 <item name="dropDownHintAppearance">@android:style/TextAppearance.Holo.Widget.DropDownHint</item> 821 <item name="keyboardViewStyle">@android:style/Widget.Holo.KeyboardView</item> 822 <item name="quickContactBadgeStyleWindowSmall">@android:style/Widget.Holo.QuickContactBadge.WindowSmall</item> 823 <item name="quickContactBadgeStyleWindowMedium">@android:style/Widget.Holo.QuickContactBadge.WindowMedium</item> 824 <item name="quickContactBadgeStyleWindowLarge">@android:style/Widget.Holo.QuickContactBadge.WindowLarge</item> 825 <item name="quickContactBadgeStyleSmallWindowSmall">@android:style/Widget.Holo.QuickContactBadgeSmall.WindowSmall</item> 826 <item name="quickContactBadgeStyleSmallWindowMedium">@android:style/Widget.Holo.QuickContactBadgeSmall.WindowMedium</item> 827 <item name="quickContactBadgeStyleSmallWindowLarge">@android:style/Widget.Holo.QuickContactBadgeSmall.WindowLarge</item> 828 <item name="listPopupWindowStyle">@android:style/Widget.Holo.ListPopupWindow</item> 829 <item name="popupMenuStyle">@android:style/Widget.Holo.PopupMenu</item> 830 831 <!-- Preference styles --> 832 <item name="preferenceScreenStyle">@android:style/Preference.PreferenceScreen</item> 833 <item name="preferenceCategoryStyle">@android:style/Preference.Category</item> 834 <item name="preferenceStyle">@android:style/Preference</item> 835 <item name="preferenceInformationStyle">@android:style/Preference.Information</item> 836 <item name="checkBoxPreferenceStyle">@android:style/Preference.CheckBoxPreference</item> 837 <item name="yesNoPreferenceStyle">@android:style/Preference.DialogPreference.YesNoPreference</item> 838 <item name="dialogPreferenceStyle">@android:style/Preference.DialogPreference</item> 839 <item name="editTextPreferenceStyle">@android:style/Preference.DialogPreference.EditTextPreference</item> 840 <item name="ringtonePreferenceStyle">@android:style/Preference.RingtonePreference</item> 841 <item name="preferenceLayoutChild">@android:layout/preference_child</item> 842 843 <!-- Search widget styles --> 844 <item name="searchWidgetCorpusItemBackground">@android:color/search_widget_corpus_item_background</item> 845 846 <!-- Action bar styles --> 847 <item name="actionDropDownStyle">@android:style/Widget.Holo.Spinner.DropDown.ActionBar</item> 848 <item name="actionButtonStyle">@android:style/Widget.Holo.ActionButton</item> 849 <item name="actionOverflowButtonStyle">@android:style/Widget.Holo.ActionButton.Overflow</item> 850 <item name="actionModeBackground">@android:drawable/cab_holo_dark</item> 851 <item name="actionModeCloseDrawable">@android:drawable/cab_ic_close_holo</item> 852 <item name="actionBarTabStyle">@style/Widget.Holo.ActionBarView_TabView</item> 853 <item name="actionBarTabBarStyle">@style/Widget.Holo.ActionBarView_TabBar</item> 854 <item name="actionBarTabTextStyle">@style/Widget.Holo.ActionBarView_TabText</item> 855 <item name="actionModeStyle">@style/Widget.Holo.ActionMode</item> 856 <item name="actionModeCloseButtonStyle">@style/Widget.Holo.ActionButton.CloseMode</item> 857 <item name="actionBarStyle">@android:style/Widget.Holo.ActionBar</item> 858 <item name="actionBarSize">56dip</item> 859 860 <item name="dividerVertical">@drawable/divider_vertical_holo_dark</item> 861 <item name="buttonGroupStyle">@android:style/Widget.Holo.ButtonGroup</item> 862 863 <!-- SearchView attributes --> 864 <item name="searchDropdownBackground">@android:drawable/search_dropdown_dark</item> 865 </style> 866 867 <!-- New Honeycomb holographic theme. Light version. The widgets in the 868 holographic theme are translucent on their brackground, so applications 869 must ensure that any background they use with this theme is itself 870 light; otherwise, it will be difficult to see the widgets. The new 871 UI style also includes a full action bar by default. --> 872 <style name="Theme.Holo.Light" parent="Theme.Light"> 873 <item name="colorForeground">@android:color/bright_foreground_holo_light</item> 874 <item name="colorForegroundInverse">@android:color/bright_foreground_inverse_holo_light</item> 875 <item name="colorBackground">@android:color/background_holo_light</item> 876 <item name="colorBackgroundCacheHint">@android:color/transparent</item> 877 <item name="disabledAlpha">0.5</item> 878 <item name="backgroundDimAmount">0.6</item> 879 880 <!-- Text styles --> 881 <item name="textAppearance">@android:style/TextAppearance.Holo.Light</item> 882 <item name="textAppearanceInverse">@android:style/TextAppearance.Holo.Light.Inverse</item> 883 884 <item name="textColorPrimary">@android:color/primary_text_holo_light</item> 885 <item name="textColorSecondary">@android:color/secondary_text_holo_light</item> 886 <item name="textColorTertiary">@android:color/tertiary_text_holo_light</item> 887 <item name="textColorPrimaryInverse">@android:color/primary_text_holo_dark</item> 888 <item name="textColorSecondaryInverse">@android:color/secondary_text_holo_dark</item> 889 <item name="textColorTertiaryInverse">@android:color/tertiary_text_holo_dark</item> 890 <item name="textColorPrimaryDisableOnly">@android:color/primary_text_disable_only_holo_light</item> 891 <item name="textColorPrimaryInverseDisableOnly">@android:color/primary_text_disable_only_holo_dark</item> 892 <item name="textColorPrimaryNoDisable">@android:color/primary_text_nodisable_holo_light</item> 893 <item name="textColorSecondaryNoDisable">@android:color/secondary_text_nodisable_holo_light</item> 894 <item name="textColorPrimaryInverseNoDisable">@android:color/primary_text_nodisable_holo_dark</item> 895 <item name="textColorSecondaryInverseNoDisable">@android:color/secondary_text_nodisable_holo_dark</item> 896 <item name="textColorHint">@android:color/hint_foreground_holo_light</item> 897 <item name="textColorHintInverse">@android:color/hint_foreground_holo_dark</item> 898 <item name="textColorSearchUrl">@android:color/search_url_text_holo</item> 899 <item name="textColorHighlight">@android:color/highlighted_text_holo_light</item> 900 <item name="textColorHighlightInverse">@android:color/highlighted_text_holo_dark</item> 901 <item name="textColorLink">@android:color/link_text_holo_light</item> 902 <item name="textColorLinkInverse">@android:color/link_text_holo_dark</item> 903 <item name="textColorAlertDialogListItem">@android:color/primary_text_holo_light</item> 904 905 <item name="textAppearanceLarge">@android:style/TextAppearance.Holo.Light.Large</item> 906 <item name="textAppearanceMedium">@android:style/TextAppearance.Holo.Light.Medium</item> 907 <item name="textAppearanceSmall">@android:style/TextAppearance.Holo.Light.Small</item> 908 <item name="textAppearanceLargeInverse">@android:style/TextAppearance.Holo.Light.Large.Inverse</item> 909 <item name="textAppearanceMediumInverse">@android:style/TextAppearance.Holo.Light.Medium.Inverse</item> 910 <item name="textAppearanceSmallInverse">@android:style/TextAppearance.Holo.Light.Small.Inverse</item> 911 <item name="textAppearanceSearchResultTitle">@android:style/TextAppearance.Holo.Light.SearchResult.Title</item> 912 <item name="textAppearanceSearchResultSubtitle">@android:style/TextAppearance.Holo.Light.SearchResult.Subtitle</item> 913 914 <item name="textAppearanceButton">@android:style/TextAppearance.Holo.Light.Widget.Button</item> 915 916 <item name="editTextColor">?android:attr/textColorPrimary</item> 917 <item name="editTextBackground">@android:drawable/edit_text_holo_light</item> 918 919 <item name="candidatesTextStyleSpans">@android:string/candidates_style</item> 920 921 <item name="textCheckMark">@android:drawable/indicator_check_mark_light</item> 922 <item name="textCheckMarkInverse">@android:drawable/indicator_check_mark_dark</item> 923 924 <item name="textAppearanceLargePopupMenu">@android:style/TextAppearance.Holo.Light.Widget.PopupMenu.Large</item> 925 <item name="textAppearanceSmallPopupMenu">@android:style/TextAppearance.Holo.Light.Widget.PopupMenu.Small</item> 926 927 <!-- Button styles --> 928 <item name="buttonStyle">@android:style/Widget.Holo.Light.Button</item> 929 930 <item name="buttonStyleSmall">@android:style/Widget.Holo.Light.Button.Small</item> 931 <item name="buttonStyleInset">@android:style/Widget.Holo.Light.Button.Inset</item> 932 933 <item name="buttonStyleToggle">@android:style/Widget.Holo.Light.Button.Toggle</item> 934 935 <item name="groupButtonBackground">@android:drawable/group_button_background_holo_light</item> 936 <item name="selectableItemBackground">@android:drawable/item_background_holo_light</item> 937 938 <!-- List attributes --> 939 <item name="listPreferredItemHeight">64dip</item> 940 <!-- @hide --> 941 <item name="searchResultListItemHeight">58dip</item> 942 <item name="listDivider">@drawable/list_divider_holo_light</item> 943 <item name="listSeparatorTextViewStyle">@android:style/Widget.Holo.Light.TextView.ListSeparator</item> 944 945 <item name="listChoiceIndicatorSingle">@android:drawable/btn_radio_holo_light</item> 946 <item name="listChoiceIndicatorMultiple">@android:drawable/btn_check_holo_light</item> 947 948 <item name="listChoiceBackgroundIndicator">@android:drawable/list_selector_holo_light</item> 949 950 <item name="activatedBackgroundIndicator">@android:drawable/activated_background_holo_light</item> 951 952 <item name="expandableListPreferredItemPaddingLeft">40dip</item> 953 <item name="expandableListPreferredChildPaddingLeft"> 954 ?android:attr/expandableListPreferredItemPaddingLeft</item> 955 956 <item name="expandableListPreferredItemIndicatorLeft">3dip</item> 957 <item name="expandableListPreferredItemIndicatorRight">33dip</item> 958 <item name="expandableListPreferredChildIndicatorLeft"> 959 ?android:attr/expandableListPreferredItemIndicatorLeft</item> 960 <item name="expandableListPreferredChildIndicatorRight"> 961 ?android:attr/expandableListPreferredItemIndicatorRight</item> 962 963 <item name="listDividerAlertDialog">@android:drawable/list_divider_holo_light</item> 964 965 <!-- Gallery attributes --> 966 <item name="galleryItemBackground">@android:drawable/gallery_item_background</item> 967 968 <!-- Window attributes --> 969 <item name="windowBackground">@android:drawable/background_holo_light</item> 970 <item name="windowFrame">@null</item> 971 <item name="windowNoTitle">false</item> 972 <item name="windowFullscreen">false</item> 973 <item name="windowIsFloating">false</item> 974 <item name="windowContentOverlay">@null</item> 975 <item name="windowShowWallpaper">false</item> 976 <item name="windowTitleStyle">@android:style/WindowTitle.Holo</item> 977 <item name="windowTitleSize">25dip</item> 978 <item name="windowTitleBackgroundStyle">@android:style/WindowTitleBackground.Holo</item> 979 <item name="android:windowAnimationStyle">@android:style/Animation.Holo.Activity</item> 980 <item name="android:windowSoftInputMode">stateUnspecified|adjustUnspecified</item> 981 <item name="windowActionBar">true</item> 982 <item name="windowActionModeOverlay">false</item> 983 984 <!-- Dialog attributes --> 985 <item name="alertDialogStyle">@android:style/AlertDialog.Holo.Light</item> 986 <item name="dialogTheme">@android:style/Theme.Holo.Light.Dialog</item> 987 <item name="alertDialogTheme">@android:style/Theme.Holo.Light.Dialog.Alert</item> 988 <item name="alertDialogButtonGroupStyle">@android:style/Widget.Holo.Light.ButtonGroup.AlertDialog</item> 989 990 <!-- Panel attributes --> 991 <item name="panelBackground">@android:drawable/menu_background</item> 992 <item name="panelFullBackground">@android:drawable/menu_background_fill_parent_width</item> 993 <!-- These three attributes do not seems to be used by the framework. Declared public though --> 994 <item name="panelColorBackground">#000</item> 995 <item name="panelColorForeground">?android:attr/textColorPrimary</item> 996 <item name="panelTextAppearance">?android:attr/textAppearance</item> 997 998 <!-- Scrollbar attributes --> 999 <item name="scrollbarFadeDuration">250</item> 1000 <item name="scrollbarDefaultDelayBeforeFade">300</item> 1001 <item name="scrollbarSize">10dip</item> 1002 <item name="scrollbarThumbHorizontal">@android:drawable/scrollbar_handle_horizontal</item> 1003 <item name="scrollbarThumbVertical">@android:drawable/scrollbar_handle_vertical</item> 1004 <item name="scrollbarTrackHorizontal">@null</item> 1005 <item name="scrollbarTrackVertical">@null</item> 1006 1007 <!-- Text selection handle attributes --> 1008 <item name="textSelectHandleLeft">@android:drawable/text_select_handle_left</item> 1009 <item name="textSelectHandleRight">@android:drawable/text_select_handle_right</item> 1010 <item name="textSelectHandle">@android:drawable/text_select_handle_middle</item> 1011 <item name="textSelectHandleWindowStyle">@android:style/Widget.Holo.TextSelectHandle</item> 1012 1013 <!-- Widget styles --> 1014 <item name="absListViewStyle">@android:style/Widget.Holo.AbsListView</item> 1015 <item name="autoCompleteTextViewStyle">@android:style/Widget.Holo.AutoCompleteTextView</item> 1016 <item name="checkboxStyle">@android:style/Widget.Holo.CompoundButton.CheckBox</item> 1017 <item name="dropDownListViewStyle">@android:style/Widget.Holo.ListView.DropDown</item> 1018 <item name="editTextStyle">@android:style/Widget.Holo.EditText</item> 1019 <item name="expandableListViewStyle">@android:style/Widget.Holo.ExpandableListView</item> 1020 <item name="expandableListViewWhiteStyle">@android:style/Widget.Holo.ExpandableListView.White</item> 1021 <item name="galleryStyle">@android:style/Widget.Holo.Gallery</item> 1022 <item name="gestureOverlayViewStyle">@android:style/Widget.Holo.GestureOverlayView</item> 1023 <item name="gridViewStyle">@android:style/Widget.Holo.GridView</item> 1024 <item name="imageButtonStyle">@android:style/Widget.Holo.ImageButton</item> 1025 <item name="imageWellStyle">@android:style/Widget.Holo.ImageWell</item> 1026 <item name="listViewStyle">@android:style/Widget.Holo.ListView</item> 1027 <item name="listViewWhiteStyle">@android:style/Widget.Holo.ListView.White</item> 1028 <item name="popupWindowStyle">@android:style/Widget.Holo.PopupWindow</item> 1029 <item name="progressBarStyle">@android:style/Widget.Holo.ProgressBar</item> 1030 <item name="progressBarStyleHorizontal">@android:style/Widget.Holo.ProgressBar.Horizontal</item> 1031 <item name="progressBarStyleSmall">@android:style/Widget.Holo.ProgressBar.Small</item> 1032 <item name="progressBarStyleSmallTitle">@android:style/Widget.Holo.ProgressBar.Small.Title</item> 1033 <item name="progressBarStyleLarge">@android:style/Widget.Holo.ProgressBar.Large</item> 1034 <item name="progressBarStyleInverse">@android:style/Widget.Holo.ProgressBar.Inverse</item> 1035 <item name="progressBarStyleSmallInverse">@android:style/Widget.Holo.ProgressBar.Small.Inverse</item> 1036 <item name="progressBarStyleLargeInverse">@android:style/Widget.Holo.ProgressBar.Large.Inverse</item> 1037 <item name="seekBarStyle">@android:style/Widget.Holo.SeekBar</item> 1038 <item name="ratingBarStyle">@android:style/Widget.Holo.RatingBar</item> 1039 <item name="ratingBarStyleIndicator">@android:style/Widget.Holo.RatingBar.Indicator</item> 1040 <item name="ratingBarStyleSmall">@android:style/Widget.Holo.RatingBar.Small</item> 1041 <item name="radioButtonStyle">@android:style/Widget.Holo.CompoundButton.RadioButton</item> 1042 <item name="scrollViewStyle">@android:style/Widget.Holo.ScrollView</item> 1043 <item name="horizontalScrollViewStyle">@android:style/Widget.Holo.HorizontalScrollView</item> 1044 <item name="spinnerStyle">?android:attr/dropDownSpinnerStyle</item> 1045 <item name="dropDownSpinnerStyle">@android:style/Widget.Holo.Light.Spinner.DropDown</item> 1046 <item name="starStyle">@android:style/Widget.Holo.CompoundButton.Star</item> 1047 <item name="tabWidgetStyle">@android:style/Widget.Holo.TabWidget</item> 1048 <item name="textViewStyle">@android:style/Widget.Holo.TextView</item> 1049 <item name="webTextViewStyle">@android:style/Widget.Holo.WebTextView</item> 1050 <item name="webViewStyle">@android:style/Widget.Holo.WebView</item> 1051 <item name="dropDownItemStyle">@android:style/Widget.Holo.DropDownItem</item> 1052 <item name="spinnerDropDownItemStyle">@android:style/Widget.Holo.DropDownItem.Spinner</item> 1053 <item name="spinnerItemStyle">@android:style/Widget.Holo.TextView.SpinnerItem</item> 1054 <item name="dropDownHintAppearance">@android:style/TextAppearance.Holo.Widget.DropDownHint</item> 1055 <item name="keyboardViewStyle">@android:style/Widget.Holo.KeyboardView</item> 1056 <item name="quickContactBadgeStyleWindowSmall">@android:style/Widget.Holo.QuickContactBadge.WindowSmall</item> 1057 <item name="quickContactBadgeStyleWindowMedium">@android:style/Widget.Holo.QuickContactBadge.WindowMedium</item> 1058 <item name="quickContactBadgeStyleWindowLarge">@android:style/Widget.Holo.QuickContactBadge.WindowLarge</item> 1059 <item name="quickContactBadgeStyleSmallWindowSmall">@android:style/Widget.Holo.QuickContactBadgeSmall.WindowSmall</item> 1060 <item name="quickContactBadgeStyleSmallWindowMedium">@android:style/Widget.Holo.QuickContactBadgeSmall.WindowMedium</item> 1061 <item name="quickContactBadgeStyleSmallWindowLarge">@android:style/Widget.Holo.QuickContactBadgeSmall.WindowLarge</item> 1062 <item name="listPopupWindowStyle">@android:style/Widget.Holo.Light.ListPopupWindow</item> 1063 <item name="popupMenuStyle">@android:style/Widget.Holo.Light.PopupMenu</item> 1064 1065 <!-- Preference styles --> 1066 <item name="preferenceScreenStyle">@android:style/Preference.PreferenceScreen</item> 1067 <item name="preferenceCategoryStyle">@android:style/Preference.Category</item> 1068 <item name="preferenceStyle">@android:style/Preference</item> 1069 <item name="preferenceInformationStyle">@android:style/Preference.Information</item> 1070 <item name="checkBoxPreferenceStyle">@android:style/Preference.CheckBoxPreference</item> 1071 <item name="yesNoPreferenceStyle">@android:style/Preference.DialogPreference.YesNoPreference</item> 1072 <item name="dialogPreferenceStyle">@android:style/Preference.DialogPreference</item> 1073 <item name="editTextPreferenceStyle">@android:style/Preference.DialogPreference.EditTextPreference</item> 1074 <item name="ringtonePreferenceStyle">@android:style/Preference.RingtonePreference</item> 1075 <item name="preferenceLayoutChild">@android:layout/preference_child</item> 1076 1077 <!-- Search widget styles --> 1078 <item name="searchWidgetCorpusItemBackground">@android:color/search_widget_corpus_item_background</item> 1079 1080 <!-- Action bar styles --> 1081 <item name="actionDropDownStyle">@android:style/Widget.Holo.Light.Spinner.DropDown.ActionBar</item> 1082 <item name="actionButtonStyle">@android:style/Widget.Holo.Light.ActionButton</item> 1083 <item name="actionOverflowButtonStyle">@android:style/Widget.Holo.Light.ActionButton.Overflow</item> 1084 <item name="actionModeBackground">@android:drawable/cab_holo_light</item> 1085 <item name="actionModeCloseDrawable">@android:drawable/cab_ic_close_holo</item> 1086 <item name="actionBarTabStyle">@style/Widget.Holo.Light.ActionBarView_TabView</item> 1087 <item name="actionBarTabBarStyle">@style/Widget.Holo.Light.ActionBarView_TabBar</item> 1088 <item name="actionBarTabTextStyle">@style/Widget.Holo.Light.ActionBarView_TabText</item> 1089 <item name="actionModeStyle">@style/Widget.Holo.Light.ActionMode</item> 1090 <item name="actionModeCloseButtonStyle">@style/Widget.Holo.Light.ActionButton.CloseMode</item> 1091 <item name="actionBarStyle">@android:style/Widget.Holo.Light.ActionBar</item> 1092 <item name="actionBarSize">56dip</item> 1093 1094 <item name="dividerVertical">@drawable/divider_vertical_holo_light</item> 1095 <item name="buttonGroupStyle">@android:style/Widget.Holo.Light.ButtonGroup</item> 1096 1097 <!-- SearchView attributes --> 1098 <item name="searchDropdownBackground">@android:drawable/search_dropdown_light</item> 1099 </style> 1100 1101 <!-- Development legacy name; if you're using this, switch. --> 1102 <style name="Theme.Light.Holo" parent="Theme.Holo.Light"> 1103 </style> 1104 1105 <!-- Variant of the holographic (dark) theme with no action bar. --> 1106 <style name="Theme.Holo.NoActionBar"> 1107 <item name="android:windowActionBar">false</item> 1108 <item name="android:windowNoTitle">true</item> 1109 </style> 1110 1111 <!-- Variant of the holographic (dark) theme that has no title bar and fills 1112 the entire screen --> 1113 <style name="Theme.Holo.NoActionBar.Fullscreen"> 1114 <item name="android:windowFullscreen">true</item> 1115 <item name="android:windowContentOverlay">@null</item> 1116 </style> 1117 1118 <!-- Variant of the holographic light theme with no action bar --> 1119 <style name="Theme.Light.Holo.NoActionBar"> 1120 <item name="android:windowActionBar">false</item> 1121 <item name="android:windowNoTitle">true</item> 1122 </style> 1123 1124 <!-- Variant of the holographic light theme that has no title bar and fills 1125 the entire screen --> 1126 <style name="Theme.Light.Holo.NoActionBar.Fullscreen"> 1127 <item name="android:windowFullscreen">true</item> 1128 <item name="android:windowContentOverlay">@null</item> 1129 </style> 1130 1131 <!-- Dialog themes for Holo --> 1132 1133 <!-- Holo theme for dialog windows and activities, which is used by the 1134 {@link android.app.Dialog} class. This changes the window to be 1135 floating (not fill the entire screen), and puts a frame around its 1136 contents. You can set this theme on an activity if you would like to 1137 make an activity that looks like a Dialog. 1138 This is the default Dialog theme for applications targeting Honeycomb 1139 or newer. --> 1140 <style name="Theme.Holo.Dialog"> 1141 <item name="android:windowFrame">@null</item> 1142 <item name="android:windowTitleStyle">@android:style/DialogWindowTitle.Holo</item> 1143 <item name="android:windowBackground">@android:drawable/dialog_full_holo_dark</item> 1144 <item name="android:windowIsFloating">true</item> 1145 <item name="android:windowContentOverlay">@null</item> 1146 <item name="android:windowAnimationStyle">@android:style/Animation.Holo.Dialog</item> 1147 <item name="android:windowSoftInputMode">stateUnspecified|adjustPan</item> 1148 <item name="android:windowActionBar">false</item> 1149 <item name="android:windowActionModeOverlay">true</item> 1150 1151 <item name="android:colorBackgroundCacheHint">@null</item> 1152 1153 <item name="android:groupButtonBackground">?android:attr/selectableItemBackground</item> 1154 1155 <item name="textAppearance">@android:style/TextAppearance.Holo</item> 1156 <item name="textAppearanceInverse">@android:style/TextAppearance.Holo.Inverse</item> 1157 </style> 1158 1159 <!-- Variation of Theme.Holo.Dialog that does not include a frame (or background). 1160 The view hierarchy of the dialog is responsible for drawing all of 1161 its pixels. --> 1162 <style name="Theme.Holo.Dialog.NoFrame"> 1163 <item name="windowBackground">@android:color/transparent</item> 1164 <item name="android:windowFrame">@null</item> 1165 <item name="windowContentOverlay">@null</item> 1166 <item name="android:windowAnimationStyle">@null</item> 1167 <item name="android:backgroundDimEnabled">false</item> 1168 <item name="android:windowIsTranslucent">true</item> 1169 <item name="android:windowNoTitle">true</item> 1170 </style> 1171 1172 <!-- Holo theme for alert dialog windows, which is used by the 1173 {@link android.app.AlertDialog} class. This is basically a dialog 1174 but sets the background to empty so it can do two-tone backgrounds. 1175 For applications targeting Honeycomb or newer, this is the default 1176 AlertDialog theme. --> 1177 <style name="Theme.Holo.Dialog.Alert"> 1178 <item name="windowBackground">@android:color/transparent</item> 1179 <item name="windowTitleStyle">@android:style/DialogWindowTitle.Holo</item> 1180 <item name="windowContentOverlay">@null</item> 1181 </style> 1182 1183 <!-- Light holo dialog themes --> 1184 1185 <!-- Holo light theme for dialog windows and activities, which is used by the 1186 {@link android.app.Dialog} class. This changes the window to be 1187 floating (not fill the entire screen), and puts a frame around its 1188 contents. You can set this theme on an activity if you would like to 1189 make an activity that looks like a Dialog. 1190 This is the default Dialog theme for applications targeting Honeycomb 1191 or newer. --> 1192 <style name="Theme.Holo.Light.Dialog"> 1193 <item name="android:windowFrame">@null</item> 1194 <item name="android:windowTitleStyle">@android:style/DialogWindowTitle.Holo.Light</item> 1195 <item name="android:windowBackground">@android:drawable/dialog_full_holo_light</item> 1196 <item name="android:windowIsFloating">true</item> 1197 <item name="android:windowContentOverlay">@null</item> 1198 <item name="android:windowAnimationStyle">@android:style/Animation.Holo.Dialog</item> 1199 <item name="android:windowSoftInputMode">stateUnspecified|adjustPan</item> 1200 <item name="android:windowActionBar">false</item> 1201 1202 <item name="android:colorBackgroundCacheHint">@null</item> 1203 1204 <item name="android:groupButtonBackground">?android:attr/selectableItemBackground</item> 1205 1206 <item name="textAppearance">@android:style/TextAppearance.Holo.Light</item> 1207 <item name="textAppearanceInverse">@android:style/TextAppearance.Holo.Light.Inverse</item> 1208 </style> 1209 1210 <!-- Holo light theme for alert dialog windows, which is used by the 1211 {@link android.app.AlertDialog} class. This is basically a dialog 1212 but sets the background to empty so it can do two-tone backgrounds. 1213 For applications targeting Honeycomb or newer, this is the default 1214 AlertDialog theme. --> 1215 <style name="Theme.Holo.Light.Dialog.Alert"> 1216 <item name="windowBackground">@android:color/transparent</item> 1217 <item name="windowTitleStyle">@android:style/DialogWindowTitle.Holo.Light</item> 1218 <item name="windowContentOverlay">@null</item> 1219 </style> 1220 1221</resources> 1222