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