themes.xml revision 0b2d306e7000f4c0c6ad4e00d494bb401d8a9fc2
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
61        <item name="textAppearanceLarge">@android:style/TextAppearance.Large</item>
62        <item name="textAppearanceMedium">@android:style/TextAppearance.Medium</item>
63        <item name="textAppearanceSmall">@android:style/TextAppearance.Small</item>
64        <item name="textAppearanceLargeInverse">@android:style/TextAppearance.Large.Inverse</item>
65        <item name="textAppearanceMediumInverse">@android:style/TextAppearance.Medium.Inverse</item>
66        <item name="textAppearanceSmallInverse">@android:style/TextAppearance.Small.Inverse</item>
67        <item name="textAppearanceSearchResultTitle">@android:style/TextAppearance.SearchResult.Title</item>
68        <item name="textAppearanceSearchResultSubtitle">@android:style/TextAppearance.SearchResult.Subtitle</item>
69        
70        <item name="textAppearanceButton">@android:style/TextAppearance.Widget.Button</item>
71        
72        <item name="editTextColor">?android:attr/textColorPrimaryInverse</item>
73        <item name="editTextBackground">@android:drawable/edit_text</item>
74        
75        <item name="candidatesTextStyleSpans">@android:string/candidates_style</item>
76        
77        <item name="textCheckMark">@android:drawable/indicator_check_mark_dark</item>
78        <item name="textCheckMarkInverse">@android:drawable/indicator_check_mark_light</item>
79
80        <item name="textAppearanceLargePopupMenu">@android:style/TextAppearance.Widget.PopupMenu.Large</item>
81        <item name="textAppearanceSmallPopupMenu">@android:style/TextAppearance.Widget.PopupMenu.Small</item>
82
83        <!-- Button styles -->
84        <item name="buttonStyle">@android:style/Widget.Button</item>
85
86        <item name="buttonStyleSmall">@android:style/Widget.Button.Small</item>
87        <item name="buttonStyleInset">@android:style/Widget.Button.Inset</item>
88
89        <item name="buttonStyleToggle">@android:style/Widget.Button.Toggle</item>
90
91        <!-- List attributes -->
92        <item name="listPreferredItemHeight">64dip</item>
93        <!-- @hide -->
94        <item name="searchResultListItemHeight">58dip</item>
95        <item name="listDivider">@drawable/divider_horizontal_dark</item>
96        <item name="listSeparatorTextViewStyle">@android:style/Widget.TextView.ListSeparator</item>   
97
98        <item name="listChoiceIndicatorSingle">@android:drawable/btn_radio</item>
99        <item name="listChoiceIndicatorMultiple">@android:drawable/btn_check</item>
100
101        <item name="listChoiceBackgroundIndicator">@android:drawable/list_selected_background</item>
102
103        <item name="activatedBackgroundIndicator">@android:drawable/activated_background</item>
104
105        <item name="expandableListPreferredItemPaddingLeft">40dip</item>
106        <item name="expandableListPreferredChildPaddingLeft">
107                ?android:attr/expandableListPreferredItemPaddingLeft</item>
108
109        <item name="expandableListPreferredItemIndicatorLeft">3dip</item>
110        <item name="expandableListPreferredItemIndicatorRight">33dip</item>
111        <item name="expandableListPreferredChildIndicatorLeft">
112                ?android:attr/expandableListPreferredItemIndicatorLeft</item>
113        <item name="expandableListPreferredChildIndicatorRight">
114                ?android:attr/expandableListPreferredItemIndicatorRight</item>
115
116        <!-- Gallery attributes -->
117        <item name="galleryItemBackground">@android:drawable/gallery_item_background</item>
118        
119        <!-- Window attributes -->
120        <item name="windowBackground">@android:drawable/screen_background_dark</item>
121        <item name="windowFrame">@null</item>
122        <item name="windowNoTitle">false</item>
123        <item name="windowFullscreen">false</item>
124        <item name="windowIsFloating">false</item>
125        <item name="windowContentOverlay">@android:drawable/title_bar_shadow</item>
126        <item name="windowShowWallpaper">false</item>
127        <item name="windowTitleStyle">@android:style/WindowTitle</item>
128        <item name="windowTitleSize">25dip</item>
129        <item name="windowTitleBackgroundStyle">@android:style/WindowTitleBackground</item>
130        <item name="android:windowAnimationStyle">@android:style/Animation.Activity</item>
131        <item name="android:windowSoftInputMode">stateUnspecified|adjustUnspecified</item>
132        <item name="windowActionBar">false</item>
133        <item name="windowActionModeOverlay">false</item>
134
135        <!-- Dialog attributes -->
136        <item name="alertDialogStyle">@android:style/AlertDialog</item>
137        
138        <!-- Panel attributes -->
139        <item name="panelBackground">@android:drawable/menu_background</item>
140        <item name="panelFullBackground">@android:drawable/menu_background_fill_parent_width</item>
141        <!-- These three attributes do not seems to be used by the framework. Declared public though -->
142        <item name="panelColorBackground">#000</item>
143        <item name="panelColorForeground">?android:attr/textColorPrimary</item>
144        <item name="panelTextAppearance">?android:attr/textAppearance</item>
145
146        <!-- Scrollbar attributes -->
147        <item name="scrollbarFadeDuration">250</item>
148        <item name="scrollbarDefaultDelayBeforeFade">300</item> 
149        <item name="scrollbarSize">10dip</item>
150        <item name="scrollbarThumbHorizontal">@android:drawable/scrollbar_handle_horizontal</item>
151        <item name="scrollbarThumbVertical">@android:drawable/scrollbar_handle_vertical</item>
152        <item name="scrollbarTrackHorizontal">@null</item>
153        <item name="scrollbarTrackVertical">@null</item>
154
155        <!-- Widget styles -->
156        <item name="absListViewStyle">@android:style/Widget.AbsListView</item>
157        <item name="autoCompleteTextViewStyle">@android:style/Widget.AutoCompleteTextView</item>        
158        <item name="checkboxStyle">@android:style/Widget.CompoundButton.CheckBox</item>
159        <item name="dropDownListViewStyle">@android:style/Widget.ListView.DropDown</item>
160        <item name="editTextStyle">@android:style/Widget.EditText</item>
161        <item name="expandableListViewStyle">@android:style/Widget.ExpandableListView</item>
162        <item name="expandableListViewWhiteStyle">@android:style/Widget.ExpandableListView.White</item>
163        <item name="galleryStyle">@android:style/Widget.Gallery</item>
164        <item name="gestureOverlayViewStyle">@android:style/Widget.GestureOverlayView</item>
165        <item name="gridViewStyle">@android:style/Widget.GridView</item>
166        <item name="imageButtonStyle">@android:style/Widget.ImageButton</item>
167        <item name="imageWellStyle">@android:style/Widget.ImageWell</item>
168        <item name="listViewStyle">@android:style/Widget.ListView</item>
169        <item name="listViewWhiteStyle">@android:style/Widget.ListView.White</item>
170        <item name="popupWindowStyle">@android:style/Widget.PopupWindow</item>
171        <item name="progressBarStyle">@android:style/Widget.ProgressBar</item>
172        <item name="progressBarStyleHorizontal">@android:style/Widget.ProgressBar.Horizontal</item>
173        <item name="progressBarStyleSmall">@android:style/Widget.ProgressBar.Small</item>
174        <item name="progressBarStyleSmallTitle">@android:style/Widget.ProgressBar.Small.Title</item>
175        <item name="progressBarStyleLarge">@android:style/Widget.ProgressBar.Large</item>
176        <item name="progressBarStyleInverse">@android:style/Widget.ProgressBar.Inverse</item>
177        <item name="progressBarStyleSmallInverse">@android:style/Widget.ProgressBar.Small.Inverse</item>
178        <item name="progressBarStyleLargeInverse">@android:style/Widget.ProgressBar.Large.Inverse</item>
179        <item name="seekBarStyle">@android:style/Widget.SeekBar</item>
180        <item name="ratingBarStyle">@android:style/Widget.RatingBar</item>
181        <item name="ratingBarStyleIndicator">@android:style/Widget.RatingBar.Indicator</item>
182        <item name="ratingBarStyleSmall">@android:style/Widget.RatingBar.Small</item>
183        <item name="radioButtonStyle">@android:style/Widget.CompoundButton.RadioButton</item>
184        <item name="scrollViewStyle">@android:style/Widget.ScrollView</item>
185        <item name="horizontalScrollViewStyle">@android:style/Widget.HorizontalScrollView</item>
186        <item name="spinnerStyle">@android:style/Widget.Spinner</item>
187        <item name="dropDownSpinnerStyle">@android:style/Widget.Spinner.DropDown</item>
188        <item name="starStyle">@android:style/Widget.CompoundButton.Star</item>
189        <item name="tabWidgetStyle">@android:style/Widget.TabWidget</item>
190        <item name="textViewStyle">@android:style/Widget.TextView</item>
191        <item name="webTextViewStyle">@android:style/Widget.WebTextView</item>
192        <item name="webViewStyle">@android:style/Widget.WebView</item>
193        <item name="dropDownItemStyle">@android:style/Widget.DropDownItem</item>
194        <item name="spinnerDropDownItemStyle">@android:style/Widget.DropDownItem.Spinner</item>
195        <item name="spinnerItemStyle">@android:style/Widget.TextView.SpinnerItem</item>
196        <item name="dropDownHintAppearance">@android:style/TextAppearance.Widget.DropDownHint</item>
197        <item name="keyboardViewStyle">@android:style/Widget.KeyboardView</item>
198        <item name="quickContactBadgeStyleWindowSmall">@android:style/Widget.QuickContactBadge.WindowSmall</item>
199        <item name="quickContactBadgeStyleWindowMedium">@android:style/Widget.QuickContactBadge.WindowMedium</item>
200        <item name="quickContactBadgeStyleWindowLarge">@android:style/Widget.QuickContactBadge.WindowLarge</item>
201        <item name="quickContactBadgeStyleSmallWindowSmall">@android:style/Widget.QuickContactBadgeSmall.WindowSmall</item>
202        <item name="quickContactBadgeStyleSmallWindowMedium">@android:style/Widget.QuickContactBadgeSmall.WindowMedium</item>
203        <item name="quickContactBadgeStyleSmallWindowLarge">@android:style/Widget.QuickContactBadgeSmall.WindowLarge</item>
204        <item name="listPopupWindowStyle">@android:style/Widget.ListPopupWindow</item>
205        <item name="popupMenuStyle">@android:style/Widget.PopupMenu</item>
206        
207        <!-- Preference styles -->
208        <item name="preferenceScreenStyle">@android:style/Preference.PreferenceScreen</item>
209        <item name="preferenceCategoryStyle">@android:style/Preference.Category</item>
210        <item name="preferenceStyle">@android:style/Preference</item>
211        <item name="preferenceInformationStyle">@android:style/Preference.Information</item>
212        <item name="checkBoxPreferenceStyle">@android:style/Preference.CheckBoxPreference</item>
213        <item name="yesNoPreferenceStyle">@android:style/Preference.DialogPreference.YesNoPreference</item>
214        <item name="dialogPreferenceStyle">@android:style/Preference.DialogPreference</item>
215        <item name="editTextPreferenceStyle">@android:style/Preference.DialogPreference.EditTextPreference</item>
216        <item name="ringtonePreferenceStyle">@android:style/Preference.RingtonePreference</item>
217        <item name="preferenceLayoutChild">@android:layout/preference_child</item>
218
219        <!-- Search widget styles -->
220        <item name="searchWidgetCorpusItemBackground">@android:color/search_widget_corpus_item_background</item>
221
222        <!-- Action bar styles -->
223        <item name="actionDropDownStyle">@android:style/Widget.Spinner.DropDown</item>
224        <item name="actionButtonStyle">@android:style/Widget.ActionButton</item>
225        <item name="actionOverflowButtonStyle">@android:style/Widget.ActionButton.Overflow</item>
226        <item name="actionButtonPadding">12dip</item>
227        <item name="actionModeBackground">@android:drawable/action_bar_context_background</item>
228        <item name="actionModeCloseDrawable">@android:drawable/ic_menu_close_clear_cancel</item>
229        <item name="actionBarTabStyle">@style/Widget.ActionBarView_TabView</item>
230        <item name="actionBarTabBarStyle">@style/Widget.ActionBarView_TabBar</item>
231        <item name="actionBarTabTextStyle">@style/Widget.ActionBarView_TabText</item>
232        <item name="actionModeStyle">@style/Widget.ActionMode</item>
233        <item name="actionModeCloseButtonStyle">@style/Widget.ActionButton.CloseMode</item>
234        <item name="actionBarStyle">@android:style/Widget.ActionBar</item>
235        <item name="actionBarSize">50dip</item>
236    </style>
237    
238    <!-- Variant of the default (dark) theme with no title bar -->
239    <style name="Theme.NoTitleBar">
240        <item name="android:windowNoTitle">true</item>
241    </style>
242    
243    <!-- Variant of the default (dark) theme that has no title bar and
244         fills the entire screen -->
245    <style name="Theme.NoTitleBar.Fullscreen">
246        <item name="android:windowFullscreen">true</item>
247        <item name="android:windowContentOverlay">@null</item>
248    </style>
249    
250    <!-- Theme for a light background with dark text on top.  Set your activity
251         to this theme if you would like such an appearance.  As with the
252         default theme, you should try to assume little more than that the
253         background will be a light color. -->
254    <style name="Theme.Light">
255        <item name="windowBackground">@drawable/screen_background_light</item>
256        <item name="colorBackground">@android:color/background_light</item>
257        <item name="colorForeground">@color/bright_foreground_light</item>
258        <item name="colorForegroundInverse">@android:color/bright_foreground_light_inverse</item>
259        
260        <item name="textColorPrimary">@android:color/primary_text_light</item>
261        <item name="textColorSecondary">@android:color/secondary_text_light</item>
262        <item name="textColorTertiary">@android:color/tertiary_text_light</item>
263        <item name="textColorPrimaryInverse">@android:color/primary_text_dark</item>
264        <item name="textColorSecondaryInverse">@android:color/secondary_text_dark</item>
265        <item name="textColorTertiaryInverse">@android:color/tertiary_text_dark</item>
266        <item name="textColorPrimaryDisableOnly">@android:color/primary_text_light_disable_only</item>
267        <item name="textColorPrimaryInverseDisableOnly">@android:color/primary_text_dark_disable_only</item>
268        <item name="textColorPrimaryNoDisable">@android:color/primary_text_light_nodisable</item>
269        <item name="textColorSecondaryNoDisable">@android:color/secondary_text_light_nodisable</item>
270        <item name="textColorPrimaryInverseNoDisable">@android:color/primary_text_dark_nodisable</item>
271        <item name="textColorSecondaryInverseNoDisable">@android:color/secondary_text_dark_nodisable</item>
272        <item name="textColorHint">@android:color/hint_foreground_light</item>
273        <item name="textColorHintInverse">@android:color/hint_foreground_dark</item>        
274        <item name="textColorHighlight">@android:color/highlighted_text_light</item>
275        <item name="textColorHighlightInverse">@android:color/highlighted_text_dark</item>
276        <item name="textColorLink">@android:color/link_text_light</item>
277        <item name="textColorLinkInverse">@android:color/link_text_dark</item>
278        
279        <item name="editTextColor">?android:attr/textColorPrimary</item>
280        <item name="listChoiceBackgroundIndicator">@android:drawable/list_selected_background_light</item>
281
282        <item name="activatedBackgroundIndicator">@android:drawable/activated_background_light</item>
283
284        <item name="popupWindowStyle">@android:style/Widget.PopupWindow</item>
285        
286        <item name="textCheckMark">@android:drawable/indicator_check_mark_light</item>
287        <item name="textCheckMarkInverse">@android:drawable/indicator_check_mark_dark</item>
288
289        <item name="gestureOverlayViewStyle">@android:style/Widget.GestureOverlayView.White</item>
290        <item name="expandableListViewStyle">@android:style/Widget.ExpandableListView.White</item>
291        <item name="listViewStyle">@android:style/Widget.ListView.White</item>
292        <item name="listDivider">@drawable/divider_horizontal_bright</item>
293        <item name="listSeparatorTextViewStyle">@android:style/Widget.TextView.ListSeparator.White</item>
294
295        <item name="progressBarStyle">@android:style/Widget.ProgressBar.Inverse</item>
296        <item name="progressBarStyleSmall">@android:style/Widget.ProgressBar.Small.Inverse</item>
297        <item name="progressBarStyleLarge">@android:style/Widget.ProgressBar.Large.Inverse</item>
298        <item name="progressBarStyleInverse">@android:style/Widget.ProgressBar</item>
299        <item name="progressBarStyleSmallInverse">@android:style/Widget.ProgressBar.Small</item>
300        <item name="progressBarStyleLargeInverse">@android:style/Widget.ProgressBar.Large</item>
301    </style>
302    
303    <!-- Variant of the light theme with no title bar -->
304    <style name="Theme.Light.NoTitleBar">
305        <item name="android:windowNoTitle">true</item>
306    </style>
307
308    <!-- Variant of the light theme that has no title bar and
309         fills the entire screen -->
310    <style name="Theme.Light.NoTitleBar.Fullscreen">
311        <item name="android:windowFullscreen">true</item>
312        <item name="android:windowContentOverlay">@null</item>
313    </style>
314    
315    <!-- Special variation on the default theme that ensures the background is
316         completely black.  This is useful for things like image viewers and
317         media players.   If you want the normal (dark background) theme
318         do <em>not</em> use this, use {@link #Theme}. -->
319    <style name="Theme.Black">
320        <item name="android:windowBackground">@android:color/black</item>
321        <item name="android:colorBackground">@android:color/black</item>
322    </style>
323    
324    <!-- Variant of the black theme with no title bar -->
325    <style name="Theme.Black.NoTitleBar">
326        <item name="android:windowNoTitle">true</item>
327    </style>
328
329    <!-- Variant of the black theme that has no title bar and
330         fills the entire screen -->
331    <style name="Theme.Black.NoTitleBar.Fullscreen">
332        <item name="android:windowFullscreen">true</item>
333        <item name="android:windowContentOverlay">@null</item>
334    </style>
335    
336    <!-- Default theme for windows that want to have the user's selected
337    	 wallpaper appear behind them.  -->
338    <style name="Theme.Wallpaper">
339        <item name="android:windowBackground">@android:color/transparent</item>
340        <item name="android:colorBackgroundCacheHint">@null</item>
341        <item name="android:windowShowWallpaper">true</item>
342    </style>
343
344    <!-- Variant of the translucent theme with no title bar -->
345    <style name="Theme.Wallpaper.NoTitleBar">
346        <item name="android:windowNoTitle">true</item>
347    </style>
348
349    <!-- Variant of the translucent theme that has no title bar and
350         fills the entire screen -->
351    <style name="Theme.Wallpaper.NoTitleBar.Fullscreen">
352        <item name="android:windowFullscreen">true</item>
353        <item name="android:windowContentOverlay">@null</item>
354    </style>
355
356    <!-- Theme for a wallpaper's setting activity that is designed to be on
357         top of a dark background. -->
358    <style name="Theme.WallpaperSettings">
359        <item name="android:windowBackground">@android:drawable/screen_background_dark_transparent</item>
360        <item name="android:colorBackgroundCacheHint">@null</item>
361        <item name="android:windowIsTranslucent">true</item>
362        <item name="android:windowAnimationStyle">@android:style/Animation.Translucent</item>
363    </style>
364
365    <!-- Theme for a wallpaper's setting activity that is designed to be on
366         top of a light background. -->
367    <style name="Theme.Light.WallpaperSettings">
368        <item name="android:windowBackground">@android:drawable/screen_background_light_transparent</item>
369        <item name="android:colorBackgroundCacheHint">@null</item>
370        <item name="android:windowIsTranslucent">true</item>
371        <item name="android:windowAnimationStyle">@android:style/Animation.Translucent</item>
372    </style>
373
374    <!-- Style to apply on top of a wallpaper settings theme when it is being
375         shown on top of the real wallpaper -->
376    <style name="ActiveWallpaperSettings">
377    </style>
378    
379    <!-- Style to apply on top of a wallpaper settings theme when it is being
380         shown on top of the real wallpaper -->
381    <style name="PreviewWallpaperSettings">
382    </style>
383    
384    <!-- Default theme for translucent activities, that is windows that allow you
385         to see through them to the windows behind.  This sets up the translucent
386         flag and appropriate animations for your windows.  -->
387    <style name="Theme.Translucent">
388        <item name="android:windowBackground">@android:color/transparent</item>
389        <item name="android:colorBackgroundCacheHint">@null</item>
390        <item name="android:windowIsTranslucent">true</item>
391        <!-- Note that we use the base animation style here (that is no
392             animations) because we really have no idea how this kind of
393             activity will be used. -->
394        <item name="android:windowAnimationStyle">@android:style/Animation</item>
395    </style>
396
397    <!-- Variant of the translucent theme with no title bar -->
398    <style name="Theme.Translucent.NoTitleBar">
399        <item name="android:windowNoTitle">true</item>
400        <item name="android:windowContentOverlay">@null</item>
401    </style>
402
403    <!-- Variant of the translucent theme that has no title bar and
404         fills the entire screen -->
405    <style name="Theme.Translucent.NoTitleBar.Fullscreen">
406        <item name="android:windowFullscreen">true</item>
407    </style>
408    
409    <!-- Default theme for activities that don't actually display a UI; that
410         is, they finish themselves before being resumed.  -->
411    <style name="Theme.NoDisplay">
412        <item name="android:windowBackground">@null</item>
413        <item name="android:windowContentOverlay">@null</item>
414        <item name="android:windowIsTranslucent">true</item>
415        <item name="android:windowAnimationStyle">@null</item>
416        <item name="android:windowDisablePreview">true</item>
417        <item name="android:windowNoDisplay">true</item>
418    </style>
419
420    <!-- Default theme for dialog windows and activities, which is used by the
421         {@link android.app.Dialog} class.  This changes the window to be
422         floating (not fill the entire screen), and puts a frame around its
423         contents.  You can set this theme on an activity if you would like to
424         make an activity that looks like a Dialog. -->
425    <style name="Theme.Dialog">
426        <item name="android:windowFrame">@null</item>
427        <item name="android:windowTitleStyle">@android:style/DialogWindowTitle</item>
428        <item name="android:windowBackground">@android:drawable/panel_background</item>
429        <item name="android:windowIsFloating">true</item>
430        <item name="android:windowContentOverlay">@null</item>
431        <item name="android:windowAnimationStyle">@android:style/Animation.Dialog</item>
432        <item name="android:windowSoftInputMode">stateUnspecified|adjustPan</item>
433
434        <item name="android:colorBackgroundCacheHint">@null</item>
435        
436        <item name="textAppearance">@android:style/TextAppearance</item>
437        <item name="textAppearanceInverse">@android:style/TextAppearance.Inverse</item>
438
439        <item name="textColorPrimary">@android:color/primary_text_dark</item>
440        <item name="textColorSecondary">@android:color/secondary_text_dark</item>
441        <item name="textColorTertiary">@android:color/tertiary_text_dark</item>
442        <item name="textColorPrimaryInverse">@android:color/primary_text_light</item>
443        <item name="textColorSecondaryInverse">@android:color/secondary_text_light</item>
444        <item name="textColorTertiaryInverse">@android:color/tertiary_text_light</item>
445        <item name="textColorPrimaryDisableOnly">@android:color/primary_text_dark_disable_only</item>
446        <item name="textColorPrimaryInverseDisableOnly">@android:color/primary_text_light_disable_only</item>
447        <item name="textColorPrimaryNoDisable">@android:color/primary_text_dark_nodisable</item>
448        <item name="textColorSecondaryNoDisable">@android:color/secondary_text_dark_nodisable</item>
449        <item name="textColorPrimaryInverseNoDisable">@android:color/primary_text_light_nodisable</item>
450        <item name="textColorSecondaryInverseNoDisable">@android:color/secondary_text_light_nodisable</item>
451        <item name="textColorHint">@android:color/hint_foreground_dark</item>
452        <item name="textColorHintInverse">@android:color/hint_foreground_light</item>
453        <item name="textColorSearchUrl">@android:color/search_url_text</item>
454
455        <item name="textAppearanceLarge">@android:style/TextAppearance.Large</item>
456        <item name="textAppearanceMedium">@android:style/TextAppearance.Medium</item>
457        <item name="textAppearanceSmall">@android:style/TextAppearance.Small</item>
458        <item name="textAppearanceLargeInverse">@android:style/TextAppearance.Large.Inverse</item>
459        <item name="textAppearanceMediumInverse">@android:style/TextAppearance.Medium.Inverse</item>
460        <item name="textAppearanceSmallInverse">@android:style/TextAppearance.Small.Inverse</item>
461    </style>
462
463    <!-- Variation of Theme.Dialog that does not include a frame (or background).
464         The view hierarchy of the dialog is responsible for drawing all of
465         its pixels. -->
466    <style name="Theme.Dialog.NoFrame">
467        <item name="windowBackground">@android:color/transparent</item>
468        <item name="android:windowFrame">@null</item>
469        <item name="windowContentOverlay">@null</item>
470        <item name="android:windowAnimationStyle">@null</item>
471        <item name="android:backgroundDimEnabled">false</item>
472        <item name="android:windowIsTranslucent">true</item>
473        <item name="android:windowNoTitle">true</item>
474    </style>
475
476    <!-- Default theme for alert dialog windows, which is used by the
477         {@link android.app.AlertDialog} class.  This is basically a dialog
478         but sets the background to empty so it can do two-tone backgrounds. -->
479    <style name="Theme.Dialog.Alert">
480        <item name="windowBackground">@android:color/transparent</item>
481        <item name="windowTitleStyle">@android:style/DialogWindowTitle</item>
482        <item name="windowContentOverlay">@null</item>
483    </style>
484    
485    <!-- Default dark theme for panel windows.  This removes all extraneous
486         window decorations, so you basically have an empty rectangle in which
487         to place your content.  It makes the window floating, with a transparent
488         background, and turns off dimming behind the window. -->
489    <style name="Theme.Panel">
490        <item name="android:windowBackground">@android:color/transparent</item>
491        <item name="android:colorBackgroundCacheHint">@null</item>
492        <item name="android:windowFrame">@null</item>
493        <item name="android:windowContentOverlay">@null</item>
494        <item name="android:windowIsFloating">true</item>
495        <item name="android:backgroundDimEnabled">false</item>
496        <item name="android:windowIsTranslucent">true</item>
497        <item name="android:windowNoTitle">true</item>
498    </style>
499
500    <!-- Default light theme for panel windows.  This removes all extraneous
501         window decorations, so you basically have an empty rectangle in which
502         to place your content.  It makes the window floating, with a transparent
503         background, and turns off dimming behind the window. -->
504    <style name="Theme.Light.Panel">
505        <item name="android:windowBackground">@android:color/transparent</item>
506        <item name="android:colorBackgroundCacheHint">@null</item>
507        <item name="android:windowFrame">@null</item>
508        <item name="android:windowContentOverlay">@null</item>
509        <item name="android:windowIsFloating">true</item>
510        <item name="android:backgroundDimEnabled">false</item>
511        <item name="android:windowIsTranslucent">true</item>
512        <item name="android:windowNoTitle">true</item>
513    </style>
514
515    <!-- Default theme for input methods, which is used by the
516         {@link android.inputmethodservice.InputMethodService} class.
517         this inherits from Theme.NoTitleBar, but makes the background
518         transparent, the window floating and translucent, and ensures that
519         it does not dim the UI behind it.  This also configures the window
520         with the standard IME animations and visuals. -->
521    <style name="Theme.InputMethod" parent="Theme.Panel">
522        <item name="android:windowAnimationStyle">@android:style/Animation.InputMethod</item>
523        <item name="android:imeFullscreenBackground">@android:drawable/input_method_fullscreen_background</item>
524        <item name="android:imeExtractEnterAnimation">@android:anim/input_method_extract_enter</item>
525        <item name="android:imeExtractExitAnimation">@android:anim/input_method_extract_exit</item>
526    </style>
527
528    <!-- Theme for the search input bar. -->
529    <style name="Theme.SearchBar" parent="Theme.Panel">
530        <item name="windowContentOverlay">@null</item>        
531    </style>
532    
533    <!-- Theme for the search input bar when doing global search. The only
534         difference from non-global search is that we do not dim the background. -->
535    <style name="Theme.GlobalSearchBar" parent="Theme.Panel">
536        <item name="windowContentOverlay">@null</item>
537    </style>
538
539    <!-- Menu Themes -->
540    <eat-comment />
541
542    <style name="Theme.IconMenu">
543        <!-- Menu/item attributes -->
544        <item name="android:itemTextAppearance">@android:style/TextAppearance.Widget.IconMenu.Item</item>
545        <item name="android:itemBackground">@android:drawable/menu_selector</item>
546        <item name="android:itemIconDisabledAlpha">?android:attr/disabledAlpha</item>
547        <item name="android:horizontalDivider">@android:drawable/divider_horizontal_dark</item>
548        <item name="android:verticalDivider">@android:drawable/divider_vertical_dark</item>
549        <item name="android:windowAnimationStyle">@android:style/Animation.OptionsPanel</item>
550        <item name="android:moreIcon">@android:drawable/ic_menu_more</item>
551        <item name="android:background">@null</item>
552    </style>
553
554    <style name="Theme.ExpandedMenu">
555        <!-- Menu/item attributes -->
556        <item name="android:itemTextAppearance">?android:attr/textAppearanceLarge</item>
557        <item name="android:listViewStyle">@android:style/Widget.ListView.Menu</item>
558        <item name="android:windowAnimationStyle">@android:style/Animation.OptionsPanel</item>
559        <item name="android:background">@null</item>
560    </style>
561
562    <!-- @hide -->
563    <style name="Theme.Dialog.AppError">
564        <item name="windowFrame">@null</item>
565        <item name="windowTitleStyle">@android:style/DialogWindowTitle</item>
566        <item name="windowBackground">@android:color/transparent</item>
567        <item name="windowIsFloating">true</item>
568        <item name="windowContentOverlay">@null</item>
569        <item name="textAppearance">@style/TextAppearance.Theme.Dialog.AppError</item>
570    </style>
571    
572    <!-- Special theme for the recent apps dialog, to allow customization
573         with overlays. -->
574    <style name="Theme.Dialog.RecentApplications">
575        <item name="windowFrame">@null</item>
576        <item name="windowBackground">@android:color/transparent</item>
577        <item name="android:windowAnimationStyle">@android:style/Animation.RecentApplications</item>
578        <item name="android:textColor">@android:color/secondary_text_nofocus</item>
579    </style>
580
581    <!-- Default theme for window that looks like a toast. -->
582    <style name="Theme.Toast" parent="@android:style/Theme.Dialog">
583        <item name="android:windowBackground">@android:drawable/toast_frame</item>
584        <item name="android:windowAnimationStyle">@android:style/Animation.Toast</item>
585        <item name="android:backgroundDimEnabled">false</item>
586    </style>
587
588    <!-- Default theme with an Action Bar. -->
589    <style name="Theme.WithActionBar">
590        <item name="android:windowActionBar">true</item>
591    </style>
592
593    <!-- No title bar, but Action Mode bars will overlay application content
594         instead of pushing it down to make room. -->
595    <style name="Theme.NoTitleBar.OverlayActionModes">
596        <item name="android:windowActionModeOverlay">true</item>
597    </style>
598    
599    <!-- New Honeycomb holographic theme. Dark version.  The widgets in the
600         holographic theme are translucent on their brackground, so applications
601         must ensure that any background they use with this theme is itself
602         dark; otherwise, it will be difficult to see the widgets.  The new
603         UI style also includes a full action bar by default. -->
604    <style name="Theme.Holo">
605        <item name="editTextBackground">@android:drawable/edit_text_holo_dark</item>
606        <item name="editTextColor">?android:attr/textColorPrimary</item>
607        <item name="android:windowActionBar">true</item>
608        <item name="android:spinnerStyle">?android:attr/dropDownSpinnerStyle</item>
609        <item name="listChoiceIndicatorSingle">@android:drawable/btn_radio_holo_dark</item>
610        <item name="listChoiceIndicatorMultiple">@android:drawable/btn_check_holo_dark</item>
611    </style>
612
613    <!-- New Honeycomb holographic theme. Light version.  The widgets in the
614         holographic theme are translucent on their brackground, so applications
615         must ensure that any background they use with this theme is itself
616         light; otherwise, it will be difficult to see the widgets.  The new
617         UI style also includes a full action bar by default. -->
618    <style name="Theme.Light.Holo">
619        <item name="editTextBackground">@android:drawable/edit_text_holo_light</item>
620        <item name="android:windowActionBar">true</item>
621        <item name="android:spinnerStyle">?android:attr/dropDownSpinnerStyle</item>
622        <item name="listChoiceIndicatorSingle">@android:drawable/btn_radio_holo_light</item>
623        <item name="listChoiceIndicatorMultiple">@android:drawable/btn_check_holo_light</item>
624    </style>
625        
626    <!-- Variant of the holographic (dark) theme with no action bar. -->
627    <style name="Theme.Holo.NoActionBar">
628        <item name="android:windowActionBar">false</item>
629        <item name="android:windowNoTitle">true</item>
630    </style>
631    
632    <!-- Variant of the holographic (dark) theme that has no title bar and fills
633         the entire screen -->
634    <style name="Theme.Holo.NoActionBar.Fullscreen">
635        <item name="android:windowFullscreen">true</item>
636        <item name="android:windowContentOverlay">@null</item>
637    </style>
638
639    <!-- Variant of the holographic light theme with no action bar -->
640    <style name="Theme.Light.Holo.NoActionBar">
641        <item name="android:windowActionBar">false</item>
642        <item name="android:windowNoTitle">true</item>
643    </style>
644
645    <!-- Variant of the holographic light theme that has no title bar and fills
646         the entire screen -->
647    <style name="Theme.Light.Holo.NoActionBar.Fullscreen">
648        <item name="android:windowFullscreen">true</item>
649        <item name="android:windowContentOverlay">@null</item>
650    </style>
651 
652</resources>
653