android:themes.xml


   1 <?xml version="1.0" encoding="utf-8"?>
2 <!-- Copyright (C) 2006 The Android Open Source Project
3 Licensed under the Apache License, Version 2.0 (the "License");
4 you may not use this file except in compliance with the License.
5 You may obtain a copy of the License at
6 http://www.apache.org/licenses/LICENSE-2.0
7 Unless required by applicable law or agreed to in writing, software
8 distributed under the License is distributed on an "AS IS" BASIS,
9 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
10 See the License for the specific language governing permissions and
11 limitations under the License.
12 -->
13 <!--
14 ===============================================================
15 PLEASE READ
16 ===============================================================
17 The Holo themes must not be modified in order to pass CTS.
18 Many related themes and styles depend on other values defined in this file.
19 If you would like to provide custom themes and styles for your device,
20 please see themes_device_defaults.xml.
21 ===============================================================
22 PLEASE READ
23 ===============================================================
24 -->
25 <resources>
26 <!-- The default theme for apps on API level 10 and lower. This is the theme used for
27 activities that have not explicitly set their own theme.
28 <p>You can count on this being a dark
29 background with light text on top, but should try to make no
30 other assumptions about its appearance. In particular, the text
31 inside of widgets using this theme may be completely different,
32 with the widget container being a light color and the text on top
33 of it a dark color.
34 <p>If you‘re developing for API level 11 and higher, you should instead use {@link
35 #Theme_Holo} or {@link #Theme_DeviceDefault}.</p>
36 -->
37 <style name="Theme">
38 <item name="colorForeground">@android:color/bright_foreground_dark</item>
39 <item name="colorForegroundInverse">@android:color/bright_foreground_dark_inverse</item>
40 <item name="colorBackground">@android:color/background_dark</item>
41 <item name="colorBackgroundCacheHint">?android:attr/colorBackground</item>
42 <item name="colorPressedHighlight">@color/legacy_pressed_highlight</item>
43 <item name="colorLongPressedHighlight">@color/legacy_long_pressed_highlight</item>
44 <item name="colorFocusedHighlight">@color/legacy_selected_highlight</item>
45 <item name="colorMultiSelectHighlight">@color/legacy_selected_highlight</item>
46 <item name="colorActivatedHighlight">@color/legacy_selected_highlight</item>
47 <item name="disabledAlpha">0.5</item>
48 <item name="backgroundDimAmount">0.6</item>
49 <!-- Text styles -->
50 <item name="textAppearance">@android:style/TextAppearance</item>
51 <item name="textAppearanceInverse">@android:style/TextAppearance.Inverse</item>
52 <item name="textColorPrimary">@android:color/primary_text_dark</item>
53 <item name="textColorSecondary">@android:color/secondary_text_dark</item>
54 <item name="textColorTertiary">@android:color/tertiary_text_dark</item>
55 <item name="textColorPrimaryInverse">@android:color/primary_text_light</item>
56 <item name="textColorSecondaryInverse">@android:color/secondary_text_light</item>
57 <item name="textColorTertiaryInverse">@android:color/tertiary_text_light</item>
58 <item name="textColorPrimaryDisableOnly">@android:color/primary_text_dark_disable_only</item>
59 <item name="textColorPrimaryInverseDisableOnly">@android:color/primary_text_light_disable_only</item>
60 <item name="textColorPrimaryNoDisable">@android:color/primary_text_dark_nodisable</item>
61 <item name="textColorSecondaryNoDisable">@android:color/secondary_text_dark_nodisable</item>
62 <item name="textColorPrimaryInverseNoDisable">@android:color/primary_text_light_nodisable</item>
63 <item name="textColorSecondaryInverseNoDisable">@android:color/secondary_text_light_nodisable</item>
64 <item name="textColorHint">@android:color/hint_foreground_dark</item>
65 <item name="textColorHintInverse">@android:color/hint_foreground_light</item>
66 <item name="textColorSearchUrl">@android:color/search_url_text</item>
67 <item name="textColorHighlight">@android:color/highlighted_text_dark</item>
68 <item name="textColorHighlightInverse">@android:color/highlighted_text_light</item>
69 <item name="textColorLink">@android:color/link_text_dark</item>
70 <item name="textColorLinkInverse">@android:color/link_text_light</item>
71 <item name="textColorAlertDialogListItem">@android:color/primary_text_light_disable_only</item>
72 <item name="textAppearanceLarge">@android:style/TextAppearance.Large</item>
73 <item name="textAppearanceMedium">@android:style/TextAppearance.Medium</item>
74 <item name="textAppearanceSmall">@android:style/TextAppearance.Small</item>
75 <item name="textAppearanceLargeInverse">@android:style/TextAppearance.Large.Inverse</item>
76 <item name="textAppearanceMediumInverse">@android:style/TextAppearance.Medium.Inverse</item>
77 <item name="textAppearanceSmallInverse">@android:style/TextAppearance.Small.Inverse</item>
78 <item name="textAppearanceSearchResultTitle">@android:style/TextAppearance.SearchResult.Title</item>
79 <item name="textAppearanceSearchResultSubtitle">@android:style/TextAppearance.SearchResult.Subtitle</item>
80 <item name="textAppearanceEasyCorrectSuggestion">@android:style/TextAppearance.EasyCorrectSuggestion</item>
81 <item name="textAppearanceMisspelledSuggestion">@android:style/TextAppearance.MisspelledSuggestion</item>
82 <item name="textAppearanceAutoCorrectionSuggestion">@android:style/TextAppearance.AutoCorrectionSuggestion</item>
83 <item name="textAppearanceButton">@android:style/TextAppearance.Widget.Button</item>
84 <item name="editTextColor">@android:color/primary_text_light</item>
85 <item name="editTextBackground">@android:drawable/edit_text</item>
86 <item name="candidatesTextStyleSpans">@android:string/candidates_style</item>
87 <item name="textCheckMark">@android:drawable/indicator_check_mark_dark</item>
88 <item name="textCheckMarkInverse">@android:drawable/indicator_check_mark_light</item>
89 <item name="textAppearanceLargePopupMenu">@android:style/TextAppearance.Widget.PopupMenu.Large</item>
90 <item name="textAppearanceSmallPopupMenu">@android:style/TextAppearance.Widget.PopupMenu.Small</item>
91 <!-- Button styles -->
92 <item name="buttonStyle">@android:style/Widget.Button</item>
93 <item name="buttonStyleSmall">@android:style/Widget.Button.Small</item>
94 <item name="buttonStyleInset">@android:style/Widget.Button.Inset</item>
95 <item name="buttonStyleToggle">@android:style/Widget.Button.Toggle</item>
96 <item name="selectableItemBackground">@android:drawable/item_background</item>
97 <item name="borderlessButtonStyle">?android:attr/buttonStyle</item>
98 <item name="homeAsUpIndicator">@android:drawable/ic_ab_back_holo_dark</item>
99 <!-- List attributes -->
100 <item name="listPreferredItemHeight">64dip</item>
101 <item name="listPreferredItemHeightSmall">?android:attr/listPreferredItemHeight</item>
102 <item name="listPreferredItemHeightLarge">?android:attr/listPreferredItemHeight</item>
103 <item name="dropdownListPreferredItemHeight">?android:attr/listPreferredItemHeight</item>
104 <item name="textAppearanceListItem">?android:attr/textAppearanceLarge</item>
105 <item name="textAppearanceListItemSmall">?android:attr/textAppearanceLarge</item>
106 <item name="listPreferredItemPaddingLeft">6dip</item>
107 <item name="listPreferredItemPaddingRight">6dip</item>
108 <item name="listPreferredItemPaddingStart">6dip</item>
109 <item name="listPreferredItemPaddingEnd">6dip</item>
110 <!-- @hide -->
111 <item name="searchResultListItemHeight">58dip</item>
112 <item name="listDivider">@drawable/divider_horizontal_dark</item>
113 <item name="listSeparatorTextViewStyle">@android:style/Widget.TextView.ListSeparator</item>
114 <item name="listChoiceIndicatorSingle">@android:drawable/btn_radio</item>
115 <item name="listChoiceIndicatorMultiple">@android:drawable/btn_check</item>
116 <item name="listChoiceBackgroundIndicator">@android:drawable/list_selector_background</item>
117 <item name="activatedBackgroundIndicator">@android:drawable/activated_background</item>
118 <item name="listDividerAlertDialog">@android:drawable/divider_horizontal_bright</item>
119 <item name="expandableListPreferredItemPaddingLeft">40dip</item>
120 <item name="expandableListPreferredChildPaddingLeft">
121 ?android:attr/expandableListPreferredItemPaddingLeft</item>
122 <item name="expandableListPreferredItemIndicatorLeft">3dip</item>
123 <item name="expandableListPreferredItemIndicatorRight">0dip</item>
124 <item name="expandableListPreferredChildIndicatorLeft">
125 ?android:attr/expandableListPreferredItemIndicatorLeft</item>
126 <item name="expandableListPreferredChildIndicatorRight">
127 ?android:attr/expandableListPreferredItemIndicatorRight</item>
128 <item name="findOnPageNextDrawable">@android:drawable/ic_find_next_holo_dark</item>
129 <item name="findOnPagePreviousDrawable">@android:drawable/ic_find_previous_holo_dark</item>
130 <!-- Gallery attributes -->
131 <item name="galleryItemBackground">@android:drawable/gallery_item_background</item>
132 <!-- Window attributes -->
133 <item name="windowBackground">@android:drawable/screen_background_selector_dark</item>
134 <item name="windowFrame">@null</item>
135 <item name="windowNoTitle">false</item>
136 <item name="windowFullscreen">false</item>
137 <item name="windowOverscan">false</item>
138 <item name="windowIsFloating">false</item>
139 <item name="windowContentOverlay">@null</item>
140 <item name="windowShowWallpaper">false</item>
141 <item name="windowTitleStyle">@android:style/WindowTitle</item>
142 <item name="windowTitleSize">25dip</item>
143 <item name="windowTitleBackgroundStyle">@android:style/WindowTitleBackground</item>
144 <item name="android:windowAnimationStyle">@android:style/Animation.Activity</item>
145 <item name="android:windowSoftInputMode">stateUnspecified|adjustUnspecified</item>
146 <item name="windowActionBar">false</item>
147 <item name="windowActionModeOverlay">false</item>
148 <item name="windowCloseOnTouchOutside">false</item>
149 <item name="windowTranslucentStatus">false</item>
150 <item name="windowTranslucentNavigation">false</item>
151 <!-- Define these here; ContextThemeWrappers around themes that define them should
152 always clear these values. -->
153 <item name="windowFixedWidthMajor">0dp</item>
154 <item name="windowFixedWidthMinor">0dp</item>
155 <item name="windowFixedHeightMajor">0dp</item>
156 <item name="windowFixedHeightMinor">0dp</item>
157 <!-- Dialog attributes -->
158 <item name="dialogTheme">@android:style/Theme.Dialog</item>
159 <item name="dialogTitleIconsDecorLayout">@layout/dialog_title_icons</item>
160 <item name="dialogCustomTitleDecorLayout">@layout/dialog_custom_title</item>
161 <item name="dialogTitleDecorLayout">@layout/dialog_title</item>
162 <!-- AlertDialog attributes -->
163 <item name="alertDialogTheme">@android:style/Theme.Dialog.Alert</item>
164 <item name="alertDialogStyle">@android:style/AlertDialog</item>
165 <item name="alertDialogCenterButtons">true</item>
166 <item name="alertDialogIcon">@android:drawable/ic_dialog_alert</item>
167 <!-- Presentation attributes (introduced after API level 10 so does not
168 have a special old-style theme. -->
169 <item name="presentationTheme">@android:style/Theme.DeviceDefault.Dialog.Presentation</item>
170 <!-- Toast attributes -->
171 <item name="toastFrameBackground">@android:drawable/toast_frame</item>
172 <!-- Panel attributes -->
173 <item name="panelBackground">@android:drawable/menu_background</item>
174 <item name="panelFullBackground">@android:drawable/menu_background_fill_parent_width</item>
175 <!-- These three attributes do not seems to be used by the framework. Declared public though -->
176 <item name="panelColorBackground">#000</item>
177 <item name="panelColorForeground">?android:attr/textColorPrimary</item>
178 <item name="panelTextAppearance">?android:attr/textAppearance</item>
179 <item name="panelMenuIsCompact">false</item>
180 <item name="panelMenuListWidth">296dip</item>
181 <!-- Scrollbar attributes -->
182 <item name="scrollbarFadeDuration">250</item>
183 <item name="scrollbarDefaultDelayBeforeFade">300</item>
184 <item name="scrollbarSize">10dip</item>
185 <item name="scrollbarThumbHorizontal">@android:drawable/scrollbar_handle_horizontal</item>
186 <item name="scrollbarThumbVertical">@android:drawable/scrollbar_handle_vertical</item>
187 <item name="scrollbarTrackHorizontal">@null</item>
188 <item name="scrollbarTrackVertical">@null</item>
189 <!-- Text selection handle attributes -->
190 <item name="textSelectHandleLeft">@android:drawable/text_select_handle_left</item>
191 <item name="textSelectHandleRight">@android:drawable/text_select_handle_right</item>
192 <item name="textSelectHandle">@android:drawable/text_select_handle_middle</item>
193 <item name="textSelectHandleWindowStyle">@android:style/Widget.TextSelectHandle</item>
194 <item name="textEditPasteWindowLayout">@android:layout/text_edit_paste_window</item>
195 <item name="textEditNoPasteWindowLayout">@android:layout/text_edit_no_paste_window</item>
196 <item name="textEditSidePasteWindowLayout">@android:layout/text_edit_side_paste_window</item>
197 <item name="textEditSideNoPasteWindowLayout">@android:layout/text_edit_side_no_paste_window</item>
198 <item name="textSuggestionsWindowStyle">@android:style/Widget.TextSuggestionsPopupWindow</item>
199 <item name="textEditSuggestionItemLayout">@android:layout/text_edit_suggestion_item</item>
200 <item name="textCursorDrawable">@null</item>
201 <!-- Widget styles -->
202 <item name="absListViewStyle">@android:style/Widget.AbsListView</item>
203 <item name="autoCompleteTextViewStyle">@android:style/Widget.AutoCompleteTextView</item>
204 <item name="checkboxStyle">@android:style/Widget.CompoundButton.CheckBox</item>
205 <item name="checkedTextViewStyle">@android:style/Widget.CheckedTextView</item>
206 <item name="dropDownListViewStyle">@android:style/Widget.ListView.DropDown</item>
207 <item name="editTextStyle">@android:style/Widget.EditText</item>
208 <item name="expandableListViewStyle">@android:style/Widget.ExpandableListView</item>
209 <item name="expandableListViewWhiteStyle">@android:style/Widget.ExpandableListView.White</item>
210 <item name="galleryStyle">@android:style/Widget.Gallery</item>
211 <item name="gestureOverlayViewStyle">@android:style/Widget.GestureOverlayView</item>
212 <item name="gridViewStyle">@android:style/Widget.GridView</item>
213 <item name="imageButtonStyle">@android:style/Widget.ImageButton</item>
214 <item name="imageWellStyle">@android:style/Widget.ImageWell</item>
215 <item name="listViewStyle">@android:style/Widget.ListView</item>
216 <item name="listViewWhiteStyle">@android:style/Widget.ListView.White</item>
217 <item name="popupWindowStyle">@android:style/Widget.PopupWindow</item>
218 <item name="progressBarStyle">@android:style/Widget.ProgressBar</item>
219 <item name="progressBarStyleHorizontal">@android:style/Widget.ProgressBar.Horizontal</item>
220 <item name="progressBarStyleSmall">@android:style/Widget.ProgressBar.Small</item>
221 <item name="progressBarStyleSmallTitle">@android:style/Widget.ProgressBar.Small.Title</item>
222 <item name="progressBarStyleLarge">@android:style/Widget.ProgressBar.Large</item>
223 <item name="progressBarStyleInverse">@android:style/Widget.ProgressBar.Inverse</item>
224 <item name="progressBarStyleSmallInverse">@android:style/Widget.ProgressBar.Small.Inverse</item>
225 <item name="progressBarStyleLargeInverse">@android:style/Widget.ProgressBar.Large.Inverse</item>
226 <item name="seekBarStyle">@android:style/Widget.SeekBar</item>
227 <item name="ratingBarStyle">@android:style/Widget.RatingBar</item>
228 <item name="ratingBarStyleIndicator">@android:style/Widget.RatingBar.Indicator</item>
229 <item name="ratingBarStyleSmall">@android:style/Widget.RatingBar.Small</item>
230 <item name="radioButtonStyle">@android:style/Widget.CompoundButton.RadioButton</item>
231 <item name="scrollViewStyle">@android:style/Widget.ScrollView</item>
232 <item name="horizontalScrollViewStyle">@android:style/Widget.HorizontalScrollView</item>
233 <item name="spinnerStyle">@android:style/Widget.Spinner</item>
234 <item name="dropDownSpinnerStyle">@android:style/Widget.Spinner.DropDown</item>
235 <item name="starStyle">@android:style/Widget.CompoundButton.Star</item>
236 <item name="tabWidgetStyle">@android:style/Widget.TabWidget</item>
237 <item name="textViewStyle">@android:style/Widget.TextView</item>
238 <item name="errorMessageBackground">@android:drawable/popup_inline_error</item>
239 <item name="errorMessageAboveBackground">@android:drawable/popup_inline_error_above</item>
240 <item name="webTextViewStyle">@android:style/Widget.WebTextView</item>
241 <item name="webViewStyle">@android:style/Widget.WebView</item>
242 <item name="dropDownItemStyle">@android:style/Widget.DropDownItem</item>
243 <item name="spinnerDropDownItemStyle">@android:style/Widget.DropDownItem.Spinner</item>
244 <item name="spinnerItemStyle">@android:style/Widget.TextView.SpinnerItem</item>
245 <item name="dropDownHintAppearance">@android:style/TextAppearance.Widget.DropDownHint</item>
246 <item name="keyboardViewStyle">@android:style/Widget.KeyboardView</item>
247 <item name="quickContactBadgeOverlay">@android:drawable/quickcontact_badge_overlay_dark</item>
248 <item name="quickContactBadgeStyleWindowSmall">@android:style/Widget.QuickContactBadge.WindowSmall</item>
249 <item name="quickContactBadgeStyleWindowMedium">@android:style/Widget.QuickContactBadge.WindowMedium</item>
250 <item name="quickContactBadgeStyleWindowLarge">@android:style/Widget.QuickContactBadge.WindowLarge</item>
251 <item name="quickContactBadgeStyleSmallWindowSmall">@android:style/Widget.QuickContactBadgeSmall.WindowSmall</item>
252 <item name="quickContactBadgeStyleSmallWindowMedium">@android:style/Widget.QuickContactBadgeSmall.WindowMedium</item>
253 <item name="quickContactBadgeStyleSmallWindowLarge">@android:style/Widget.QuickContactBadgeSmall.WindowLarge</item>
254 <item name="listPopupWindowStyle">@android:style/Widget.ListPopupWindow</item>
255 <item name="popupMenuStyle">@android:style/Widget.PopupMenu</item>
256 <item name="activityChooserViewStyle">@android:style/Widget.ActivityChooserView</item>
257 <item name="mediaRouteButtonStyle">@android:style/Widget.DeviceDefault.MediaRouteButton</item>
258 <!-- Preference styles -->
259 <item name="preferenceScreenStyle">@android:style/Preference.PreferenceScreen</item>
260 <item name="preferenceFragmentStyle">@style/PreferenceFragment</item>
261 <item name="preferenceCategoryStyle">@android:style/Preference.Category</item>
262 <item name="preferenceStyle">@android:style/Preference</item>
263 <item name="preferenceInformationStyle">@android:style/Preference.Information</item>
264 <item name="checkBoxPreferenceStyle">@android:style/Preference.CheckBoxPreference</item>
265 <item name="switchPreferenceStyle">@android:style/Preference.SwitchPreference</item>
266 <item name="yesNoPreferenceStyle">@android:style/Preference.DialogPreference.YesNoPreference</item>
267 <item name="dialogPreferenceStyle">@android:style/Preference.DialogPreference</item>
268 <item name="editTextPreferenceStyle">@android:style/Preference.DialogPreference.EditTextPreference</item>
269 <item name="ringtonePreferenceStyle">@android:style/Preference.RingtonePreference</item>
270 <item name="preferenceLayoutChild">@android:layout/preference_child</item>
271 <item name="preferencePanelStyle">@style/PreferencePanel</item>
272 <item name="preferenceHeaderPanelStyle">@style/PreferenceHeaderPanel</item>
273 <item name="preferenceListStyle">@style/PreferenceHeaderList</item>
274 <item name="preferenceFragmentListStyle">@style/PreferenceFragmentList</item>
275 <item name="preferenceFragmentPaddingSide">@dimen/preference_fragment_padding_side</item>
276 <item name="detailsElementBackground">@android:drawable/panel_bg_holo_dark</item>
277 <!-- Search widget styles -->
278 <item name="searchWidgetCorpusItemBackground">@android:color/search_widget_corpus_item_background</item>
279 <!-- Action bar styles -->
280 <item name="actionDropDownStyle">@android:style/Widget.Spinner.DropDown</item>
281 <item name="actionButtonStyle">@android:style/Widget.ActionButton</item>
282 <item name="actionOverflowButtonStyle">@android:style/Widget.ActionButton.Overflow</item>
283 <item name="actionModeBackground">@android:drawable/cab_background_top_holo_dark</item>
284 <item name="actionModeSplitBackground">@null</item>
285 <item name="actionModeCloseDrawable">@android:drawable/ic_menu_close_clear_cancel</item>
286 <item name="actionModeCutDrawable">@android:drawable/ic_menu_cut_holo_dark</item>
287 <item name="actionModeCopyDrawable">@android:drawable/ic_menu_copy_holo_dark</item>
288 <item name="actionModePasteDrawable">@android:drawable/ic_menu_paste_holo_dark</item>
289 <item name="actionModeSelectAllDrawable">@android:drawable/ic_menu_selectall_holo_dark</item>
290 <item name="actionModeShareDrawable">@android:drawable/ic_menu_share_holo_dark</item>
291 <item name="actionModeFindDrawable">@android:drawable/ic_menu_find_holo_dark</item>
292 <item name="actionModeWebSearchDrawable">@android:drawable/ic_menu_search</item>
293 <item name="actionBarTabStyle">@style/Widget.ActionBar.TabView</item>
294 <item name="actionBarTabBarStyle">@style/Widget.ActionBar.TabBar</item>
295 <item name="actionBarTabTextStyle">@style/Widget.ActionBar.TabText</item>
296 <item name="actionModeStyle">@style/Widget.ActionMode</item>
297 <item name="actionModeCloseButtonStyle">@style/Widget.ActionButton.CloseMode</item>
298 <item name="actionBarStyle">@android:style/Widget.ActionBar</item>
299 <item name="actionBarSplitStyle">?android:attr/actionBarStyle</item>
300 <item name="actionBarSize">@dimen/action_bar_default_height</item>
301 <item name="actionModePopupWindowStyle">?android:attr/popupWindowStyle</item>
302 <item name="actionMenuTextAppearance">@android:style/TextAppearance.Holo.Widget.ActionBar.Menu</item>
303 <item name="actionMenuTextColor">?android:attr/textColorPrimary</item>
304 <item name="actionBarWidgetTheme">@null</item>
305 <item name="actionBarDivider">?android:attr/dividerVertical</item>
306 <item name="actionBarItemBackground">?android:attr/selectableItemBackground</item>
307 <item name="dividerVertical">@drawable/divider_vertical_dark</item>
308 <item name="dividerHorizontal">@drawable/divider_vertical_dark</item>
309 <item name="buttonBarStyle">@android:style/ButtonBar</item>
310 <item name="buttonBarButtonStyle">?android:attr/buttonStyle</item>
311 <item name="segmentedButtonStyle">@android:style/SegmentedButton</item>
312 <!-- SearchView attributes -->
313 <item name="searchDropdownBackground">@android:drawable/spinner_dropdown_background</item>
314 <item name="searchViewTextField">@drawable/textfield_searchview_holo_dark</item>
315 <item name="searchViewTextFieldRight">@drawable/textfield_searchview_right_holo_dark</item>
316 <item name="searchViewCloseIcon">@android:drawable/ic_clear</item>
317 <item name="searchViewSearchIcon">@android:drawable/ic_search</item>
318 <item name="searchViewGoIcon">@android:drawable/ic_go</item>
319 <item name="searchViewVoiceIcon">@android:drawable/ic_voice_search</item>
320 <item name="searchViewEditQuery">@android:drawable/ic_commit_search_api_holo_dark</item>
321 <item name="searchViewEditQueryBackground">?attr/selectableItemBackground</item>
322 <item name="searchDialogTheme">@style/Theme.SearchBar</item>
323 <!-- PreferenceFrameLayout attributes -->
324 <item name="preferenceFrameLayoutStyle">@android:style/Widget.PreferenceFrameLayout</item>
325 <!-- NumberPicker style-->
326 <item name="numberPickerStyle">@style/Widget.NumberPicker</item>
327 <!-- CalendarView style-->
328 <item name="calendarViewStyle">@style/Widget.CalendarView</item>
329 <!-- TimePicker style -->
330 <item name="timePickerStyle">@style/Widget.TimePicker</item>
331 <!-- DatePicker style -->
332 <item name="datePickerStyle">@style/Widget.DatePicker</item>
333 <item name="fastScrollThumbDrawable">@android:drawable/scrollbar_handle_accelerated_anim2</item>
334 <item name="fastScrollTrackDrawable">@null</item>
335 <item name="fastScrollPreviewBackgroundRight">@android:drawable/menu_submenu_background</item>
336 <item name="fastScrollPreviewBackgroundLeft">@android:drawable/menu_submenu_background</item>
337 <item name="fastScrollOverlayPosition">floating</item>
338 <item name="fastScrollTextColor">@android:color/primary_text_dark</item>
339 <!-- Pointer style -->
340 <item name="pointerStyle">@android:style/Pointer</item>
341 <!-- Accessibility focused drawable. -->
342 <item name="accessibilityFocusedDrawable">@android:drawable/view_accessibility_focused</item>
343 </style>
344 <!-- Variant of {@link #Theme} with no title bar -->
345 <style name="Theme.NoTitleBar">
346 <item name="android:windowNoTitle">true</item>
347 </style>
348 <!-- Variant of {@link #Theme} that has no title bar and no status bar. This theme
349 sets {@link android.R.attr#windowFullscreen} to true. -->
350 <style name="Theme.NoTitleBar.Fullscreen">
351 <item name="android:windowFullscreen">true</item>
352 <item name="android:windowContentOverlay">@null</item>
353 </style>
354 <!-- Theme for a light background with dark text on top. Set your activity
355 to this theme if you would like such an appearance. As with the
356 default theme, you should try to assume little more than that the
357 background will be a light color.
358 <p>This is designed for API level 10 and lower.</p>-->
359 <style name="Theme.Light">
360 <item name="windowBackground">@android:drawable/screen_background_selector_light</item>
361 <item name="colorBackground">@android:color/background_light</item>
362 <item name="colorForeground">@color/bright_foreground_light</item>
363 <item name="colorForegroundInverse">@android:color/bright_foreground_light_inverse</item>
364 <item name="textColorPrimary">@android:color/primary_text_light</item>
365 <item name="textColorSecondary">@android:color/secondary_text_light</item>
366 <item name="textColorTertiary">@android:color/tertiary_text_light</item>
367 <item name="textColorPrimaryInverse">@android:color/primary_text_dark</item>
368 <item name="textColorSecondaryInverse">@android:color/secondary_text_dark</item>
369 <item name="textColorTertiaryInverse">@android:color/tertiary_text_dark</item>
370 <item name="textColorPrimaryDisableOnly">@android:color/primary_text_light_disable_only</item>
371 <item name="textColorPrimaryInverseDisableOnly">@android:color/primary_text_dark_disable_only</item>
372 <item name="textColorPrimaryNoDisable">@android:color/primary_text_light_nodisable</item>
373 <item name="textColorSecondaryNoDisable">@android:color/secondary_text_light_nodisable</item>
374 <item name="textColorPrimaryInverseNoDisable">@android:color/primary_text_dark_nodisable</item>
375 <item name="textColorSecondaryInverseNoDisable">@android:color/secondary_text_dark_nodisable</item>
376 <item name="textColorHint">@android:color/hint_foreground_light</item>
377 <item name="textColorHintInverse">@android:color/hint_foreground_dark</item>
378 <item name="textColorHighlight">@android:color/highlighted_text_light</item>
379 <item name="textColorHighlightInverse">@android:color/highlighted_text_dark</item>
380 <item name="textColorLink">@android:color/link_text_light</item>
381 <item name="textColorLinkInverse">@android:color/link_text_dark</item>
382 <item name="editTextColor">@android:color/primary_text_light</item>
383 <item name="listChoiceBackgroundIndicator">@android:drawable/list_selector_background</item>
384 <item name="activatedBackgroundIndicator">@android:drawable/activated_background_light</item>
385 <item name="quickContactBadgeOverlay">@android:drawable/quickcontact_badge_overlay_light</item>
386 <item name="popupWindowStyle">@android:style/Widget.PopupWindow</item>
387 <item name="textCheckMark">@android:drawable/indicator_check_mark_light</item>
388 <item name="textCheckMarkInverse">@android:drawable/indicator_check_mark_dark</item>
389 <item name="gestureOverlayViewStyle">@android:style/Widget.GestureOverlayView.White</item>
390 <item name="expandableListViewStyle">@android:style/Widget.ExpandableListView.White</item>
391 <item name="listViewStyle">@android:style/Widget.ListView.White</item>
392 <item name="listDivider">@drawable/divider_horizontal_bright</item>
393 <item name="listSeparatorTextViewStyle">@android:style/Widget.TextView.ListSeparator.White</item>
394 <item name="progressBarStyle">@android:style/Widget.ProgressBar.Inverse</item>
395 <item name="progressBarStyleSmall">@android:style/Widget.ProgressBar.Small.Inverse</item>
396 <item name="progressBarStyleLarge">@android:style/Widget.ProgressBar.Large.Inverse</item>
397 <item name="progressBarStyleInverse">@android:style/Widget.ProgressBar</item>
398 <item name="progressBarStyleSmallInverse">@android:style/Widget.ProgressBar.Small</item>
399 <item name="progressBarStyleLargeInverse">@android:style/Widget.ProgressBar.Large</item>
400 <item name="actionModeCutDrawable">@android:drawable/ic_menu_cut_holo_light</item>
401 <item name="actionModeCopyDrawable">@android:drawable/ic_menu_copy_holo_light</item>
402 <item name="actionModePasteDrawable">@android:drawable/ic_menu_paste_holo_light</item>
403 <item name="actionModeSelectAllDrawable">@android:drawable/ic_menu_selectall_holo_light</item>
404 <item name="actionModeShareDrawable">@android:drawable/ic_menu_share_holo_light</item>
405 <item name="actionModeFindDrawable">@android:drawable/ic_menu_find_holo_light</item>
406 <item name="actionModeWebSearchDrawable">@android:drawable/ic_menu_search_holo_light</item>
407 <item name="actionModeBackground">@android:drawable/cab_background_top_holo_light</item>
408 <item name="actionModeSplitBackground">@android:drawable/cab_background_bottom_holo_light</item>
409 <!-- SearchView attributes -->
410 <item name="searchDropdownBackground">@android:drawable/search_dropdown_light</item>
411 <item name="searchViewTextField">@drawable/textfield_searchview_holo_light</item>
412 <item name="searchViewTextFieldRight">@drawable/textfield_searchview_right_holo_light</item>
413 <item name="searchViewCloseIcon">@android:drawable/ic_clear_holo_light</item>
414 <item name="searchViewSearchIcon">@android:drawable/ic_search_api_holo_light</item>
415 <item name="searchViewGoIcon">@android:drawable/ic_go_search_api_holo_light</item>
416 <item name="searchViewVoiceIcon">@android:drawable/ic_voice_search_api_holo_light</item>
417 <item name="searchViewEditQuery">@android:drawable/ic_commit_search_api_holo_light</item>
418 <item name="detailsElementBackground">@android:drawable/panel_bg_holo_light</item>
419 <item name="mediaRouteButtonStyle">@android:style/Widget.DeviceDefault.Light.MediaRouteButton</item>
420 <item name="findOnPageNextDrawable">@android:drawable/ic_find_next_holo_light</item>
421 <item name="findOnPagePreviousDrawable">@android:drawable/ic_find_previous_holo_light</item>
422 </style>
423 <!-- Variant of {@link #Theme_Light} with no title bar -->
424 <style name="Theme.Light.NoTitleBar">
425 <item name="android:windowNoTitle">true</item>
426 </style>
427 <!-- Variant of {@link #Theme_Light} that has no title bar and
428 no status bar. This theme
429 sets {@link android.R.attr#windowFullscreen} to true. -->
430 <style name="Theme.Light.NoTitleBar.Fullscreen">
431 <item name="android:windowFullscreen">true</item>
432 <item name="android:windowContentOverlay">@null</item>
433 </style>
434 <!-- Variant on {@link #Theme} that ensures the background is
435 completely black. This is useful for things like image viewers and
436 media players. If you want the normal (dark background) theme
437 do <em>not</em> use this, use {@link #Theme}. -->
438 <style name="Theme.Black">
439 <item name="android:windowBackground">@android:color/black</item>
440 <item name="android:colorBackground">@android:color/black</item>
441 </style>
442 <!-- Variant of {@link #Theme_Black} with no title bar -->
443 <style name="Theme.Black.NoTitleBar">
444 <item name="android:windowNoTitle">true</item>
445 </style>
446 <!-- Variant of {@link #Theme_Black} that has no title bar and
447 no status bar. This theme
448 sets {@link android.R.attr#windowFullscreen} to true. -->
449 <style name="Theme.Black.NoTitleBar.Fullscreen">
450 <item name="android:windowFullscreen">true</item>
451 <item name="android:windowContentOverlay">@null</item>
452 </style>
453 <!-- Theme for windows that want to have the user‘s selected
454 wallpaper appear behind them (for API level 10 and lower). -->
455 <style name="Theme.Wallpaper">
456 <item name="android:windowBackground">@android:color/transparent</item>
457 <item name="android:colorBackgroundCacheHint">@null</item>
458 <item name="android:windowShowWallpaper">true</item>
459 </style>
460 <!-- Variant of {@link #Theme_Wallpaper} that has no title bar -->
461 <style name="Theme.Wallpaper.NoTitleBar">
462 <item name="android:windowNoTitle">true</item>
463 </style>
464 <!-- Variant of {@link #Theme_Wallpaper} that
465 has no title bar or status bar. -->
466 <style name="Theme.Wallpaper.NoTitleBar.Fullscreen">
467 <item name="android:windowFullscreen">true</item>
468 <item name="android:windowContentOverlay">@null</item>
469 </style>
470 <!-- Theme for a wallpaper‘s setting activity, which is designed to be a transparent
471 background with a dark shade, so the previous Activity is visible in the background. -->
472 <style name="Theme.WallpaperSettings">
473 <item name="android:windowBackground">@android:drawable/screen_background_dark_transparent</item>
474 <item name="android:colorBackgroundCacheHint">@null</item>
475 <item name="android:windowIsTranslucent">true</item>
476 <item name="android:windowAnimationStyle">@android:style/Animation.Translucent</item>
477 </style>
478 <!-- Theme for a wallpaper‘s setting activity, which is designed to be a transparent
479 background with a light shade, so the previous Activity is visible in the background. -->
480 <style name="Theme.Light.WallpaperSettings">
481 <item name="android:windowBackground">@android:drawable/screen_background_light_transparent</item>
482 <item name="android:colorBackgroundCacheHint">@null</item>
483 <item name="android:windowIsTranslucent">true</item>
484 <item name="android:windowAnimationStyle">@android:style/Animation.Translucent</item>
485 </style>
486 <!-- Style to apply on top of a wallpaper settings theme when it is being
487 shown on top of the real wallpaper -->
488 <style name="ActiveWallpaperSettings">
489 </style>
490 <!-- Style to apply on top of a wallpaper settings theme when it is being
491 shown on top of the real wallpaper -->
492 <style name="PreviewWallpaperSettings">
493 </style>
494 <!-- Theme for translucent activities (on API level 10 and lower). That is, windows
495 that allow you to see through them to the windows behind. This sets up the translucent
496 flag and appropriate animations for your windows. -->
497 <style name="Theme.Translucent">
498 <item name="android:windowBackground">@android:color/transparent</item>
499 <item name="android:colorBackgroundCacheHint">@null</item>
500 <item name="android:windowIsTranslucent">true</item>
501 <!-- Note that we use the base animation style here (that is no
502 animations) because we really have no idea how this kind of
503 activity will be used. -->
504 <item name="android:windowAnimationStyle">@android:style/Animation</item>
505 </style>
506 <!-- Variant of {@link #Theme_Translucent} with no title bar -->
507 <style name="Theme.Translucent.NoTitleBar">
508 <item name="android:windowNoTitle">true</item>
509 <item name="android:windowContentOverlay">@null</item>
510 </style>
511 <!-- Variant of {@link #Theme_Translucent} that has no title bar and
512 no status bar -->
513 <style name="Theme.Translucent.NoTitleBar.Fullscreen">
514 <item name="android:windowFullscreen">true</item>
515 </style>
516 <!-- Default theme for activities that don‘t actually display a UI; that
517 is, they finish themselves before being resumed. -->
518 <style name="Theme.NoDisplay">
519 <item name="android:windowBackground">@null</item>
520 <item name="android:windowContentOverlay">@null</item>
521 <item name="android:windowIsTranslucent">true</item>
522 <item name="android:windowAnimationStyle">@null</item>
523 <item name="android:windowDisablePreview">true</item>
524 <item name="android:windowNoDisplay">true</item>
525 </style>
526 <!-- Default theme for dialog windows and activities (on API level 10 and lower),
527 which is used by the
528 {@link android.app.Dialog} class. This changes the window to be
529 floating (not fill the entire screen), and puts a frame around its
530 contents. You can set this theme on an activity if you would like to
531 make an activity that looks like a Dialog. -->
532 <style name="Theme.Dialog">
533 <item name="android:windowFrame">@null</item>
534 <item name="android:windowTitleStyle">@android:style/DialogWindowTitle</item>
535 <item name="android:windowBackground">@android:drawable/panel_background</item>
536 <item name="android:windowIsFloating">true</item>
537 <item name="android:windowContentOverlay">@null</item>
538 <item name="android:windowAnimationStyle">@android:style/Animation.Dialog</item>
539 <item name="android:windowSoftInputMode">stateUnspecified|adjustPan</item>
540 <item name="android:windowCloseOnTouchOutside">@bool/config_closeDialogWhenTouchOutside</item>
541 <item name="android:windowActionModeOverlay">true</item>
542 <item name="android:colorBackgroundCacheHint">@null</item>
543 <item name="textAppearance">@android:style/TextAppearance</item>
544 <item name="textAppearanceInverse">@android:style/TextAppearance.Inverse</item>
545 <item name="textColorPrimary">@android:color/primary_text_dark</item>
546 <item name="textColorSecondary">@android:color/secondary_text_dark</item>
547 <item name="textColorTertiary">@android:color/tertiary_text_dark</item>
548 <item name="textColorPrimaryInverse">@android:color/primary_text_light</item>
549 <item name="textColorSecondaryInverse">@android:color/secondary_text_light</item>
550 <item name="textColorTertiaryInverse">@android:color/tertiary_text_light</item>
551 <item name="textColorPrimaryDisableOnly">@android:color/primary_text_dark_disable_only</item>
552 <item name="textColorPrimaryInverseDisableOnly">@android:color/primary_text_light_disable_only</item>
553 <item name="textColorPrimaryNoDisable">@android:color/primary_text_dark_nodisable</item>
554 <item name="textColorSecondaryNoDisable">@android:color/secondary_text_dark_nodisable</item>
555 <item name="textColorPrimaryInverseNoDisable">@android:color/primary_text_light_nodisable</item>
556 <item name="textColorSecondaryInverseNoDisable">@android:color/secondary_text_light_nodisable</item>
557 <item name="textColorHint">@android:color/hint_foreground_dark</item>
558 <item name="textColorHintInverse">@android:color/hint_foreground_light</item>
559 <item name="textColorSearchUrl">@android:color/search_url_text</item>
560 <item name="textAppearanceLarge">@android:style/TextAppearance.Large</item>
561 <item name="textAppearanceMedium">@android:style/TextAppearance.Medium</item>
562 <item name="textAppearanceSmall">@android:style/TextAppearance.Small</item>
563 <item name="textAppearanceLargeInverse">@android:style/TextAppearance.Large.Inverse</item>
564 <item name="textAppearanceMediumInverse">@android:style/TextAppearance.Medium.Inverse</item>
565 <item name="textAppearanceSmallInverse">@android:style/TextAppearance.Small.Inverse</item>
566 <item name="listPreferredItemPaddingLeft">10dip</item>
567 <item name="listPreferredItemPaddingRight">10dip</item>
568 <item name="listPreferredItemPaddingStart">10dip</item>
569 <item name="listPreferredItemPaddingEnd">10dip</item>
570 <item name="preferencePanelStyle">@style/PreferencePanel.Dialog</item>
571 </style>
572 <!-- Variant of {@link Theme_Dialog} that does not include a frame (or background).
573 The view hierarchy of the dialog is responsible for drawing all of
574 its pixels. -->
575 <style name="Theme.Dialog.NoFrame">
576 <item name="windowBackground">@android:color/transparent</item>
577 <item name="android:windowFrame">@null</item>
578 <item name="windowContentOverlay">@null</item>
579 <item name="android:windowAnimationStyle">@null</item>
580 <item name="android:backgroundDimEnabled">false</item>
581 <item name="android:windowIsTranslucent">true</item>
582 <item name="android:windowNoTitle">true</item>
583 <item name="android:windowCloseOnTouchOutside">false</item>
584 </style>
585 <!-- Default theme for alert dialog windows (on API level 10 and lower), which is used by the
586 {@link android.app.AlertDialog} class. This is basically a dialog
587 but sets the background to empty so it can do two-tone backgrounds. -->
588 <style name="Theme.Dialog.Alert">
589 <item name="windowBackground">@android:color/transparent</item>
590 <item name="windowTitleStyle">@android:style/DialogWindowTitle</item>
591 <item name="windowContentOverlay">@null</item>
592 <item name="itemTextAppearance">@android:style/TextAppearance.Large.Inverse</item>
593 <item name="textAppearanceListItem">@android:style/TextAppearance.Large.Inverse</item>
594 <item name="textAppearanceListItemSmall">@android:style/TextAppearance.Large.Inverse</item>
595 </style>
596 <!-- Default dark theme for panel windows (on API level 10 and lower). This removes all
597 extraneous window decorations, so you basically have an empty rectangle in which
598 to place your content. It makes the window floating, with a transparent
599 background, and turns off dimming behind the window. -->
600 <style name="Theme.Panel">
601 <item name="android:windowBackground">@android:color/transparent</item>
602 <item name="android:colorBackgroundCacheHint">@null</item>
603 <item name="android:windowFrame">@null</item>
604 <item name="android:windowContentOverlay">@null</item>
605 <item name="android:windowAnimationStyle">@null</item>
606 <item name="android:windowIsFloating">true</item>
607 <item name="android:backgroundDimEnabled">false</item>
608 <item name="android:windowIsTranslucent">true</item>
609 <item name="android:windowNoTitle">true</item>
610 </style>
611 <!-- Default light theme for panel windows (on API level 10 and lower). This removes all
612 extraneous window decorations, so you basically have an empty rectangle in which
613 to place your content. It makes the window floating, with a transparent
614 background, and turns off dimming behind the window. -->
615 <style name="Theme.Light.Panel">
616 <item name="android:windowBackground">@android:color/transparent</item>
617 <item name="android:colorBackgroundCacheHint">@null</item>
618 <item name="android:windowFrame">@null</item>
619 <item name="android:windowContentOverlay">@null</item>
620 <item name="android:windowAnimationStyle">@null</item>
621 <item name="android:windowIsFloating">true</item>
622 <item name="android:backgroundDimEnabled">false</item>
623 <item name="android:windowIsTranslucent">true</item>
624 <item name="android:windowNoTitle">true</item>
625 </style>
626 <!-- Default holo dark theme for panel windows. This removes all extraneous
627 window decorations, so you basically have an empty rectangle in which
628 to place your content. It makes the window floating, with a transparent
629 background, and turns off dimming behind the window. -->
630 <style name="Theme.Holo.Panel">
631 <item name="android:windowBackground">@android:color/transparent</item>
632 <item name="android:colorBackgroundCacheHint">@null</item>
633 <item name="android:windowFrame">@null</item>
634 <item name="android:windowContentOverlay">@null</item>
635 <item name="android:windowAnimationStyle">@null</item>
636 <item name="android:windowIsFloating">true</item>
637 <item name="android:backgroundDimEnabled">false</item>
638 <item name="android:windowIsTranslucent">true</item>
639 <item name="android:windowNoTitle">true</item>
640 </style>
641 <!-- Default holo light theme for panel windows. This removes all extraneous
642 window decorations, so you basically have an empty rectangle in which
643 to place your content. It makes the window floating, with a transparent
644 background, and turns off dimming behind the window. -->
645 <style name="Theme.Holo.Light.Panel">
646 <item name="android:windowBackground">@android:color/transparent</item>
647 <item name="android:colorBackgroundCacheHint">@null</item>
648 <item name="android:windowFrame">@null</item>
649 <item name="android:windowContentOverlay">@null</item>
650 <item name="android:windowAnimationStyle">@null</item>
651 <item name="android:windowIsFloating">true</item>
652 <item name="android:backgroundDimEnabled">false</item>
653 <item name="android:windowIsTranslucent">true</item>
654 <item name="android:windowNoTitle">true</item>
655 </style>
656 <!-- Default theme for input methods (on API level 10 and lower), which is used by the
657 {@link android.inputmethodservice.InputMethodService} class.
658 this inherits from Theme.Panel, but sets up IME appropriate animations
659 and a few custom attributes. -->
660 <style name="Theme.InputMethod" parent="Theme.Panel">
661 <item name="android:windowAnimationStyle">@android:style/Animation.InputMethod</item>
662 <item name="android:imeFullscreenBackground">@android:drawable/input_method_fullscreen_background</item>
663 <item name="android:imeExtractEnterAnimation">@android:anim/input_method_extract_enter</item>
664 <item name="android:imeExtractExitAnimation">@android:anim/input_method_extract_exit</item>
665 </style>
666 <!-- Default theme for holo style input methods, which is used by the
667 {@link android.inputmethodservice.InputMethodService} class.
668 this inherits from Theme.Panel, but sets up IME appropriate animations
669 and a few custom attributes. -->
670 <style name="Theme.Holo.InputMethod" parent="Theme.Holo.Light.Panel">
671 <item name="android:windowAnimationStyle">@android:style/Animation.InputMethod</item>
672 <item name="android:imeFullscreenBackground">@android:drawable/screen_background_selector_light</item>
673 <item name="android:imeExtractEnterAnimation">@android:anim/input_method_extract_enter</item>
674 <item name="android:imeExtractExitAnimation">@android:anim/input_method_extract_exit</item>
675 </style>
676 <!-- Theme for the search input bar. -->
677 <style name="Theme.SearchBar" parent="Theme.Holo.Light.Panel">
678 <item name="actionModeBackground">@android:drawable/cab_background_top_holo_light</item>
679 <item name="actionModeSplitBackground">@android:drawable/cab_background_bottom_holo_light</item>
680 </style>
681 <style name="Theme.Holo.SearchBar" parent="Theme.Holo.Panel">
682 <item name="actionModeBackground">@android:drawable/cab_background_top_holo_dark</item>
683 <item name="actionModeSplitBackground">@android:drawable/cab_background_bottom_holo_light</item>
684 </style>
685 <style name="Theme.Holo.Light.SearchBar" parent="Theme.Holo.Light.Panel">
686 <item name="actionModeBackground">@android:drawable/cab_background_top_holo_light</item>
687 <item name="actionModeSplitBackground">@android:drawable/cab_background_bottom_holo_light</item>
688 </style>
689 <!-- Theme for the search input bar when doing global search. The only
690 difference from non-global search is that we do not dim the background. -->
691 <style name="Theme.GlobalSearchBar" parent="Theme.Panel">
692 <item name="windowContentOverlay">@null</item>
693 <item name="actionModeBackground">@android:drawable/cab_background_top_holo_light</item>
694 <item name="actionModeSplitBackground">@android:drawable/cab_background_bottom_holo_light</item>
695 </style>
696 <!-- Menu Themes -->
697 <eat-comment />
698 <style name="Theme.IconMenu" parent="Theme.Holo">
699 <!-- Menu/item attributes -->
700 <item name="android:itemTextAppearance">@android:style/TextAppearance.Widget.IconMenu.Item</item>
701 <item name="android:itemBackground">?android:attr/selectableItemBackground</item>
702 <item name="android:itemIconDisabledAlpha">?android:attr/disabledAlpha</item>
703 <item name="android:horizontalDivider">@android:drawable/divider_horizontal_dark</item>
704 <item name="android:verticalDivider">@android:drawable/divider_vertical_dark</item>
705 <item name="android:windowAnimationStyle">@android:style/Animation.OptionsPanel</item>
706 <item name="android:moreIcon">@android:drawable/ic_menu_more</item>
707 <item name="android:background">@null</item>
708 </style>
709 <style name="Theme.ExpandedMenu" parent="Theme.Holo">
710 <!-- Menu/item attributes -->
711 <item name="android:itemTextAppearance">?android:attr/textAppearanceLarge</item>
712 <item name="android:listViewStyle">@android:style/Widget.ListView.Menu</item>
713 <item name="android:windowAnimationStyle">@android:style/Animation.OptionsPanel</item>
714 <item name="android:background">@null</item>
715 </style>
716 <style name="Theme.Holo.CompactMenu">
717 <!-- Menu/item attributes -->
718 <item name="android:itemTextAppearance">?android:attr/textAppearanceMedium</item>
719 <item name="android:listViewStyle">@android:style/Widget.Holo.ListView</item>
720 <item name="android:windowAnimationStyle">@android:style/Animation.DropDownUp</item>
721 <item name="android:background">@null</item>
722 </style>
723 <style name="Theme.Holo.Light.CompactMenu">
724 <!-- Menu/item attributes -->
725 <item name="android:itemTextAppearance">?android:attr/textAppearanceMedium</item>
726 <item name="android:listViewStyle">@android:style/Widget.Holo.Light.ListView</item>
727 <item name="android:windowAnimationStyle">@android:style/Animation.DropDownUp</item>
728 <item name="android:background">@null</item>
729 </style>
730 <!-- @hide -->
731 <style name="Theme.Dialog.AppError" parent="Theme.Holo.Dialog">
732 <item name="windowFrame">@null</item>
733 <item name="windowTitleStyle">@android:style/DialogWindowTitle</item>
734 <item name="windowBackground">@android:color/transparent</item>
735 <item name="windowIsFloating">true</item>
736 <item name="windowContentOverlay">@null</item>
737 <item name="textAppearance">@style/TextAppearance.Theme.Dialog.AppError</item>
738 <item name="android:windowCloseOnTouchOutside">false</item>
739 </style>
740 <!-- Special theme for the recent apps dialog, to allow customization
741 with overlays. -->
742 <style name="Theme.Dialog.RecentApplications" parent="Theme.DeviceDefault.Dialog">
743 <item name="windowFrame">@null</item>
744 <item name="windowBackground">@android:color/transparent</item>
745 <item name="android:windowAnimationStyle">@android:style/Animation.RecentApplications</item>
746 <item name="android:textColor">@android:color/secondary_text_nofocus</item>
747 <item name="android:windowCloseOnTouchOutside">false</item>
748 </style>
749 <!-- Default theme for window that looks like a toast. -->
750 <style name="Theme.Toast" parent="@android:style/Theme.Dialog">
751 <item name="android:windowBackground">@android:drawable/toast_frame</item>
752 <item name="android:windowAnimationStyle">@android:style/Animation.Toast</item>
753 <item name="android:backgroundDimEnabled">false</item>
754 <item name="android:windowCloseOnTouchOutside">false</item>
755 </style>
756 <style name="Theme.Panel.Volume">
757 <item name="android:windowAnimationStyle">@android:style/Animation.VolumePanel</item>
758 <item name="android:windowCloseOnTouchOutside">true</item>
759 </style>
760 <!-- Default theme with an Action Bar. -->
761 <style name="Theme.WithActionBar">
762 <item name="android:windowActionBar">true</item>
763 </style>
764 <!-- No title bar, but Action Mode bars will overlay application content
765 instead of pushing it down to make room. -->
766 <style name="Theme.NoTitleBar.OverlayActionModes">
767 <item name="android:windowActionModeOverlay">true</item>
768 </style>
769 <!-- Honeycomb holographic theme (dark version).
770 <p>This is the default system theme for apps that target API level 11 - 13. Starting
771 with API level 14, the default system theme is supplied by {@link #Theme_DeviceDefault},
772 which might apply a different style on different devices. If you want to ensure that your
773 app consistently uses the Holo theme at all times, you must explicitly declare it in your
774 manifest. For example, {@code &lt;application android:theme="@android:style/Theme.Holo"&gt;}.
775 For more information, read <a
776 href="http://android-developers.blogspot.com/2012/01/holo-everywhere.html">Holo
777 Everywhere</a>.</p>
778 <p>The widgets in the holographic theme are translucent on their background, so
779 applications must ensure that any background they use with this theme is itself
780 dark; otherwise, it will be difficult to see the widgets. This UI style also includes a
781 full action bar by default.</p>
782 <p>Styles used by the Holo theme are named using the convention Type.Holo.Etc
783 (for example, {@code Widget.Holo.Button} and {@code
784 TextAppearance.Holo.Widget.PopupMenu.Large}).
785 Specific resources used by Holo are named using the convention @type/foo_bar_baz_holo
786 with trailing _dark or _light specifiers if they are not shared between both light and
787 dark versions of the theme. -->
788 <style name="Theme.Holo">
789 <item name="colorForeground">@android:color/bright_foreground_holo_dark</item>
790 <item name="colorForegroundInverse">@android:color/bright_foreground_inverse_holo_dark</item>
791 <item name="colorBackground">@android:color/background_holo_dark</item>
792 <item name="colorBackgroundCacheHint">@android:drawable/background_cache_hint_selector_holo_dark</item>
793 <item name="disabledAlpha">0.5</item>
794 <item name="backgroundDimAmount">0.6</item>
795 <item name="colorPressedHighlight">@color/holo_gray_light</item>
796 <item name="colorLongPressedHighlight">@color/holo_gray_bright</item>
797 <item name="colorFocusedHighlight">@color/holo_blue_dark</item>
798 <item name="colorMultiSelectHighlight">@color/holo_green_light</item>
799 <item name="colorActivatedHighlight">@color/holo_blue_dark</item>
800 <!-- Text styles -->
801 <item name="textAppearance">@android:style/TextAppearance.Holo</item>
802 <item name="textAppearanceInverse">@android:style/TextAppearance.Holo.Inverse</item>
803 <item name="textColorPrimary">@android:color/primary_text_holo_dark</item>
804 <item name="textColorSecondary">@android:color/secondary_text_holo_dark</item>
805 <item name="textColorTertiary">@android:color/tertiary_text_holo_dark</item>
806 <item name="textColorPrimaryInverse">@android:color/primary_text_holo_light</item>
807 <item name="textColorSecondaryInverse">@android:color/secondary_text_holo_light</item>
808 <item name="textColorTertiaryInverse">@android:color/tertiary_text_holo_light</item>
809 <item name="textColorPrimaryDisableOnly">@android:color/primary_text_disable_only_holo_dark</item>
810 <item name="textColorPrimaryInverseDisableOnly">@android:color/primary_text_disable_only_holo_light</item>
811 <item name="textColorPrimaryNoDisable">@android:color/primary_text_nodisable_holo_dark</item>
812 <item name="textColorSecondaryNoDisable">@android:color/secondary_text_nodisable_holo_dark</item>
813 <item name="textColorPrimaryInverseNoDisable">@android:color/primary_text_nodisable_holo_light</item>
814 <item name="textColorSecondaryInverseNoDisable">@android:color/secondary_text_nodisable_holo_light</item>
815 <item name="textColorHint">@android:color/hint_foreground_holo_dark</item>
816 <item name="textColorHintInverse">@android:color/hint_foreground_holo_light</item>
817 <item name="textColorSearchUrl">@android:color/search_url_text_holo</item>
818 <item name="textColorHighlight">@android:color/highlighted_text_holo_dark</item>
819 <item name="textColorHighlightInverse">@android:color/highlighted_text_holo_light</item>
820 <item name="textColorLink">@android:color/holo_blue_light</item>
821 <item name="textColorLinkInverse">@android:color/holo_blue_light</item>
822 <item name="textColorAlertDialogListItem">@android:color/primary_text_holo_dark</item>
823 <item name="textAppearanceLarge">@android:style/TextAppearance.Holo.Large</item>
824 <item name="textAppearanceMedium">@android:style/TextAppearance.Holo.Medium</item>
825 <item name="textAppearanceSmall">@android:style/TextAppearance.Holo.Small</item>
826 <item name="textAppearanceLargeInverse">@android:style/TextAppearance.Holo.Large.Inverse</item>
827 <item name="textAppearanceMediumInverse">@android:style/TextAppearance.Holo.Medium.Inverse</item>
828 <item name="textAppearanceSmallInverse">@android:style/TextAppearance.Holo.Small.Inverse</item>
829 <item name="textAppearanceSearchResultTitle">@android:style/TextAppearance.Holo.SearchResult.Title</item>
830 <item name="textAppearanceSearchResultSubtitle">@android:style/TextAppearance.Holo.SearchResult.Subtitle</item>
831 <item name="textAppearanceButton">@android:style/TextAppearance.Holo.Widget.Button</item>
832 <item name="editTextColor">?android:attr/textColorPrimary</item>
833 <item name="editTextBackground">@android:drawable/edit_text_holo_dark</item>
834 <item name="candidatesTextStyleSpans">@android:string/candidates_style</item>
835 <item name="textCheckMark">@android:drawable/indicator_check_mark_dark</item>
836 <item name="textCheckMarkInverse">@android:drawable/indicator_check_mark_light</item>
837 <item name="textAppearanceLargePopupMenu">@android:style/TextAppearance.Holo.Widget.PopupMenu.Large</item>
838 <item name="textAppearanceSmallPopupMenu">@android:style/TextAppearance.Holo.Widget.PopupMenu.Small</item>
839 <!-- Button styles -->
840 <item name="buttonStyle">@android:style/Widget.Holo.Button</item>
841 <item name="buttonStyleSmall">@android:style/Widget.Holo.Button.Small</item>
842 <item name="buttonStyleInset">@android:style/Widget.Holo.Button.Inset</item>
843 <item name="buttonStyleToggle">@android:style/Widget.Holo.Button.Toggle</item>
844 <item name="switchStyle">@android:style/Widget.Holo.CompoundButton.Switch</item>
845 <item name="mediaRouteButtonStyle">@android:style/Widget.Holo.MediaRouteButton</item>
846 <item name="selectableItemBackground">@android:drawable/item_background_holo_dark</item>
847 <item name="borderlessButtonStyle">@android:style/Widget.Holo.Button.Borderless</item>
848 <item name="homeAsUpIndicator">@android:drawable/ic_ab_back_holo_dark</item>
849 <!-- List attributes -->
850 <item name="listPreferredItemHeight">64dip</item>
851 <item name="listPreferredItemHeightSmall">48dip</item>
852 <item name="listPreferredItemHeightLarge">80dip</item>
853 <item name="dropdownListPreferredItemHeight">?android:attr/listPreferredItemHeightSmall</item>
854 <item name="textAppearanceListItemSmall">?android:attr/textAppearanceMedium</item>
855 <item name="listPreferredItemPaddingLeft">8dip</item>
856 <item name="listPreferredItemPaddingRight">8dip</item>
857 <item name="listPreferredItemPaddingStart">8dip</item>
858 <item name="listPreferredItemPaddingEnd">8dip</item>
859 <!-- @hide -->
860 <item name="searchResultListItemHeight">58dip</item>
861 <item name="listDivider">@drawable/list_divider_holo_dark</item>
862 <item name="listSeparatorTextViewStyle">@android:style/Widget.Holo.TextView.ListSeparator</item>
863 <item name="listChoiceIndicatorSingle">@android:drawable/btn_radio_holo_dark</item>
864 <item name="listChoiceIndicatorMultiple">@android:drawable/btn_check_holo_dark</item>
865 <item name="listChoiceBackgroundIndicator">@android:drawable/list_selector_holo_dark</item>
866 <item name="activatedBackgroundIndicator">@android:drawable/activated_background_holo_dark</item>
867 <item name="listDividerAlertDialog">@android:drawable/list_divider_holo_dark</item>
868 <item name="expandableListPreferredItemPaddingLeft">40dip</item>
869 <item name="expandableListPreferredChildPaddingLeft">?android:attr/expandableListPreferredItemPaddingLeft</item>
870 <item name="expandableListPreferredItemIndicatorLeft">3dip</item>
871 <item name="expandableListPreferredItemIndicatorRight">0dip</item>
872 <item name="expandableListPreferredChildIndicatorLeft">?android:attr/expandableListPreferredItemIndicatorLeft</item>
873 <item name="expandableListPreferredChildIndicatorRight">?android:attr/expandableListPreferredItemIndicatorRight</item>
874 <item name="findOnPageNextDrawable">@android:drawable/ic_find_next_holo_dark</item>
875 <item name="findOnPagePreviousDrawable">@android:drawable/ic_find_previous_holo_dark</item>
876 <!-- Gallery attributes -->
877 <item name="galleryItemBackground">@android:drawable/gallery_item_background</item>
878 <!-- Window attributes -->
879 <item name="windowFrame">@null</item>
880 <item name="windowNoTitle">false</item>
881 <item name="windowFullscreen">false</item>
882 <item name="windowOverscan">false</item>
883 <item name="windowIsFloating">false</item>
884 <item name="windowContentOverlay">@null</item>
885 <item name="windowShowWallpaper">false</item>
886 <item name="windowTitleStyle">@android:style/WindowTitle.Holo</item>
887 <item name="windowTitleSize">25dip</item>
888 <item name="windowTitleBackgroundStyle">@android:style/WindowTitleBackground.Holo</item>
889 <item name="android:windowAnimationStyle">@android:style/Animation.Holo.Activity</item>
890 <item name="android:windowSoftInputMode">stateUnspecified|adjustUnspecified</item>
891 <item name="windowActionBar">true</item>
892 <item name="windowActionModeOverlay">false</item>
893 <!-- Dialog attributes -->
894 <item name="dialogTheme">@android:style/Theme.Holo.Dialog</item>
895 <item name="dialogTitleIconsDecorLayout">@layout/dialog_title_icons_holo</item>
896 <item name="dialogCustomTitleDecorLayout">@layout/dialog_custom_title_holo</item>
897 <item name="dialogTitleDecorLayout">@layout/dialog_title_holo</item>
898 <!-- AlertDialog attributes -->
899 <item name="alertDialogTheme">@android:style/Theme.Holo.Dialog.Alert</item>
900 <item name="alertDialogStyle">@android:style/AlertDialog.Holo</item>
901 <item name="alertDialogCenterButtons">false</item>
902 <item name="alertDialogIcon">@android:drawable/ic_dialog_alert_holo_dark</item>
903 <!-- Presentation attributes -->
904 <item name="presentationTheme">@android:style/Theme.Holo.Dialog.Presentation</item>
905 <!-- Toast attributes -->
906 <item name="toastFrameBackground">@android:drawable/toast_frame</item>
907 <!-- Panel attributes -->
908 <item name="panelBackground">@android:drawable/menu_hardkey_panel_holo_dark</item>
909 <item name="panelFullBackground">@android:drawable/menu_background_fill_parent_width</item>
910 <!-- These three attributes do not seems to be used by the framework. Declared public though -->
911 <item name="panelColorBackground">#000</item>
912 <item name="panelColorForeground">?android:attr/textColorPrimary</item>
913 <item name="panelTextAppearance">?android:attr/textAppearance</item>
914 <item name="panelMenuIsCompact">true</item>
915 <item name="panelMenuListWidth">250dip</item>
916 <item name="panelMenuListTheme">@android:style/Theme.Holo.CompactMenu</item>
917 <!-- Scrollbar attributes -->
918 <item name="scrollbarFadeDuration">250</item>
919 <item name="scrollbarDefaultDelayBeforeFade">300</item>
920 <item name="scrollbarSize">10dip</item>
921 <item name="scrollbarThumbHorizontal">@android:drawable/scrollbar_handle_holo_dark</item>
922 <item name="scrollbarThumbVertical">@android:drawable/scrollbar_handle_holo_dark</item>
923 <item name="scrollbarTrackHorizontal">@null</item>
924 <item name="scrollbarTrackVertical">@null</item>
925 <!-- Text selection handle attributes -->
926 <item name="textSelectHandleLeft">@android:drawable/text_select_handle_left</item>
927 <item name="textSelectHandleRight">@android:drawable/text_select_handle_right</item>
928 <item name="textSelectHandle">@android:drawable/text_select_handle_middle</item>
929 <item name="textSelectHandleWindowStyle">@android:style/Widget.Holo.TextSelectHandle</item>
930 <item name="textSuggestionsWindowStyle">@android:style/Widget.Holo.TextSuggestionsPopupWindow</item>
931 <item name="textCursorDrawable">@android:drawable/text_cursor_holo_dark</item>
932 <!-- Widget styles -->
933 <item name="absListViewStyle">@android:style/Widget.Holo.AbsListView</item>
934 <item name="autoCompleteTextViewStyle">@android:style/Widget.Holo.AutoCompleteTextView</item>
935 <item name="checkboxStyle">@android:style/Widget.Holo.CompoundButton.CheckBox</item>
936 <item name="checkedTextViewStyle">@android:style/Widget.Holo.CheckedTextView</item>
937 <item name="dropDownListViewStyle">@android:style/Widget.Holo.ListView.DropDown</item>
938 <item name="editTextStyle">@android:style/Widget.Holo.EditText</item>
939 <item name="expandableListViewStyle">@android:style/Widget.Holo.ExpandableListView</item>
940 <item name="expandableListViewWhiteStyle">@android:style/Widget.Holo.ExpandableListView.White</item>
941 <item name="galleryStyle">@android:style/Widget.Holo.Gallery</item>
942 <item name="gestureOverlayViewStyle">@android:style/Widget.Holo.GestureOverlayView</item>
943 <item name="gridViewStyle">@android:style/Widget.Holo.GridView</item>
944 <item name="imageButtonStyle">@android:style/Widget.Holo.ImageButton</item>
945 <item name="imageWellStyle">@android:style/Widget.Holo.ImageWell</item>
946 <item name="listViewStyle">@android:style/Widget.Holo.ListView</item>
947 <item name="listViewWhiteStyle">@android:style/Widget.Holo.ListView.White</item>
948 <item name="popupWindowStyle">@android:style/Widget.Holo.PopupWindow</item>
949 <item name="progressBarStyle">@android:style/Widget.Holo.ProgressBar</item>
950 <item name="progressBarStyleHorizontal">@android:style/Widget.Holo.ProgressBar.Horizontal</item>
951 <item name="progressBarStyleSmall">@android:style/Widget.Holo.ProgressBar.Small</item>
952 <item name="progressBarStyleSmallTitle">@android:style/Widget.Holo.ProgressBar.Small.Title</item>
953 <item name="progressBarStyleLarge">@android:style/Widget.Holo.ProgressBar.Large</item>
954 <item name="progressBarStyleInverse">@android:style/Widget.Holo.ProgressBar.Inverse</item>
955 <item name="progressBarStyleSmallInverse">@android:style/Widget.Holo.ProgressBar.Small.Inverse</item>
956 <item name="progressBarStyleLargeInverse">@android:style/Widget.Holo.ProgressBar.Large.Inverse</item>
957 <item name="seekBarStyle">@android:style/Widget.Holo.SeekBar</item>
958 <item name="ratingBarStyle">@android:style/Widget.Holo.RatingBar</item>
959 <item name="ratingBarStyleIndicator">@android:style/Widget.Holo.RatingBar.Indicator</item>
960 <item name="ratingBarStyleSmall">@android:style/Widget.Holo.RatingBar.Small</item>
961 <item name="radioButtonStyle">@android:style/Widget.Holo.CompoundButton.RadioButton</item>
962 <item name="scrollViewStyle">@android:style/Widget.Holo.ScrollView</item>
963 <item name="horizontalScrollViewStyle">@android:style/Widget.Holo.HorizontalScrollView</item>
964 <item name="spinnerStyle">?android:attr/dropDownSpinnerStyle</item>
965 <item name="dropDownSpinnerStyle">@android:style/Widget.Holo.Spinner.DropDown</item>
966 <item name="starStyle">@android:style/Widget.Holo.CompoundButton.Star</item>
967 <item name="tabWidgetStyle">@android:style/Widget.Holo.TabWidget</item>
968 <item name="textViewStyle">@android:style/Widget.Holo.TextView</item>
969 <item name="errorMessageBackground">@android:drawable/popup_inline_error_holo_dark</item>
970 <item name="errorMessageAboveBackground">@android:drawable/popup_inline_error_above_holo_dark</item>
971 <item name="webTextViewStyle">@android:style/Widget.Holo.WebTextView</item>
972 <item name="webViewStyle">@android:style/Widget.Holo.WebView</item>
973 <item name="dropDownItemStyle">@android:style/Widget.Holo.DropDownItem</item>
974 <item name="spinnerDropDownItemStyle">@android:style/Widget.Holo.DropDownItem.Spinner</item>
975 <item name="spinnerItemStyle">@android:style/Widget.Holo.TextView.SpinnerItem</item>
976 <item name="dropDownHintAppearance">@android:style/TextAppearance.Holo.Widget.DropDownHint</item>
977 <item name="keyboardViewStyle">@android:style/Widget.Holo.KeyboardView</item>
978 <item name="quickContactBadgeStyleWindowSmall">@android:style/Widget.Holo.QuickContactBadge.WindowSmall</item>
979 <item name="quickContactBadgeStyleWindowMedium">@android:style/Widget.Holo.QuickContactBadge.WindowMedium</item>
980 <item name="quickContactBadgeStyleWindowLarge">@android:style/Widget.Holo.QuickContactBadge.WindowLarge</item>
981 <item name="quickContactBadgeStyleSmallWindowSmall">@android:style/Widget.Holo.QuickContactBadgeSmall.WindowSmall</item>
982 <item name="quickContactBadgeStyleSmallWindowMedium">@android:style/Widget.Holo.QuickContactBadgeSmall.WindowMedium</item>
983 <item name="quickContactBadgeStyleSmallWindowLarge">@android:style/Widget.Holo.QuickContactBadgeSmall.WindowLarge</item>
984 <item name="listPopupWindowStyle">@android:style/Widget.Holo.ListPopupWindow</item>
985 <item name="popupMenuStyle">@android:style/Widget.Holo.PopupMenu</item>
986 <item name="stackViewStyle">@android:style/Widget.Holo.StackView</item>
987 <item name="activityChooserViewStyle">@android:style/Widget.Holo.ActivityChooserView</item>
988 <!-- Preference styles -->
989 <item name="preferenceScreenStyle">@android:style/Preference.Holo.PreferenceScreen</item>
990 <item name="preferenceFragmentStyle">@style/PreferenceFragment.Holo</item>
991 <item name="preferenceCategoryStyle">@android:style/Preference.Holo.Category</item>
992 <item name="preferenceStyle">@android:style/Preference.Holo</item>
993 <item name="preferenceInformationStyle">@android:style/Preference.Holo.Information</item>
994 <item name="checkBoxPreferenceStyle">@android:style/Preference.Holo.CheckBoxPreference</item>
995 <item name="switchPreferenceStyle">@android:style/Preference.Holo.SwitchPreference</item>
996 <item name="yesNoPreferenceStyle">@android:style/Preference.Holo.DialogPreference.YesNoPreference</item>
997 <item name="dialogPreferenceStyle">@android:style/Preference.Holo.DialogPreference</item>
998 <item name="editTextPreferenceStyle">@android:style/Preference.Holo.DialogPreference.EditTextPreference</item>
999 <item name="ringtonePreferenceStyle">@android:style/Preference.Holo.RingtonePreference</item>
1000 <item name="preferenceLayoutChild">@android:layout/preference_child_holo</item>
1001 <item name="detailsElementBackground">@android:drawable/panel_bg_holo_dark</item>
1002 <!-- Search widget styles -->
1003 <item name="searchWidgetCorpusItemBackground">@android:color/search_widget_corpus_item_background</item>
1004 <!-- Action bar styles -->
1005 <item name="actionDropDownStyle">@android:style/Widget.Holo.Spinner.DropDown.ActionBar</item>
1006 <item name="actionButtonStyle">@android:style/Widget.Holo.ActionButton</item>
1007 <item name="actionOverflowButtonStyle">@android:style/Widget.Holo.ActionButton.Overflow</item>
1008 <item name="actionModeBackground">@android:drawable/cab_background_top_holo_dark</item>
1009 <item name="actionModeSplitBackground">@android:drawable/cab_background_bottom_holo_dark</item>
1010 <item name="actionModeCloseDrawable">@android:drawable/ic_cab_done_holo_dark</item>
1011 <item name="actionBarTabStyle">@style/Widget.Holo.ActionBar.TabView</item>
1012 <item name="actionBarTabBarStyle">@style/Widget.Holo.ActionBar.TabBar</item>
1013 <item name="actionBarTabTextStyle">@style/Widget.Holo.ActionBar.TabText</item>
1014 <item name="actionModeStyle">@style/Widget.Holo.ActionMode</item>
1015 <item name="actionModeCloseButtonStyle">@style/Widget.Holo.ActionButton.CloseMode</item>
1016 <item name="actionBarStyle">@android:style/Widget.Holo.ActionBar</item>
1017 <item name="actionBarSize">@dimen/action_bar_default_height</item>
1018 <item name="actionModePopupWindowStyle">@android:style/Widget.Holo.PopupWindow.ActionMode</item>
1019 <item name="actionBarWidgetTheme">@null</item>
1020 <item name="actionModeCutDrawable">@android:drawable/ic_menu_cut_holo_dark</item>
1021 <item name="actionModeCopyDrawable">@android:drawable/ic_menu_copy_holo_dark</item>
1022 <item name="actionModePasteDrawable">@android:drawable/ic_menu_paste_holo_dark</item>
1023 <item name="actionModeSelectAllDrawable">@android:drawable/ic_menu_selectall_holo_dark</item>
1024 <item name="actionModeShareDrawable">@android:drawable/ic_menu_share_holo_dark</item>
1025 <item name="actionModeFindDrawable">@android:drawable/ic_menu_find_holo_dark</item>
1026 <item name="actionModeWebSearchDrawable">@android:drawable/ic_menu_search_holo_dark</item>
1027 <item name="dividerVertical">?android:attr/listDivider</item>
1028 <item name="dividerHorizontal">?android:attr/listDivider</item>
1029 <item name="buttonBarStyle">@android:style/Holo.ButtonBar</item>
1030 <item name="buttonBarButtonStyle">?android:attr/borderlessButtonStyle</item>
1031 <item name="segmentedButtonStyle">@android:style/Holo.SegmentedButton</item>
1032 <!-- SearchView attributes -->
1033 <item name="searchDropdownBackground">@android:drawable/search_dropdown_dark</item>
1034 <item name="searchDialogTheme">@style/Theme.Holo.SearchBar</item>
1035 <!-- PreferenceFrameLayout attributes -->
1036 <item name="preferenceFrameLayoutStyle">@android:style/Widget.Holo.PreferenceFrameLayout</item>
1037 <!-- NumberPicker style-->
1038 <item name="numberPickerStyle">@style/Widget.Holo.NumberPicker</item>
1039 <!-- CalendarView style-->
1040 <item name="calendarViewStyle">@style/Widget.Holo.CalendarView</item>
1041 <!-- TimePicker style -->
1042 <item name="timePickerStyle">@style/Widget.Holo.TimePicker</item>
1043 <!-- DatePicker style -->
1044 <item name="datePickerStyle">@style/Widget.Holo.DatePicker</item>
1045 <item name="fastScrollThumbDrawable">@android:drawable/fastscroll_thumb_holo</item>
1046 <item name="fastScrollPreviewBackgroundLeft">@android:drawable/fastscroll_label_left_holo_dark</item>
1047 <item name="fastScrollPreviewBackgroundRight">@android:drawable/fastscroll_label_right_holo_dark</item>
1048 <item name="fastScrollTrackDrawable">@android:drawable/fastscroll_track_holo_dark</item>
1049 <item name="fastScrollOverlayPosition">atThumb</item>
1050 </style>
1051 <!-- Honeycomb holographic theme (light version). The widgets in the
1052 holographic theme are translucent on their brackground, so applications
1053 must ensure that any background they use with this theme is itself
1054 light; otherwise, it will be difficult to see the widgets. This
1055 UI style also includes a full action bar by default. -->
1056 <style name="Theme.Holo.Light" parent="Theme.Light">
1057 <item name="colorForeground">@android:color/bright_foreground_holo_light</item>
1058 <item name="colorForegroundInverse">@android:color/bright_foreground_inverse_holo_light</item>
1059 <item name="colorBackground">@android:color/background_holo_light</item>
1060 <item name="colorBackgroundCacheHint">@android:drawable/background_cache_hint_selector_holo_light</item>
1061 <item name="disabledAlpha">0.5</item>
1062 <item name="backgroundDimAmount">0.6</item>
1063 <item name="colorPressedHighlight">@color/holo_gray_light</item>
1064 <item name="colorLongPressedHighlight">@color/holo_gray_bright</item>
1065 <item name="colorFocusedHighlight">@color/holo_blue_dark</item>
1066 <item name="colorMultiSelectHighlight">@color/holo_green_light</item>
1067 <item name="colorActivatedHighlight">@color/holo_blue_dark</item>
1068 <!-- Text styles -->
1069 <item name="textAppearance">@android:style/TextAppearance.Holo.Light</item>
1070 <item name="textAppearanceInverse">@android:style/TextAppearance.Holo.Light.Inverse</item>
1071 <item name="textColorPrimary">@android:color/primary_text_holo_light</item>
1072 <item name="textColorSecondary">@android:color/secondary_text_holo_light</item>
1073 <item name="textColorTertiary">@android:color/tertiary_text_holo_light</item>
1074 <item name="textColorPrimaryInverse">@android:color/primary_text_holo_dark</item>
1075 <item name="textColorSecondaryInverse">@android:color/secondary_text_holo_dark</item>
1076 <item name="textColorTertiaryInverse">@android:color/tertiary_text_holo_dark</item>
1077 <item name="textColorPrimaryDisableOnly">@android:color/primary_text_disable_only_holo_light</item>
1078 <item name="textColorPrimaryInverseDisableOnly">@android:color/primary_text_disable_only_holo_dark</item>
1079 <item name="textColorPrimaryNoDisable">@android:color/primary_text_nodisable_holo_light</item>
1080 <item name="textColorSecondaryNoDisable">@android:color/secondary_text_nodisable_holo_light</item>
1081 <item name="textColorPrimaryInverseNoDisable">@android:color/primary_text_nodisable_holo_dark</item>
1082 <item name="textColorSecondaryInverseNoDisable">@android:color/secondary_text_nodisable_holo_dark</item>
1083 <item name="textColorHint">@android:color/hint_foreground_holo_light</item>
1084 <item name="textColorHintInverse">@android:color/hint_foreground_holo_dark</item>
1085 <item name="textColorSearchUrl">@android:color/search_url_text_holo</item>
1086 <item name="textColorHighlight">@android:color/highlighted_text_holo_light</item>
1087 <item name="textColorHighlightInverse">@android:color/highlighted_text_holo_dark</item>
1088 <item name="textColorLink">@android:color/holo_blue_light</item>
1089 <item name="textColorLinkInverse">@android:color/holo_blue_light</item>
1090 <item name="textColorAlertDialogListItem">@android:color/primary_text_holo_light</item>
1091 <item name="textAppearanceLarge">@android:style/TextAppearance.Holo.Light.Large</item>
1092 <item name="textAppearanceMedium">@android:style/TextAppearance.Holo.Light.Medium</item>
1093 <item name="textAppearanceSmall">@android:style/TextAppearance.Holo.Light.Small</item>
1094 <item name="textAppearanceLargeInverse">@android:style/TextAppearance.Holo.Light.Large.Inverse</item>
1095 <item name="textAppearanceMediumInverse">@android:style/TextAppearance.Holo.Light.Medium.Inverse</item>
1096 <item name="textAppearanceSmallInverse">@android:style/TextAppearance.Holo.Light.Small.Inverse</item>
1097 <item name="textAppearanceSearchResultTitle">@android:style/TextAppearance.Holo.Light.SearchResult.Title</item>
1098 <item name="textAppearanceSearchResultSubtitle">@android:style/TextAppearance.Holo.Light.SearchResult.Subtitle</item>
1099 <item name="textAppearanceButton">@android:style/TextAppearance.Holo.Light.Widget.Button</item>
1100 <item name="editTextColor">?android:attr/textColorPrimary</item>
1101 <item name="editTextBackground">@android:drawable/edit_text_holo_light</item>
1102 <item name="candidatesTextStyleSpans">@android:string/candidates_style</item>
1103 <item name="textCheckMark">@android:drawable/indicator_check_mark_light</item>
1104 <item name="textCheckMarkInverse">@android:drawable/indicator_check_mark_dark</item>
1105 <item name="textAppearanceLargePopupMenu">@android:style/TextAppearance.Holo.Light.Widget.PopupMenu.Large</item>
1106 <item name="textAppearanceSmallPopupMenu">@android:style/TextAppearance.Holo.Light.Widget.PopupMenu.Small</item>
1107 <!-- Button styles -->
1108 <item name="buttonStyle">@android:style/Widget.Holo.Light.Button</item>
1109 <item name="buttonStyleSmall">@android:style/Widget.Holo.Light.Button.Small</item>
1110 <item name="buttonStyleInset">@android:style/Widget.Holo.Light.Button.Inset</item>
1111 <item name="buttonStyleToggle">@android:style/Widget.Holo.Light.Button.Toggle</item>
1112 <item name="switchStyle">@android:style/Widget.Holo.Light.CompoundButton.Switch</item>
1113 <item name="mediaRouteButtonStyle">@android:style/Widget.Holo.Light.MediaRouteButton</item>
1114 <item name="selectableItemBackground">@android:drawable/item_background_holo_light</item>
1115 <item name="borderlessButtonStyle">@android:style/Widget.Holo.Light.Button.Borderless</item>
1116 <item name="homeAsUpIndicator">@android:drawable/ic_ab_back_holo_light</item>
1117 <!-- List attributes -->
1118 <item name="listPreferredItemHeight">64dip</item>
1119 <item name="listPreferredItemHeightSmall">48dip</item>
1120 <item name="listPreferredItemHeightLarge">80dip</item>
1121 <item name="dropdownListPreferredItemHeight">?android:attr/listPreferredItemHeightSmall</item>
1122 <item name="textAppearanceListItemSmall">?android:attr/textAppearanceMedium</item>
1123 <item name="listPreferredItemPaddingLeft">8dip</item>
1124 <item name="listPreferredItemPaddingRight">8dip</item>
1125 <item name="listPreferredItemPaddingStart">8dip</item>
1126 <item name="listPreferredItemPaddingEnd">8dip</item>
1127 <!-- @hide -->
1128 <item name="searchResultListItemHeight">58dip</item>
1129 <item name="listDivider">@drawable/list_divider_holo_light</item>
1130 <item name="listSeparatorTextViewStyle">@android:style/Widget.Holo.Light.TextView.ListSeparator</item>
1131 <item name="listChoiceIndicatorSingle">@android:drawable/btn_radio_holo_light</item>
1132 <item name="listChoiceIndicatorMultiple">@android:drawable/btn_check_holo_light</item>
1133 <item name="listChoiceBackgroundIndicator">@android:drawable/list_selector_holo_light</item>
1134 <item name="activatedBackgroundIndicator">@android:drawable/activated_background_holo_light</item>
1135 <item name="expandableListPreferredItemPaddingLeft">40dip</item>
1136 <item name="expandableListPreferredChildPaddingLeft">?android:attr/expandableListPreferredItemPaddingLeft</item>
1137 <item name="expandableListPreferredItemIndicatorLeft">3dip</item>
1138 <item name="expandableListPreferredItemIndicatorRight">0dip</item>
1139 <item name="expandableListPreferredChildIndicatorLeft">?android:attr/expandableListPreferredItemIndicatorLeft</item>
1140 <item name="expandableListPreferredChildIndicatorRight">?android:attr/expandableListPreferredItemIndicatorRight</item>
1141 <item name="listDividerAlertDialog">@android:drawable/list_divider_holo_light</item>
1142 <item name="findOnPageNextDrawable">@android:drawable/ic_find_next_holo_light</item>
1143 <item name="findOnPagePreviousDrawable">@android:drawable/ic_find_previous_holo_light</item>
1144 <!-- Gallery attributes -->
1145 <item name="galleryItemBackground">@android:drawable/gallery_item_background</item>
1146 <!-- Window attributes -->
1147 <item name="windowFrame">@null</item>
1148 <item name="windowNoTitle">false</item>
1149 <item name="windowFullscreen">false</item>
1150 <item name="windowOverscan">false</item>
1151 <item name="windowIsFloating">false</item>
1152 <item name="android:windowContentOverlay">@android:drawable/ab_solid_shadow_holo</item>
1153 <item name="windowShowWallpaper">false</item>
1154 <item name="windowTitleStyle">@android:style/WindowTitle.Holo</item>
1155 <item name="windowTitleSize">25dip</item>
1156 <item name="windowTitleBackgroundStyle">@android:style/WindowTitleBackground.Holo</item>
1157 <item name="android:windowAnimationStyle">@android:style/Animation.Holo.Activity</item>
1158 <item name="android:windowSoftInputMode">stateUnspecified|adjustUnspecified</item>
1159 <item name="windowActionBar">true</item>
1160 <item name="windowActionModeOverlay">false</item>
1161 <!-- Dialog attributes -->
1162 <item name="dialogTheme">@android:style/Theme.Holo.Light.Dialog</item>
1163 <item name="dialogTitleIconsDecorLayout">@layout/dialog_title_icons_holo</item>
1164 <item name="dialogCustomTitleDecorLayout">@layout/dialog_custom_title_holo</item>
1165 <item name="dialogTitleDecorLayout">@layout/dialog_title_holo</item>
1166 <!-- AlertDialog attributes -->
1167 <item name="alertDialogTheme">@android:style/Theme.Holo.Light.Dialog.Alert</item>
1168 <item name="alertDialogStyle">@android:style/AlertDialog.Holo.Light</item>
1169 <item name="alertDialogCenterButtons">false</item>
1170 <item name="alertDialogIcon">@android:drawable/ic_dialog_alert_holo_light</item>
1171 <!-- Presentation attributes -->
1172 <item name="presentationTheme">@android:style/Theme.Holo.Light.Dialog.Presentation</item>
1173 <!-- Toast attributes -->
1174 <item name="toastFrameBackground">@android:drawable/toast_frame</item>
1175 <!-- Panel attributes -->
1176 <item name="panelBackground">@android:drawable/menu_hardkey_panel_holo_light</item>
1177 <item name="panelFullBackground">@android:drawable/menu_background_fill_parent_width</item>
1178 <!-- These three attributes do not seems to be used by the framework. Declared public though -->
1179 <item name="panelColorBackground">#000</item>
1180 <item name="panelColorForeground">?android:attr/textColorPrimary</item>
1181 <item name="panelTextAppearance">?android:attr/textAppearance</item>
1182 <item name="panelMenuIsCompact">true</item>
1183 <item name="panelMenuListWidth">250dip</item>
1184 <item name="panelMenuListTheme">@android:style/Theme.Holo.Light.CompactMenu</item>
1185 <!-- Scrollbar attributes -->
1186 <item name="scrollbarFadeDuration">250</item>
1187 <item name="scrollbarDefaultDelayBeforeFade">300</item>
1188 <item name="scrollbarSize">10dip</item>
1189 <item name="scrollbarThumbHorizontal">@android:drawable/scrollbar_handle_holo_light</item>
1190 <item name="scrollbarThumbVertical">@android:drawable/scrollbar_handle_holo_light</item>
1191 <item name="scrollbarTrackHorizontal">@null</item>
1192 <item name="scrollbarTrackVertical">@null</item>
1193 <!-- Text selection handle attributes -->
1194 <item name="textSelectHandleLeft">@android:drawable/text_select_handle_left</item>
1195 <item name="textSelectHandleRight">@android:drawable/text_select_handle_right</item>
1196 <item name="textSelectHandle">@android:drawable/text_select_handle_middle</item>
1197 <item name="textSelectHandleWindowStyle">@android:style/Widget.Holo.TextSelectHandle</item>
1198 <item name="textSuggestionsWindowStyle">@android:style/Widget.Holo.Light.TextSuggestionsPopupWindow</item>
1199 <item name="textCursorDrawable">@android:drawable/text_cursor_holo_light</item>
1200 <!-- Widget styles -->
1201 <item name="absListViewStyle">@android:style/Widget.Holo.Light.AbsListView</item>
1202 <item name="autoCompleteTextViewStyle">@android:style/Widget.Holo.Light.AutoCompleteTextView</item>
1203 <item name="checkboxStyle">@android:style/Widget.Holo.Light.CompoundButton.CheckBox</item>
1204 <item name="checkedTextViewStyle">@android:style/Widget.Holo.Light.CheckedTextView</item>
1205 <item name="dropDownListViewStyle">@android:style/Widget.Holo.ListView.DropDown</item>
1206 <item name="editTextStyle">@android:style/Widget.Holo.Light.EditText</item>
1207 <item name="expandableListViewStyle">@android:style/Widget.Holo.Light.ExpandableListView</item>
1208 <item name="expandableListViewWhiteStyle">@android:style/Widget.Holo.Light.ExpandableListView.White</item>
1209 <item name="galleryStyle">@android:style/Widget.Holo.Light.Gallery</item>
1210 <item name="gestureOverlayViewStyle">@android:style/Widget.Holo.Light.GestureOverlayView</item>
1211 <item name="gridViewStyle">@android:style/Widget.Holo.Light.GridView</item>
1212 <item name="imageButtonStyle">@android:style/Widget.Holo.Light.ImageButton</item>
1213 <item name="imageWellStyle">@android:style/Widget.Holo.Light.ImageWell</item>
1214 <item name="listViewStyle">@android:style/Widget.Holo.Light.ListView</item>
1215 <item name="listViewWhiteStyle">@android:style/Widget.Holo.Light.ListView.White</item>
1216 <item name="popupWindowStyle">@android:style/Widget.Holo.Light.PopupWindow</item>
1217 <item name="progressBarStyle">@android:style/Widget.Holo.Light.ProgressBar</item>
1218 <item name="progressBarStyleHorizontal">@android:style/Widget.Holo.Light.ProgressBar.Horizontal</item>
1219 <item name="progressBarStyleSmall">@android:style/Widget.Holo.Light.ProgressBar.Small</item>
1220 <item name="progressBarStyleSmallTitle">@android:style/Widget.Holo.Light.ProgressBar.Small.Title</item>
1221 <item name="progressBarStyleLarge">@android:style/Widget.Holo.Light.ProgressBar.Large</item>
1222 <item name="progressBarStyleInverse">@android:style/Widget.Holo.Light.ProgressBar.Inverse</item>
1223 <item name="progressBarStyleSmallInverse">@android:style/Widget.Holo.Light.ProgressBar.Small.Inverse</item>
1224 <item name="progressBarStyleLargeInverse">@android:style/Widget.Holo.Light.ProgressBar.Large.Inverse</item>
1225 <item name="seekBarStyle">@android:style/Widget.Holo.Light.SeekBar</item>
1226 <item name="ratingBarStyle">@android:style/Widget.Holo.Light.RatingBar</item>
1227 <item name="ratingBarStyleIndicator">@android:style/Widget.Holo.Light.RatingBar.Indicator</item>
1228 <item name="ratingBarStyleSmall">@android:style/Widget.Holo.Light.RatingBar.Small</item>
1229 <item name="radioButtonStyle">@android:style/Widget.Holo.Light.CompoundButton.RadioButton</item>
1230 <item name="scrollViewStyle">@android:style/Widget.Holo.Light.ScrollView</item>
1231 <item name="horizontalScrollViewStyle">@android:style/Widget.Holo.Light.HorizontalScrollView</item>
1232 <item name="spinnerStyle">?android:attr/dropDownSpinnerStyle</item>
1233 <item name="dropDownSpinnerStyle">@android:style/Widget.Holo.Light.Spinner.DropDown</item>
1234 <item name="starStyle">@android:style/Widget.Holo.Light.CompoundButton.Star</item>
1235 <item name="tabWidgetStyle">@android:style/Widget.Holo.Light.TabWidget</item>
1236 <item name="textViewStyle">@android:style/Widget.Holo.Light.TextView</item>
1237 <item name="errorMessageBackground">@android:drawable/popup_inline_error_holo_light</item>
1238 <item name="errorMessageAboveBackground">@android:drawable/popup_inline_error_above_holo_light</item>
1239 <item name="webTextViewStyle">@android:style/Widget.Holo.Light.WebTextView</item>
1240 <item name="webViewStyle">@android:style/Widget.Holo.Light.WebView</item>
1241 <item name="dropDownItemStyle">@android:style/Widget.Holo.Light.DropDownItem</item>
1242 <item name="spinnerDropDownItemStyle">@android:style/Widget.Holo.Light.DropDownItem.Spinner</item>
1243 <item name="spinnerItemStyle">@android:style/Widget.Holo.TextView.SpinnerItem</item>
1244 <item name="dropDownHintAppearance">@android:style/TextAppearance.Holo.Widget.DropDownHint</item>
1245 <item name="keyboardViewStyle">@android:style/Widget.Holo.KeyboardView</item>
1246 <item name="quickContactBadgeStyleWindowSmall">@android:style/Widget.Holo.QuickContactBadge.WindowSmall</item>
1247 <item name="quickContactBadgeStyleWindowMedium">@android:style/Widget.Holo.QuickContactBadge.WindowMedium</item>
1248 <item name="quickContactBadgeStyleWindowLarge">@android:style/Widget.Holo.QuickContactBadge.WindowLarge</item>
1249 <item name="quickContactBadgeStyleSmallWindowSmall">@android:style/Widget.Holo.QuickContactBadgeSmall.WindowSmall</item>
1250 <item name="quickContactBadgeStyleSmallWindowMedium">@android:style/Widget.Holo.QuickContactBadgeSmall.WindowMedium</item>
1251 <item name="quickContactBadgeStyleSmallWindowLarge">@android:style/Widget.Holo.QuickContactBadgeSmall.WindowLarge</item>
1252 <item name="listPopupWindowStyle">@android:style/Widget.Holo.Light.ListPopupWindow</item>
1253 <item name="popupMenuStyle">@android:style/Widget.Holo.Light.PopupMenu</item>
1254 <item name="stackViewStyle">@android:style/Widget.Holo.StackView</item>
1255 <item name="activityChooserViewStyle">@android:style/Widget.Holo.Light.ActivityChooserView</item>
1256 <!-- Preference styles -->
1257 <item name="preferenceScreenStyle">@android:style/Preference.Holo.PreferenceScreen</item>
1258 <item name="preferenceFragmentStyle">@style/PreferenceFragment.Holo</item>
1259 <item name="preferenceCategoryStyle">@android:style/Preference.Holo.Category</item>
1260 <item name="preferenceStyle">@android:style/Preference.Holo</item>
1261 <item name="preferenceInformationStyle">@android:style/Preference.Holo.Information</item>
1262 <item name="checkBoxPreferenceStyle">@android:style/Preference.Holo.CheckBoxPreference</item>
1263 <item name="switchPreferenceStyle">@android:style/Preference.Holo.SwitchPreference</item>
1264 <item name="yesNoPreferenceStyle">@android:style/Preference.Holo.DialogPreference.YesNoPreference</item>
1265 <item name="dialogPreferenceStyle">@android:style/Preference.Holo.DialogPreference</item>
1266 <item name="editTextPreferenceStyle">@android:style/Preference.Holo.DialogPreference.EditTextPreference</item>
1267 <item name="ringtonePreferenceStyle">@android:style/Preference.Holo.RingtonePreference</item>
1268 <item name="preferenceLayoutChild">@android:layout/preference_child_holo</item>
1269 <item name="detailsElementBackground">@android:drawable/panel_bg_holo_light</item>
1270 <!-- PreferenceFrameLayout attributes -->
1271 <item name="preferenceFrameLayoutStyle">@android:style/Widget.Holo.PreferenceFrameLayout</item>
1272 <!-- Search widget styles -->
1273 <item name="searchWidgetCorpusItemBackground">@android:color/search_widget_corpus_item_background</item>
1274 <!-- Action bar styles -->
1275 <item name="actionDropDownStyle">@android:style/Widget.Holo.Light.Spinner.DropDown.ActionBar</item>
1276 <item name="actionButtonStyle">@android:style/Widget.Holo.Light.ActionButton</item>
1277 <item name="actionOverflowButtonStyle">@android:style/Widget.Holo.Light.ActionButton.Overflow</item>
1278 <item name="actionModeBackground">@android:drawable/cab_background_top_holo_light</item>
1279 <item name="actionModeSplitBackground">@android:drawable/cab_background_bottom_holo_light</item>
1280 <item name="actionModeCloseDrawable">@android:drawable/ic_cab_done_holo_light</item>
1281 <item name="actionBarTabStyle">@style/Widget.Holo.Light.ActionBar.TabView</item>
1282 <item name="actionBarTabBarStyle">@style/Widget.Holo.Light.ActionBar.TabBar</item>
1283 <item name="actionBarTabTextStyle">@style/Widget.Holo.Light.ActionBar.TabText</item>
1284 <item name="actionModeStyle">@style/Widget.Holo.Light.ActionMode</item>
1285 <item name="actionModeCloseButtonStyle">@style/Widget.Holo.Light.ActionButton.CloseMode</item>
1286 <item name="android:actionBarStyle">@android:style/Widget.Holo.Light.ActionBar.Solid</item>
1287 <item name="actionBarSize">@dimen/action_bar_default_height</item>
1288 <item name="actionModePopupWindowStyle">@android:style/Widget.Holo.Light.PopupWindow.ActionMode</item>
1289 <item name="actionBarWidgetTheme">@null</item>
1290 <item name="actionModeCutDrawable">@android:drawable/ic_menu_cut_holo_light</item>
1291 <item name="actionModeCopyDrawable">@android:drawable/ic_menu_copy_holo_light</item>
1292 <item name="actionModePasteDrawable">@android:drawable/ic_menu_paste_holo_light</item>
1293 <item name="actionModeSelectAllDrawable">@android:drawable/ic_menu_selectall_holo_light</item>
1294 <item name="actionModeShareDrawable">@android:drawable/ic_menu_share_holo_light</item>
1295 <item name="actionModeFindDrawable">@android:drawable/ic_menu_find_holo_light</item>
1296 <item name="actionModeWebSearchDrawable">@android:drawable/ic_menu_search_holo_light</item>
1297 <item name="dividerVertical">?android:attr/listDivider</item>
1298 <item name="dividerHorizontal">?android:attr/listDivider</item>
1299 <item name="buttonBarStyle">@android:style/Holo.Light.ButtonBar</item>
1300 <item name="buttonBarButtonStyle">?android:attr/borderlessButtonStyle</item>
1301 <item name="segmentedButtonStyle">@android:style/Holo.Light.SegmentedButton</item>
1302 <!-- SearchView attributes -->
1303 <item name="searchDropdownBackground">@android:drawable/search_dropdown_light</item>
1304 <item name="searchDialogTheme">@style/Theme.Holo.Light.SearchBar</item>
1305 <!-- NumberPicker style-->
1306 <item name="numberPickerStyle">@style/Widget.Holo.Light.NumberPicker</item>
1307 <!-- CalendarView style-->
1308 <item name="calendarViewStyle">@style/Widget.Holo.Light.CalendarView</item>
1309 <!-- TimePicker style -->
1310 <item name="timePickerStyle">@style/Widget.Holo.Light.TimePicker</item>
1311 <!-- DatePicker style -->
1312 <item name="datePickerStyle">@style/Widget.Holo.Light.DatePicker</item>
1313 <item name="fastScrollThumbDrawable">@android:drawable/fastscroll_thumb_holo</item>
1314 <item name="fastScrollPreviewBackgroundLeft">@android:drawable/fastscroll_label_left_holo_light</item>
1315 <item name="fastScrollPreviewBackgroundRight">@android:drawable/fastscroll_label_right_holo_light</item>
1316 <item name="fastScrollTrackDrawable">@android:drawable/fastscroll_track_holo_light</item>
1317 <item name="fastScrollOverlayPosition">atThumb</item>
1318 </style>
1319 <!-- Variant of the holographic (light) theme that has a solid (opaque) action bar
1320 with an inverse color profile. The dark action bar sharply stands out against
1321 the light content. -->
1322 <style name="Theme.Holo.Light.DarkActionBar">
1323 <item name="android:windowContentOverlay">@android:drawable/ab_solid_shadow_holo</item>
1324 <item name="android:actionBarStyle">@android:style/Widget.Holo.Light.ActionBar.Solid.Inverse</item>
1325 <item name="actionBarWidgetTheme">@android:style/Theme.Holo</item>
1326 <item name="actionDropDownStyle">@android:style/Widget.Holo.Spinner.DropDown.ActionBar</item>
1327 <item name="actionButtonStyle">@android:style/Widget.Holo.ActionButton</item>
1328 <item name="actionOverflowButtonStyle">@android:style/Widget.Holo.ActionButton.Overflow</item>
1329 <item name="actionModeBackground">@android:drawable/cab_background_top_holo_dark</item>
1330 <item name="actionModeSplitBackground">@android:drawable/cab_background_bottom_holo_dark</item>
1331 <item name="actionModeCloseDrawable">@android:drawable/ic_cab_done_holo_dark</item>
1332 <item name="homeAsUpIndicator">@android:drawable/ic_ab_back_holo_dark</item>
1333 <item name="actionBarTabStyle">@style/Widget.Holo.Light.ActionBar.TabView.Inverse</item>
1334 <item name="actionBarTabBarStyle">@style/Widget.Holo.Light.ActionBar.TabBar.Inverse</item>
1335 <item name="actionBarTabTextStyle">@style/Widget.Holo.Light.ActionBar.TabText.Inverse</item>
1336 <item name="actionBarDivider">@android:drawable/list_divider_holo_dark</item>
1337 <item name="actionBarItemBackground">@android:drawable/item_background_holo_dark</item>
1338 <item name="actionMenuTextColor">?android:attr/textColorPrimaryInverse</item>
1339 <item name="actionModeStyle">@style/Widget.Holo.Light.ActionMode.Inverse</item>
1340 <item name="actionModeCloseButtonStyle">@style/Widget.Holo.ActionButton.CloseMode</item>
1341 <item name="actionModePopupWindowStyle">@android:style/Widget.Holo.PopupWindow.ActionMode</item>
1342 <item name="actionModeCutDrawable">@android:drawable/ic_menu_cut_holo_dark</item>
1343 <item name="actionModeCopyDrawable">@android:drawable/ic_menu_copy_holo_dark</item>
1344 <item name="actionModePasteDrawable">@android:drawable/ic_menu_paste_holo_dark</item>
1345 <item name="actionModeSelectAllDrawable">@android:drawable/ic_menu_selectall_holo_dark</item>
1346 <item name="actionModeShareDrawable">@android:drawable/ic_menu_share_holo_dark</item>
1347 <item name="actionModeFindDrawable">@android:drawable/ic_menu_find_holo_dark</item>
1348 <item name="actionModeWebSearchDrawable">@android:drawable/ic_menu_search_holo_dark</item>
1349 </style>
1350 <!-- Variant of the holographic (dark) theme with no action bar. -->
1351 <style name="Theme.Holo.NoActionBar">
1352 <item name="android:windowActionBar">false</item>
1353 <item name="android:windowNoTitle">true</item>
1354 </style>
1355 <!-- Variant of the holographic (dark) theme that has no title bar and fills
1356 the entire screen. This theme
1357 sets {@link android.R.attr#windowFullscreen} to true. -->
1358 <style name="Theme.Holo.NoActionBar.Fullscreen">
1359 <item name="android:windowFullscreen">true</item>
1360 <item name="android:windowContentOverlay">@null</item>
1361 </style>
1362 <!-- Variant of the holographic (dark) theme that has no title bar and fills
1363 the entire screen and extends into the display overscan region. This theme
1364 sets {@link android.R.attr#windowFullscreen} and {@link android.R.attr#windowOverscan}
1365 to true. -->
1366 <style name="Theme.Holo.NoActionBar.Overscan">
1367 <item name="android:windowFullscreen">true</item>
1368 <item name="android:windowOverscan">true</item>
1369 <item name="android:windowContentOverlay">@null</item>
1370 </style>
1371 <!-- Variant of the holographic (dark) theme that has no title bar and translucent
1372 system decor. This theme sets {@link android.R.attr#windowTranslucentStatus} and
1373 {@link android.R.attr#windowTranslucentNavigation} to true. -->
1374 <style name="Theme.Holo.NoActionBar.TranslucentDecor">
1375 <item name="android:windowTranslucentStatus">true</item>
1376 <item name="android:windowTranslucentNavigation">true</item>
1377 <item name="android:windowContentOverlay">@null</item>
1378 </style>
1379 <!-- Variant of the holographic (light) theme with no action bar. -->
1380 <style name="Theme.Holo.Light.NoActionBar">
1381 <item name="android:windowActionBar">false</item>
1382 <item name="android:windowNoTitle">true</item>
1383 </style>
1384 <!-- Variant of the holographic (light) theme that has no title bar and fills
1385 the entire screen. This theme
1386 sets {@link android.R.attr#windowFullscreen} to true. -->
1387 <style name="Theme.Holo.Light.NoActionBar.Fullscreen">
1388 <item name="android:windowFullscreen">true</item>
1389 <item name="android:windowContentOverlay">@null</item>
1390 </style>
1391 <!-- Variant of the holographic (light) theme that has no title bar and fills
1392 the entire screen and extends into the display overscan region. This theme
1393 sets {@link android.R.attr#windowFullscreen} and {@link android.R.attr#windowOverscan}
1394 to true. -->
1395 <style name="Theme.Holo.Light.NoActionBar.Overscan">
1396 <item name="android:windowFullscreen">true</item>
1397 <item name="android:windowOverscan">true</item>
1398 <item name="android:windowContentOverlay">@null</item>
1399 </style>
1400 <!-- Variant of the holographic (light) theme that has no title bar and translucent
1401 system decor. This theme sets {@link android.R.attr#windowTranslucentStatus} and
1402 {@link android.R.attr#windowTranslucentNavigation} to true. -->
1403 <style name="Theme.Holo.Light.NoActionBar.TranslucentDecor">
1404 <item name="android:windowTranslucentStatus">true</item>
1405 <item name="android:windowTranslucentNavigation">true</item>
1406 <item name="android:windowContentOverlay">@null</item>
1407 </style>
1408 <!-- Dialog themes for Holo -->
1409 <eat-comment />
1410 <!-- Holo theme for dialog windows and activities, which is used by the
1411 {@link android.app.Dialog} class. This changes the window to be
1412 floating (not fill the entire screen), and puts a frame around its
1413 contents. You can set this theme on an activity if you would like to
1414 make an activity that looks like a Dialog.
1415 This is the default Dialog theme for applications targeting Honeycomb
1416 or newer. -->
1417 <style name="Theme.Holo.Dialog">
1418 <item name="android:windowFrame">@null</item>
1419 <item name="android:windowTitleStyle">@android:style/DialogWindowTitle.Holo</item>
1420 <item name="android:windowBackground">@android:drawable/dialog_full_holo_dark</item>
1421 <item name="android:windowIsFloating">true</item>
1422 <item name="android:windowContentOverlay">@null</item>
1423 <item name="android:windowAnimationStyle">@android:style/Animation.Holo.Dialog</item>
1424 <item name="android:windowSoftInputMode">stateUnspecified|adjustPan</item>
1425 <item name="android:windowActionBar">false</item>
1426 <item name="android:windowActionModeOverlay">true</item>
1427 <item name="android:windowCloseOnTouchOutside">@bool/config_closeDialogWhenTouchOutside</item>
1428 <item name="android:colorBackgroundCacheHint">@null</item>
1429 <item name="android:buttonBarStyle">@android:style/Holo.ButtonBar.AlertDialog</item>
1430 <item name="borderlessButtonStyle">@android:style/Widget.Holo.Button.Borderless.Small</item>
1431 <item name="textAppearance">@android:style/TextAppearance.Holo</item>
1432 <item name="textAppearanceInverse">@android:style/TextAppearance.Holo.Inverse</item>
1433 <item name="listPreferredItemPaddingLeft">16dip</item>
1434 <item name="listPreferredItemPaddingRight">16dip</item>
1435 <item name="listPreferredItemPaddingStart">16dip</item>
1436 <item name="listPreferredItemPaddingEnd">16dip</item>
1437 <item name="preferencePanelStyle">@style/PreferencePanel.Dialog</item>
1438 </style>
1439 <!-- Variant of Theme.Holo.Dialog that has a nice minimum width for
1440 a regular dialog. -->
1441 <style name="Theme.Holo.Dialog.MinWidth">
1442 <item name="android:windowMinWidthMajor">@android:dimen/dialog_min_width_major</item>
1443 <item name="android:windowMinWidthMinor">@android:dimen/dialog_min_width_minor</item>
1444 </style>
1445 <!-- Variant of Theme.Holo.Dialog that does not include a title bar. -->
1446 <style name="Theme.Holo.Dialog.NoActionBar">
1447 <item name="android:windowActionBar">false</item>
1448 <item name="android:windowNoTitle">true</item>
1449 </style>
1450 <!-- Variant of Theme.Holo.Dialog.NoActionBar that has a nice minimum width for
1451 a regular dialog. -->
1452 <style name="Theme.Holo.Dialog.NoActionBar.MinWidth">
1453 <item name="android:windowMinWidthMajor">@android:dimen/dialog_min_width_major</item>
1454 <item name="android:windowMinWidthMinor">@android:dimen/dialog_min_width_minor</item>
1455 </style>
1456 <!-- Variant of Theme.Holo.Dialog that has a fixed size. -->
1457 <style name="Theme.Holo.Dialog.FixedSize">
1458 <item name="windowFixedWidthMajor">@android:dimen/dialog_fixed_width_major</item>
1459 <item name="windowFixedWidthMinor">@android:dimen/dialog_fixed_width_minor</item>
1460 <item name="windowFixedHeightMajor">@android:dimen/dialog_fixed_height_major</item>
1461 <item name="windowFixedHeightMinor">@android:dimen/dialog_fixed_height_minor</item>
1462 </style>
1463 <!-- Variant of Theme.Holo.Dialog.NoActionBar that has a fixed size. -->
1464 <style name="Theme.Holo.Dialog.NoActionBar.FixedSize">
1465 <item name="windowFixedWidthMajor">@android:dimen/dialog_fixed_width_major</item>
1466 <item name="windowFixedWidthMinor">@android:dimen/dialog_fixed_width_minor</item>
1467 <item name="windowFixedHeightMajor">@android:dimen/dialog_fixed_height_major</item>
1468 <item name="windowFixedHeightMinor">@android:dimen/dialog_fixed_height_minor</item>
1469 </style>
1470 <!-- Variant of Theme.Holo.Dialog that does not include a frame (or background).
1471 The view hierarchy of the dialog is responsible for drawing all of
1472 its pixels. -->
1473 <style name="Theme.Holo.Dialog.NoFrame">
1474 <item name="windowBackground">@android:color/transparent</item>
1475 <item name="android:windowFrame">@null</item>
1476 <item name="windowContentOverlay">@null</item>
1477 <item name="android:windowAnimationStyle">@null</item>
1478 <item name="android:backgroundDimEnabled">false</item>
1479 <item name="android:windowIsTranslucent">true</item>
1480 <item name="android:windowNoTitle">true</item>
1481 <item name="android:windowCloseOnTouchOutside">false</item>
1482 </style>
1483 <!-- Holo theme for alert dialog windows, which is used by the
1484 {@link android.app.AlertDialog} class. This is basically a dialog
1485 but sets the background to empty so it can do two-tone backgrounds.
1486 For applications targeting Honeycomb or newer, this is the default
1487 AlertDialog theme. -->
1488 <style name="Theme.Holo.Dialog.Alert">
1489 <item name="windowBackground">@android:color/transparent</item>
1490 <item name="windowTitleStyle">@android:style/DialogWindowTitle.Holo</item>
1491 <item name="windowContentOverlay">@null</item>
1492 <item name="android:windowMinWidthMajor">@android:dimen/dialog_min_width_major</item>
1493 <item name="android:windowMinWidthMinor">@android:dimen/dialog_min_width_minor</item>
1494 </style>
1495 <!-- Theme for a window that will be displayed either full-screen on
1496 smaller screens (small, normal) or as a dialog on larger screens
1497 (large, xlarge). -->
1498 <style name="Theme.Holo.DialogWhenLarge" parent="@android:style/Theme.Holo">
1499 </style>
1500 <!-- Theme for a window without a title bar that will be displayed either

1501 full-screen on smaller screens (small, normal) or as a dialog on larger screens
1502 (large, xlarge). -->
1503 <style name="Theme.Holo.DialogWhenLarge.NoActionBar" parent="@android:style/Theme.Holo.NoActionBar">
1504 </style>
1505 <!-- Theme for a presentation window on a secondary display. -->
1506 <style name="Theme.Holo.Dialog.Presentation" parent="@android:style/Theme.Holo.NoActionBar.Fullscreen">
1507 </style>
1508 <!-- Light holo dialog themes -->
1509 <!-- Holo light theme for dialog windows and activities, which is used by the
1510 {@link android.app.Dialog} class. This changes the window to be
1511 floating (not fill the entire screen), and puts a frame around its
1512 contents. You can set this theme on an activity if you would like to
1513 make an activity that looks like a Dialog.
1514 This is the default Dialog theme for applications targeting Honeycomb
1515 or newer. -->
1516 <style name="Theme.Holo.Light.Dialog">
1517 <item name="android:windowFrame">@null</item>
1518 <item name="android:windowTitleStyle">@android:style/DialogWindowTitle.Holo.Light</item>
1519 <item name="android:windowBackground">@android:drawable/dialog_full_holo_light</item>
1520 <item name="android:windowIsFloating">true</item>
1521 <item name="android:windowContentOverlay">@null</item>
1522 <item name="android:windowAnimationStyle">@android:style/Animation.Holo.Dialog</item>
1523 <item name="android:windowSoftInputMode">stateUnspecified|adjustPan</item>
1524 <item name="android:windowActionBar">false</item>
1525 <item name="android:windowActionModeOverlay">true</item>
1526 <item name="android:windowCloseOnTouchOutside">@bool/config_closeDialogWhenTouchOutside</item>
1527 <item name="android:colorBackgroundCacheHint">@null</item>
1528 <item name="android:buttonBarStyle">@android:style/Holo.Light.ButtonBar.AlertDialog</item>
1529 <item name="borderlessButtonStyle">@android:style/Widget.Holo.Light.Button.Borderless.Small</item>
1530 <item name="textAppearance">@android:style/TextAppearance.Holo.Light</item>
1531 <item name="textAppearanceInverse">@android:style/TextAppearance.Holo.Light.Inverse</item>
1532 <item name="listPreferredItemPaddingLeft">16dip</item>
1533 <item name="listPreferredItemPaddingRight">16dip</item>
1534 <item name="listPreferredItemPaddingStart">16dip</item>
1535 <item name="listPreferredItemPaddingEnd">16dip</item>
1536 <item name="preferencePanelStyle">@style/PreferencePanel.Dialog</item>
1537 </style>
1538 <!-- Variant of Theme.Holo.Light.Dialog that has a nice minimum width for
1539 a regular dialog. -->
1540 <style name="Theme.Holo.Light.Dialog.MinWidth">
1541 <item name="android:windowMinWidthMajor">@android:dimen/dialog_min_width_major</item>
1542 <item name="android:windowMinWidthMinor">@android:dimen/dialog_min_width_minor</item>
1543 </style>
1544 <!-- Variant of Theme.Holo.Light.Dialog that does not include a title bar. -->
1545 <style name="Theme.Holo.Light.Dialog.NoActionBar">
1546 <item name="android:windowActionBar">false</item>
1547 <item name="android:windowNoTitle">true</item>
1548 </style>
1549 <!-- Variant of Theme.Holo.Light.Dialog.NoActionBar that has a nice minimum width for
1550 a regular dialog. -->
1551 <style name="Theme.Holo.Light.Dialog.NoActionBar.MinWidth">
1552 <item name="android:windowMinWidthMajor">@android:dimen/dialog_min_width_major</item>
1553 <item name="android:windowMinWidthMinor">@android:dimen/dialog_min_width_minor</item>
1554 </style>
1555 <!-- Variant of Theme.Holo.Light.Dialog that has a fixed size. -->
1556 <style name="Theme.Holo.Light.Dialog.FixedSize">
1557 <item name="windowFixedWidthMajor">@android:dimen/dialog_fixed_width_major</item>
1558 <item name="windowFixedWidthMinor">@android:dimen/dialog_fixed_width_minor</item>
1559 <item name="windowFixedHeightMajor">@android:dimen/dialog_fixed_height_major</item>
1560 <item name="windowFixedHeightMinor">@android:dimen/dialog_fixed_height_minor</item>
1561 </style>
1562 <!-- Variant of Theme.Holo.Light.Dialog.NoActionBar that has a fixed size. -->
1563 <style name="Theme.Holo.Light.Dialog.NoActionBar.FixedSize">
1564 <item name="windowFixedWidthMajor">@android:dimen/dialog_fixed_width_major</item>
1565 <item name="windowFixedWidthMinor">@android:dimen/dialog_fixed_width_minor</item>
1566 <item name="windowFixedHeightMajor">@android:dimen/dialog_fixed_height_major</item>
1567 <item name="windowFixedHeightMinor">@android:dimen/dialog_fixed_height_minor</item>
1568 </style>
1569 <!-- Theme for a window that will be displayed either full-screen on
1570 smaller screens (small, normal) or as a dialog on larger screens
1571 (large, xlarge). -->
1572 <style name="Theme.Holo.Light.DialogWhenLarge" parent="@android:style/Theme.Holo.Light">
1573 </style>
1574 <!-- Theme for a window without an action bar that will be displayed either full-screen
1575 on smaller screens (small, normal) or as a dialog on larger screens
1576 (large, xlarge). -->
1577 <style name="Theme.Holo.Light.DialogWhenLarge.NoActionBar"
1578 parent="@android:style/Theme.Holo.Light.NoActionBar">
1579 </style>
1580 <!-- Holo light theme for alert dialog windows, which is used by the
1581 {@link android.app.AlertDialog} class. This is basically a dialog
1582 but sets the background to empty so it can do two-tone backgrounds.
1583 For applications targeting Honeycomb or newer, this is the default
1584 AlertDialog theme. -->
1585 <style name="Theme.Holo.Light.Dialog.Alert">
1586 <item name="windowBackground">@android:color/transparent</item>
1587 <item name="windowTitleStyle">@android:style/DialogWindowTitle.Holo.Light</item>
1588 <item name="windowContentOverlay">@null</item>
1589 <item name="android:windowMinWidthMajor">@android:dimen/dialog_min_width_major</item>
1590 <item name="android:windowMinWidthMinor">@android:dimen/dialog_min_width_minor</item>
1591 </style>
1592 <!-- Theme for a presentation window on a secondary display. -->
1593 <style name="Theme.Holo.Light.Dialog.Presentation" parent="@android:style/Theme.Holo.Light.NoActionBar.Fullscreen" >
1594 </style>
1595 <!-- Default holographic (dark) for windows that want to have the user‘s selected
1596 wallpaper appear behind them. -->
1597 <style name="Theme.Holo.Wallpaper">
1598 <item name="android:windowBackground">@android:color/transparent</item>
1599 <item name="android:colorBackgroundCacheHint">@null</item>
1600 <item name="android:windowShowWallpaper">true</item>
1601 </style>
1602 <!--Default holographic (dark) for windows that want to have the user‘s selected
1603 wallpaper appear behind them and without an action bar. -->
1604 <style name="Theme.Holo.Wallpaper.NoTitleBar">
1605 <item name="android:windowNoTitle">true</item>
1606 </style>
1607 </resources>

android:themes.xml

时间: 2024-09-29 16:28:08

android:themes.xml的相关文章

android:style.xml

1 <?xml version="1.0" encoding="utf-8"?> 2 <!-- Copyright (C) 2006 The Android Open Source Project 3 Licensed under the Apache License, Version 2.0 (the "License"); 4 you may not use this file except in compliance wi

android 生成xml文件

<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="match_parent" android:paddingBo

(Android review)XML的解析与序列化

这篇博客主要用来介绍对XML文件的操作:解析与生成. Android手机内部的解析就是pull解析官网:http://xmlpull.org/所谓的解析,我们可以理解为:利用XML文件的内容来生成一个对象导出生成的xml文件后不要对其格式化,否则会出异常 1.MainActivity package com.example.xmlparsertest1; import android.os.Bundle; import android.app.Activity; import android.v

Android -- 写xml到SD卡中

信息类                                                                                          private String body; private String number; private int type; private long id; 四个变量,然后有分别set和get.构造函数分别初始化这四个变量. 生成xml标签函数                                   

android 读取xml

在有些应用中,有一点小数据,直接存储在XML就是,实现较为简单, 1.xml文件放入asset文件夹,结构如: <?xml version="1.0" encoding="UTF-8" ?> <messages><message id="1"><title>3月毕业证数码像采集</title><date1>3</date1><content>3月12日

Android中XML数据解析

转载请注明出处:http://blog.csdn.net/yegongheng/article/details/38296207 XML初步 今天我们来学习另一种非常重要的数据交换格式-XML.XML(Extensible Markup Language的缩写,意为可扩展的标记语言),它是一种元标记语言,即定义了用于定义其他特定领域有关语义的.结构化的标记语言,这些标记语言将文档分成许多部件并对这些部件加以标识.XML 文档定义方式有:文档类型定义(DTD)和XML Schema.DTD定义了文

Android解析XML文档的两种方式的简单对比

Android之所以会用到解析XML文档,不仅与JAVA对XML的解析比较简单,而且还因为XML是Android在网络间传递信息的主要存储方式.下面我简单谈谈Android对XML文档解析的两种方式:dom和sax.dom解析方式是,解析方法将一个XML文件看成是一棵树.由数据结构的知识我们知道对树的处理比较简单,就是对树的节点进行增,删,改,查,这也是dom的一个最大优点.但是,dom方式在解析的时候是一次性就将整个XML文档读进内存,这坏处不用我说了吧,我宝贵的内存是禁不起这么折腾的. sa

Android修改XML文件

最近在项目中需要使用XML记录数据,网上这方面的文章较少,记录一下 使用DOM方式 [java] view plaincopy /** * 追加内容到XML文档 * @param instructions * @throws ParserConfigurationException * @throws SAXException * @throws IOException * @throws TransformerException */ public void append2XML(String

android textview xml 属性设置

 android:ems 设置TextView的宽度为N个字符的宽度. android:maxems 设置TextView的宽度为最长为N个字符的宽度.与ems同时使用时覆盖ems选项. android:minems 设置TextView的宽度为最短为N个字符的宽度.与ems同时使用时覆盖ems选项. android:maxLength 限制输入字符数.如设置为5,那么仅可以输入5个汉字/数字/英文字母. android:lines 设置文本的行数,设置两行就显示两行,即使第二行没有数据.