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