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