This repository has been archived by the owner on Nov 8, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 6.2k
/
attrs.xml
6159 lines (5683 loc) · 331 KB
/
attrs.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2006 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<!-- Formatting note: terminate all comments with a period, to avoid breaking
the documentation output. To suppress comment lines from the documentation
output, insert an eat-comment element after the comment lines.
-->
<resources>
<!-- These are the standard attributes that make up a complete theme. -->
<declare-styleable name="Theme">
<!-- ============== -->
<!-- Generic styles -->
<!-- ============== -->
<eat-comment />
<!-- Default color of foreground imagery. -->
<attr name="colorForeground" format="color" />
<!-- Default color of foreground imagery on an inverted background. -->
<attr name="colorForegroundInverse" format="color" />
<!-- Color that matches (as closely as possible) the window background. -->
<attr name="colorBackground" format="color" />
<!-- This is a hint for a solid color that can be used for caching
rendered views. This should be the color of the background when
there is a solid background color; it should be null when the
background is a texture or translucent. When a device is able
to use accelerated drawing (thus setting state_accelerated), the
cache hint is ignored and always assumed to be transparent. -->
<attr name="colorBackgroundCacheHint" format="color" />
<!-- Default highlight color for items that are pressed. -->
<attr name="colorPressedHighlight" format="color" />
<!-- Default highlight color for items that are long-pressed. -->
<attr name="colorLongPressedHighlight" format="color" />
<!-- Default highlight color for items that are
focused. (Focused meaning cursor-based selection.) -->
<attr name="colorFocusedHighlight" format="color" />
<!-- Default highlight color for items that are
activated. (Activated meaning persistent selection.) -->
<attr name="colorActivatedHighlight" format="color" />
<!-- Default highlight color for items in multiple selection
mode. -->
<attr name="colorMultiSelectHighlight" format="color" />
<!-- Default disabled alpha for widgets that set enabled/disabled alpha programmatically. -->
<attr name="disabledAlpha" format="float" />
<!-- Default background dim amount when a menu, dialog, or something similar pops up. -->
<attr name="backgroundDimAmount" format="float" />
<!-- Control whether dimming behind the window is enabled. The default
theme does not set this value, meaning it is based on whether the
window is floating. -->
<attr name="backgroundDimEnabled" format="boolean" />
<!-- =========== -->
<!-- Text styles -->
<!-- =========== -->
<eat-comment />
<!-- Default appearance of text: color, typeface, size, and style. -->
<attr name="textAppearance" format="reference" />
<!-- Default appearance of text against an inverted background:
color, typeface, size, and style. -->
<attr name="textAppearanceInverse" format="reference" />
<!-- The most prominent text color. -->
<attr name="textColorPrimary" format="reference|color" />
<!-- Secondary text color. -->
<attr name="textColorSecondary" format="reference|color" />
<!-- Tertiary text color. -->
<attr name="textColorTertiary" format="reference|color" />
<!-- Primary inverse text color, useful for inverted backgrounds. -->
<attr name="textColorPrimaryInverse" format="reference|color" />
<!-- Secondary inverse text color, useful for inverted backgrounds. -->
<attr name="textColorSecondaryInverse" format="reference|color" />
<!-- Tertiary inverse text color, useful for inverted backgrounds. -->
<attr name="textColorTertiaryInverse" format="reference|color" />
<!-- Inverse hint text color. -->
<attr name="textColorHintInverse" format="reference|color" />
<!-- Bright text color. Only differentiates based on the disabled state. -->
<attr name="textColorPrimaryDisableOnly" format="reference|color" />
<!-- Bright inverse text color. Only differentiates based on the disabled state. -->
<attr name="textColorPrimaryInverseDisableOnly" format="reference|color" />
<!-- Bright text color. This does not differentiate the disabled state. As an example,
buttons use this since they display the disabled state via the background and not the
foreground text color. -->
<attr name="textColorPrimaryNoDisable" format="reference|color" />
<!-- Dim text color. This does not differentiate the disabled state. -->
<attr name="textColorSecondaryNoDisable" format="reference|color" />
<!-- Bright inverse text color. This does not differentiate the disabled state. -->
<attr name="textColorPrimaryInverseNoDisable" format="reference|color" />
<!-- Dim inverse text color. This does not differentiate the disabled state. -->
<attr name="textColorSecondaryInverseNoDisable" format="reference|color" />
<!-- Text color for urls in search suggestions, used by things like global search and the browser. @hide -->
<attr name="textColorSearchUrl" format="reference|color" />
<!-- Color of highlighted text, when used in a light theme. -->
<attr name="textColorHighlightInverse" format="reference|color" />
<!-- Color of link text (URLs), when used in a light theme. -->
<attr name="textColorLinkInverse" format="reference|color" />
<!-- Color of list item text in alert dialogs. -->
<attr name="textColorAlertDialogListItem" format="reference|color" />
<!-- Search widget more corpus result item background. -->
<attr name="searchWidgetCorpusItemBackground" format="reference|color" />
<!-- Text color, typeface, size, and style for "large" text. Defaults to primary text color. -->
<attr name="textAppearanceLarge" format="reference" />
<!-- Text color, typeface, size, and style for "medium" text. Defaults to primary text color. -->
<attr name="textAppearanceMedium" format="reference" />
<!-- Text color, typeface, size, and style for "small" text. Defaults to secondary text color. -->
<attr name="textAppearanceSmall" format="reference" />
<!-- Text color, typeface, size, and style for "large" inverse text. Defaults to primary inverse text color. -->
<attr name="textAppearanceLargeInverse" format="reference" />
<!-- Text color, typeface, size, and style for "medium" inverse text. Defaults to primary inverse text color. -->
<attr name="textAppearanceMediumInverse" format="reference" />
<!-- Text color, typeface, size, and style for "small" inverse text. Defaults to secondary inverse text color. -->
<attr name="textAppearanceSmallInverse" format="reference" />
<!-- Text color, typeface, size, and style for system search result title. Defaults to primary inverse text color. -->
<attr name="textAppearanceSearchResultTitle" format="reference" />
<!-- Text color, typeface, size, and style for system search result subtitle. Defaults to primary inverse text color. -->
<attr name="textAppearanceSearchResultSubtitle" format="reference" />
<!-- Text color, typeface, size, and style for the text inside of a button. -->
<attr name="textAppearanceButton" format="reference" />
<!-- Text color, typeface, size, and style for the text inside of a popup menu. -->
<attr name="textAppearanceLargePopupMenu" format="reference" />
<!-- Text color, typeface, size, and style for small text inside of a popup menu. -->
<attr name="textAppearanceSmallPopupMenu" format="reference" />
<!-- The underline color and thickness for easy correct suggestion -->
<attr name="textAppearanceEasyCorrectSuggestion" format="reference" />
<!-- The underline color and thickness for misspelled suggestion -->
<attr name="textAppearanceMisspelledSuggestion" format="reference" />
<!-- The underline color and thickness for auto correction suggestion -->
<attr name="textAppearanceAutoCorrectionSuggestion" format="reference" />
<!-- The underline color -->
<attr name="textUnderlineColor" format="reference|color" />
<!-- The underline thickness -->
<attr name="textUnderlineThickness" format="reference|dimension" />
<!-- EditText text foreground color. -->
<attr name="editTextColor" format="reference|color" />
<!-- EditText background drawable. -->
<attr name="editTextBackground" format="reference" />
<!-- Popup text displayed in TextView when setError is used. -->
<attr name="errorMessageBackground" format="reference" />
<!-- Background used instead of errorMessageBackground when the popup has to be above. -->
<attr name="errorMessageAboveBackground" format="reference" />
<!-- A styled string, specifying the style to be used for showing
inline candidate text when composing with an input method. The
text itself will be ignored, but the style spans will be applied
to the candidate text as it is edited. -->
<attr name="candidatesTextStyleSpans" format="reference|string" />
<!-- Drawable to use for check marks. -->
<attr name="textCheckMark" format="reference" />
<attr name="textCheckMarkInverse" format="reference" />
<!-- Drawable to use for multiple choice indicators. -->
<attr name="listChoiceIndicatorMultiple" format="reference" />
<!-- Drawable to use for single choice indicators. -->
<attr name="listChoiceIndicatorSingle" format="reference" />
<!-- Drawable used as a background for selected list items. -->
<attr name="listChoiceBackgroundIndicator" format="reference" />
<!-- Drawable used as a background for activated items. -->
<attr name="activatedBackgroundIndicator" format="reference" />
<!-- ============= -->
<!-- Button styles -->
<!-- ============= -->
<eat-comment />
<!-- Normal Button style. -->
<attr name="buttonStyle" format="reference" />
<!-- Small Button style. -->
<attr name="buttonStyleSmall" format="reference" />
<!-- Button style to inset into an EditText. -->
<attr name="buttonStyleInset" format="reference" />
<!-- ToggleButton style. -->
<attr name="buttonStyleToggle" format="reference" />
<!-- ============== -->
<!-- Gallery styles -->
<!-- ============== -->
<eat-comment />
<!-- The preferred background for gallery items. This should be set
as the background of any Views you provide from the Adapter. -->
<attr name="galleryItemBackground" format="reference" />
<!-- =========== -->
<!-- List styles -->
<!-- =========== -->
<eat-comment />
<!-- The preferred list item height. -->
<attr name="listPreferredItemHeight" format="dimension" />
<!-- A smaller, sleeker list item height. -->
<attr name="listPreferredItemHeightSmall" format="dimension" />
<!-- A larger, more robust list item height. -->
<attr name="listPreferredItemHeightLarge" format="dimension" />
<!-- The list item height for search results. @hide -->
<attr name="searchResultListItemHeight" format="dimension" />
<!-- The preferred padding along the left edge of list items. -->
<attr name="listPreferredItemPaddingLeft" format="dimension" />
<!-- The preferred padding along the right edge of list items. -->
<attr name="listPreferredItemPaddingRight" format="dimension" />
<!-- The preferred TextAppearance for the primary text of list items. -->
<attr name="textAppearanceListItem" format="reference" />
<!-- The preferred TextAppearance for the primary text of small list items. -->
<attr name="textAppearanceListItemSmall" format="reference" />
<!-- The drawable for the list divider. -->
<attr name="listDivider" format="reference" />
<!-- The list divider used in alert dialogs. -->
<attr name="listDividerAlertDialog" format="reference" />
<!-- TextView style for list separators. -->
<attr name="listSeparatorTextViewStyle" format="reference" />
<!-- The preferred left padding for an expandable list item (for child-specific layouts,
use expandableListPreferredChildPaddingLeft). This takes into account
the indicator that will be shown to next to the item. -->
<attr name="expandableListPreferredItemPaddingLeft" format="dimension" />
<!-- The preferred left padding for an expandable list item that is a child.
If this is not provided, it defaults to the expandableListPreferredItemPaddingLeft. -->
<attr name="expandableListPreferredChildPaddingLeft" format="dimension" />
<!-- The preferred left bound for an expandable list item's indicator. For a child-specific
indicator, use expandableListPreferredChildIndicatorLeft. -->
<attr name="expandableListPreferredItemIndicatorLeft" format="dimension" />
<!-- The preferred right bound for an expandable list item's indicator. For a child-specific
indicator, use expandableListPreferredChildIndicatorRight. -->
<attr name="expandableListPreferredItemIndicatorRight" format="dimension" />
<!-- The preferred left bound for an expandable list child's indicator. -->
<attr name="expandableListPreferredChildIndicatorLeft" format="dimension" />
<!-- The preferred right bound for an expandable list child's indicator. -->
<attr name="expandableListPreferredChildIndicatorRight" format="dimension" />
<!-- The preferred item height for dropdown lists. -->
<attr name="dropdownListPreferredItemHeight" format="dimension" />
<!-- The preferred padding along the start edge of list items. -->
<attr name="listPreferredItemPaddingStart" format="dimension" />
<!-- The preferred padding along the end edge of list items. -->
<attr name="listPreferredItemPaddingEnd" format="dimension" />
<!-- ============= -->
<!-- Window styles -->
<!-- ============= -->
<eat-comment />
<!-- Drawable to use as the overall window background. As of
{@link android.os.Build.VERSION_CODES#HONEYCOMB}, this may
be a selector that uses state_accelerated to pick a non-solid
color when running on devices that can draw such a bitmap
with complex compositing on top at 60fps.
<p>There are a few special considerations to use when setting this
drawable:
<ul>
<li> This information will be used to infer the pixel format
for your window's surface. If the drawable has any
non-opaque pixels, your window will be translucent
(32 bpp).
<li> If you want to draw the entire background
yourself, you should set this drawable to some solid
color that closely matches that background (so the
system's preview of your window will match), and
then in code manually set your window's background to
null so it will not be drawn.
</ul> -->
<attr name="windowBackground" format="reference" />
<!-- Drawable to use as a frame around the window. -->
<attr name="windowFrame" format="reference" />
<!-- Flag indicating whether there should be no title on this window. -->
<attr name="windowNoTitle" format="boolean" />
<!-- Flag indicating whether this window should fill the entire screen. Corresponds
to {@link android.view.WindowManager.LayoutParams#FLAG_FULLSCREEN}. -->
<attr name="windowFullscreen" format="boolean" />
<!-- Flag indicating whether this window should extend into overscan region. Corresponds
to {@link android.view.WindowManager.LayoutParams#FLAG_LAYOUT_IN_OVERSCAN}. -->
<attr name="windowOverscan" format="boolean" />
<!-- Flag indicating whether this is a floating window. -->
<attr name="windowIsFloating" format="boolean" />
<!-- Flag indicating whether this is a translucent window. -->
<attr name="windowIsTranslucent" format="boolean" />
<!-- Flag indicating that this window's background should be the
user's current wallpaper. Corresponds
to {@link android.view.WindowManager.LayoutParams#FLAG_SHOW_WALLPAPER}. -->
<attr name="windowShowWallpaper" format="boolean" />
<!-- This Drawable is overlaid over the foreground of the Window's content area, usually
to place a shadow below the title. -->
<attr name="windowContentOverlay" format="reference" />
<!-- The style resource to use for a window's title bar height. -->
<attr name="windowTitleSize" format="dimension" />
<!-- The style resource to use for a window's title text. -->
<attr name="windowTitleStyle" format="reference" />
<!-- The style resource to use for a window's title area. -->
<attr name="windowTitleBackgroundStyle" format="reference" />
<!-- Reference to a style resource holding
the set of window animations to use, which can be
any of the attributes defined by
{@link android.R.styleable#WindowAnimation}. -->
<attr name="windowAnimationStyle" format="reference" />
<!-- Flag indicating whether this window should have an Action Bar
in place of the usual title bar. -->
<attr name="windowActionBar" format="boolean" />
<!-- Flag indicating whether this window's Action Bar should overlay
application content. Does nothing if the window would not
have an Action Bar. -->
<attr name="windowActionBarOverlay" format="boolean" />
<!-- Flag indicating whether action modes should overlay window content
when there is not reserved space for their UI (such as an Action Bar). -->
<attr name="windowActionModeOverlay" format="boolean" />
<!-- Flag indicating that the action bar should be split to provide more
room for elements. -->
<attr name="windowSplitActionBar" format="boolean" />
<!-- Defines the default soft input state that this window would
like when it is displayed. Corresponds
to {@link android.view.WindowManager.LayoutParams#softInputMode}. -->
<attr name="windowSoftInputMode">
<!-- Not specified, use what the system thinks is best. This
is the default. -->
<flag name="stateUnspecified" value="0" />
<!-- Leave the soft input window as-is, in whatever state it
last was. -->
<flag name="stateUnchanged" value="1" />
<!-- Make the soft input area hidden when normally appropriate
(when the user is navigating forward to your window). -->
<flag name="stateHidden" value="2" />
<!-- Always make the soft input area hidden when this window
has input focus. -->
<flag name="stateAlwaysHidden" value="3" />
<!-- Make the soft input area visible when normally appropriate
(when the user is navigating forward to your window). -->
<flag name="stateVisible" value="4" />
<!-- Always make the soft input area visible when this window
has input focus. -->
<flag name="stateAlwaysVisible" value="5" />
<!-- The window resize/pan adjustment has not been specified,
the system will automatically select between resize and pan
modes, depending
on whether the content of the window has any layout views
that can scroll their contents. If there is such a view,
then the window will be resized, with the assumption being
that the resizeable area can be reduced to make room for
the input UI. -->
<flag name="adjustUnspecified" value="0x00" />
<!-- Always resize the window: the content area of the window is
reduced to make room for the soft input area. -->
<flag name="adjustResize" value="0x10" />
<!-- Don't resize the window to make room for the soft input area;
instead pan the contents of the window as focus moves inside
of it so that the user can see what they are typing. This is
generally less desireable than panning because the user may
need to close the input area to get at and interact with
parts of the window. -->
<flag name="adjustPan" value="0x20" />
<!-- Don't resize <em>or</em> pan the window to make room for the
soft input area; the window is never adjusted for it. -->
<flag name="adjustNothing" value="0x30" />
</attr>
<!-- Flag allowing you to disable the preview animation for a window.
The default value is false; if set to true, the system can never
use the window's theme to show a preview of it before your
actual instance is shown to the user. -->
<attr name="windowDisablePreview" format="boolean" />
<!-- Flag indicating that this window should not be displayed at all.
The default value is false; if set to true, and this window is
the main window of an Activity, then it will never actually
be added to the window manager. This means that your activity
must immediately quit without waiting for user interaction,
because there will be no such interaction coming. -->
<attr name="windowNoDisplay" format="boolean" />
<!-- Flag indicating that this window should allow touches to be split
across other windows that also support split touch.
The default value is true for applications with a targetSdkVersion
of Honeycomb or newer; false otherwise.
When this flag is false, the first pointer that goes down determines
the window to which all subsequent touches go until all pointers go up.
When this flag is true, each pointer (not necessarily the first) that
goes down determines the window to which all subsequent touches of that
pointer will go until that pointers go up thereby enabling touches
with multiple pointers to be split across multiple windows. -->
<attr name="windowEnableSplitTouch" format="boolean" />
<!-- Control whether a container should automatically close itself if
the user touches outside of it. This only applies to activities
and dialogs.
<p>Note: this attribute will only be respected for applications
that are targeting {@link android.os.Build.VERSION_CODES#HONEYCOMB}
or later. -->
<attr name="windowCloseOnTouchOutside" format="boolean" />
<!-- Flag indicating whether this window requests a translucent status bar. Corresponds
to {@link android.view.WindowManager.LayoutParams#FLAG_TRANSLUCENT_STATUS}. -->
<attr name="windowTranslucentStatus" format="boolean" />
<!-- Flag indicating whether this window requests a translucent navigation bar. Corresponds
to {@link android.view.WindowManager.LayoutParams#FLAG_TRANSLUCENT_NAVIGATION}. -->
<attr name="windowTranslucentNavigation" format="boolean" />
<!-- ============ -->
<!-- Alert Dialog styles -->
<!-- ============ -->
<eat-comment />
<attr name="alertDialogStyle" format="reference" />
<attr name="alertDialogButtonGroupStyle" format="reference" />
<attr name="alertDialogCenterButtons" format="boolean" />
<!-- ============== -->
<!-- Image elements -->
<!-- ============== -->
<eat-comment />
<!-- Background that can be used behind parts of a UI that provide
details on data the user is selecting. For example, this is
the background element of PreferenceActivity's embedded
preference fragment. -->
<attr name="detailsElementBackground" format="reference" />
<!-- ============ -->
<!-- Panel styles -->
<!-- ============ -->
<eat-comment />
<!-- The background of a panel when it is inset from the left and right edges of the screen. -->
<attr name="panelBackground" format="reference|color" />
<!-- The background of a panel when it extends to the left and right edges of the screen. -->
<attr name="panelFullBackground" format="reference|color" />
<!-- Default color of foreground panel imagery. -->
<attr name="panelColorForeground" format="reference|color" />
<!-- Color that matches (as closely as possible) the panel background. -->
<attr name="panelColorBackground" format="reference|color" />
<!-- Default appearance of panel text. -->
<attr name="panelTextAppearance" format="reference" />
<attr name="panelMenuIsCompact" format="boolean" />
<attr name="panelMenuListWidth" format="dimension" />
<attr name="panelMenuListTheme" format="reference" />
<!-- =================== -->
<!-- Other widget styles -->
<!-- =================== -->
<eat-comment />
<!-- Default AbsListView style. -->
<attr name="absListViewStyle" format="reference" />
<!-- Default AutoCompleteTextView style. -->
<attr name="autoCompleteTextViewStyle" format="reference" />
<!-- Default Checkbox style. -->
<attr name="checkboxStyle" format="reference" />
<!-- Default CheckedTextView style. -->
<attr name="checkedTextViewStyle" format="reference" />
<!-- Default ListView style for drop downs. -->
<attr name="dropDownListViewStyle" format="reference" />
<!-- Default EditText style. -->
<attr name="editTextStyle" format="reference" />
<!-- Default ExpandableListView style. -->
<attr name="expandableListViewStyle" format="reference" />
<!-- ExpandableListView with white background. -->
<attr name="expandableListViewWhiteStyle" format="reference" />
<!-- Default Gallery style. -->
<attr name="galleryStyle" format="reference" />
<!-- Default GestureOverlayView style. -->
<attr name="gestureOverlayViewStyle" format="reference" />
<!-- Default GridView style. -->
<attr name="gridViewStyle" format="reference" />
<!-- The style resource to use for an ImageButton. -->
<attr name="imageButtonStyle" format="reference" />
<!-- The style resource to use for an ImageButton that is an image well. -->
<attr name="imageWellStyle" format="reference" />
<!-- Default ListView style. -->
<attr name="listViewStyle" format="reference" />
<!-- ListView with white background. -->
<attr name="listViewWhiteStyle" format="reference" />
<!-- Default PopupWindow style. -->
<attr name="popupWindowStyle" format="reference" />
<!-- Default ProgressBar style. This is a medium circular progress bar. -->
<attr name="progressBarStyle" format="reference" />
<!-- Horizontal ProgressBar style. This is a horizontal progress bar. -->
<attr name="progressBarStyleHorizontal" format="reference" />
<!-- Small ProgressBar style. This is a small circular progress bar. -->
<attr name="progressBarStyleSmall" format="reference" />
<!-- Small ProgressBar in title style. This is a small circular progress bar that will be placed in title bars. -->
<attr name="progressBarStyleSmallTitle" format="reference" />
<!-- Large ProgressBar style. This is a large circular progress bar. -->
<attr name="progressBarStyleLarge" format="reference" />
<!-- Inverse ProgressBar style. This is a medium circular progress bar. -->
<attr name="progressBarStyleInverse" format="reference" />
<!-- Small inverse ProgressBar style. This is a small circular progress bar. -->
<attr name="progressBarStyleSmallInverse" format="reference" />
<!-- Large inverse ProgressBar style. This is a large circular progress bar. -->
<attr name="progressBarStyleLargeInverse" format="reference" />
<!-- Default SeekBar style. -->
<attr name="seekBarStyle" format="reference" />
<!-- Default RatingBar style. -->
<attr name="ratingBarStyle" format="reference" />
<!-- Indicator RatingBar style. -->
<attr name="ratingBarStyleIndicator" format="reference" />
<!-- Small indicator RatingBar style. -->
<attr name="ratingBarStyleSmall" format="reference" />
<!-- Default RadioButton style. -->
<attr name="radioButtonStyle" format="reference" />
<!-- Default ScrollView style. -->
<attr name="scrollViewStyle" format="reference" />
<!-- Default HorizontalScrollView style. -->
<attr name="horizontalScrollViewStyle" format="reference" />
<!-- Default Spinner style. -->
<attr name="spinnerStyle" format="reference" />
<!-- Default dropdown Spinner style. -->
<attr name="dropDownSpinnerStyle" format="reference" />
<!-- Default ActionBar dropdown style. -->
<attr name="actionDropDownStyle" format="reference" />
<!-- Default action button style. -->
<attr name="actionButtonStyle" format="reference" />
<!-- Default Star style. -->
<attr name="starStyle" format="reference" />
<!-- Default TabWidget style. -->
<attr name="tabWidgetStyle" format="reference" />
<!-- Default TextView style. -->
<attr name="textViewStyle" format="reference" />
<!-- Default WebTextView style. -->
<attr name="webTextViewStyle" format="reference" />
<!-- Default WebView style. -->
<attr name="webViewStyle" format="reference" />
<!-- Default style for drop down items. -->
<attr name="dropDownItemStyle" format="reference" />
<!-- Default style for spinner drop down items. -->
<attr name="spinnerDropDownItemStyle" format="reference" />
<!-- Default style for drop down hints. -->
<attr name="dropDownHintAppearance" format="reference" />
<!-- Default spinner item style. -->
<attr name="spinnerItemStyle" format="reference" />
<!-- Default MapView style. -->
<attr name="mapViewStyle" format="reference" />
<!-- Drawable used as an overlay on top of quickcontact photos. -->
<attr name="quickContactBadgeOverlay" format="reference" />
<!-- Default quickcontact badge style with small quickcontact window. -->
<attr name="quickContactBadgeStyleWindowSmall" format="reference" />
<!-- Default quickcontact badge style with medium quickcontact window. -->
<attr name="quickContactBadgeStyleWindowMedium" format="reference" />
<!-- Default quickcontact badge style with large quickcontact window. -->
<attr name="quickContactBadgeStyleWindowLarge" format="reference" />
<!-- Default quickcontact badge style with small quickcontact window. -->
<attr name="quickContactBadgeStyleSmallWindowSmall" format="reference" />
<!-- Default quickcontact badge style with medium quickcontact window. -->
<attr name="quickContactBadgeStyleSmallWindowMedium" format="reference" />
<!-- Default quickcontact badge style with large quickcontact window. -->
<attr name="quickContactBadgeStyleSmallWindowLarge" format="reference" />
<!-- Reference to a style that will be used for the window containing a text
selection anchor. -->
<attr name="textSelectHandleWindowStyle" format="reference" />
<!-- Reference to a style that will be used for the window containing a list of possible
text suggestions in an EditText. -->
<attr name="textSuggestionsWindowStyle" format="reference" />
<!-- Default ListPopupWindow style. -->
<attr name="listPopupWindowStyle" format="reference" />
<!-- Default PopupMenu style. -->
<attr name="popupMenuStyle" format="reference" />
<!-- Default StackView style. -->
<attr name="stackViewStyle" format="reference" />
<!-- NumberPicker style. -->
<attr name="numberPickerStyle" format="reference" />
<!-- The CalendarView style. -->
<attr name="calendarViewStyle" format="reference" />
<!-- The TimePicker style. -->
<attr name="timePickerStyle" format="reference" />
<!-- The DatePicker style. -->
<attr name="datePickerStyle" format="reference" />
<!-- Default ActivityChooserView style. -->
<attr name="activityChooserViewStyle" format="reference" />
<!-- Fast scroller styles -->
<eat-comment />
<!-- Drawable to use as the fast scroll thumb. -->
<attr name="fastScrollThumbDrawable" format="reference" />
<!-- Drawable to use as the fast scroll index preview window background
when shown on the right. -->
<attr name="fastScrollPreviewBackgroundRight" format="reference" />
<!-- Drawable to use as the fast scroll index preview window background
when shown on the left. -->
<attr name="fastScrollPreviewBackgroundLeft" format="reference" />
<!-- Drawable to use as the track for the fast scroll thumb.
This may be null. -->
<attr name="fastScrollTrackDrawable" format="reference" />
<!-- Position of the fast scroll index overlay window. -->
<attr name="fastScrollOverlayPosition">
<enum name="floating" value="0" />
<enum name="atThumb" value="1" />
</attr>
<!-- Text color for the fast scroll index overlay. Make sure it
plays nicely with fastScrollPreviewBackground[Left|Right]. -->
<attr name="fastScrollTextColor" format="color" />
<!-- =================== -->
<!-- Action bar styles -->
<!-- =================== -->
<eat-comment />
<!-- Default style for tabs within an action bar -->
<attr name="actionBarTabStyle" format="reference" />
<attr name="actionBarTabBarStyle" format="reference" />
<attr name="actionBarTabTextStyle" format="reference" />
<attr name="actionOverflowButtonStyle" format="reference" />
<!-- Reference to a style for the Action Bar -->
<attr name="actionBarStyle" format="reference" />
<!-- Reference to a style for the split Action Bar. This style
controls the split component that holds the menu/action
buttons. actionBarStyle is still used for the primary
bar. -->
<attr name="actionBarSplitStyle" format="reference" />
<!-- Reference to a theme that should be used to inflate widgets
and layouts destined for the action bar. Most of the time
this will be a reference to the current theme, but when
the action bar has a significantly different contrast
profile than the rest of the activity the difference
can become important. If this is set to @null the current
theme will be used.-->
<attr name="actionBarWidgetTheme" format="reference" />
<!-- Size of the Action Bar, including the contextual
bar used to present Action Modes. -->
<attr name="actionBarSize" format="dimension" >
<enum name="wrap_content" value="0" />
</attr>
<!-- Custom divider drawable to use for elements in the action bar. -->
<attr name="actionBarDivider" format="reference" />
<!-- Custom item state list drawable background for action bar items. -->
<attr name="actionBarItemBackground" format="reference" />
<!-- TextAppearance style that will be applied to text that
appears within action menu items. -->
<attr name="actionMenuTextAppearance" format="reference" />
<!-- Color for text that appears within action menu items. -->
<attr name="actionMenuTextColor" format="color|reference" />
<!-- =================== -->
<!-- Action mode styles -->
<!-- =================== -->
<eat-comment />
<attr name="actionModeStyle" format="reference" />
<attr name="actionModeCloseButtonStyle" format="reference" />
<!-- Background drawable to use for action mode UI -->
<attr name="actionModeBackground" format="reference" />
<!-- Background drawable to use for action mode UI in the lower split bar -->
<attr name="actionModeSplitBackground" format="reference" />
<!-- Drawable to use for the close action mode button -->
<attr name="actionModeCloseDrawable" format="reference" />
<!-- Drawable to use for the Cut action button in Contextual Action Bar -->
<attr name="actionModeCutDrawable" format="reference" />
<!-- Drawable to use for the Copy action button in Contextual Action Bar -->
<attr name="actionModeCopyDrawable" format="reference" />
<!-- Drawable to use for the Paste action button in Contextual Action Bar -->
<attr name="actionModePasteDrawable" format="reference" />
<!-- Drawable to use for the Select all action button in Contextual Action Bar -->
<attr name="actionModeSelectAllDrawable" format="reference" />
<!-- Drawable to use for the Share action button in WebView selection action modes -->
<attr name="actionModeShareDrawable" format="reference" />
<!-- Drawable to use for the Find action button in WebView selection action modes -->
<attr name="actionModeFindDrawable" format="reference" />
<!-- Drawable to use for the Web Search action button in WebView selection action modes -->
<attr name="actionModeWebSearchDrawable" format="reference" />
<!-- PopupWindow style to use for action modes when showing as a window overlay. -->
<attr name="actionModePopupWindowStyle" format="reference" />
<!-- =================== -->
<!-- Preference styles -->
<!-- =================== -->
<eat-comment />
<!-- Default style for PreferenceScreen. -->
<attr name="preferenceScreenStyle" format="reference" />
<!-- Default style for Headers pane in PreferenceActivity. -->
<attr name="preferenceFragmentStyle" format="reference" />
<!-- Default style for PreferenceCategory. -->
<attr name="preferenceCategoryStyle" format="reference" />
<!-- Default style for Preference. -->
<attr name="preferenceStyle" format="reference" />
<!-- Default style for informational Preference. -->
<attr name="preferenceInformationStyle" format="reference" />
<!-- Default style for CheckBoxPreference. -->
<attr name="checkBoxPreferenceStyle" format="reference" />
<!-- Default style for YesNoPreference. -->
<attr name="yesNoPreferenceStyle" format="reference" />
<!-- Default style for DialogPreference. -->
<attr name="dialogPreferenceStyle" format="reference" />
<!-- Default style for EditTextPreference. -->
<attr name="editTextPreferenceStyle" format="reference" />
<!-- Default style for RingtonePreference. -->
<attr name="ringtonePreferenceStyle" format="reference" />
<!-- The preference layout that has the child/tabbed effect. -->
<attr name="preferenceLayoutChild" format="reference" />
<!-- Preference panel style -->
<attr name="preferencePanelStyle" format="reference" />
<!-- Preference headers panel style -->
<attr name="preferenceHeaderPanelStyle" format="reference" />
<!-- Preference list style -->
<attr name="preferenceListStyle" format="reference" />
<!-- Preference fragment list style -->
<attr name="preferenceFragmentListStyle" format="reference" />
<!-- Preference fragment padding side -->
<attr name="preferenceFragmentPaddingSide" format="dimension" />
<!-- Default style for switch preferences. -->
<attr name="switchPreferenceStyle" format="reference" />
<!-- ============================ -->
<!-- Text selection handle styles -->
<!-- ============================ -->
<eat-comment />
<!-- Reference to a drawable that will be used to display a text selection
anchor on the left side of a selection region. -->
<attr name="textSelectHandleLeft" format="reference" />
<!-- Reference to a drawable that will be used to display a text selection
anchor on the right side of a selection region. -->
<attr name="textSelectHandleRight" format="reference" />
<!-- Reference to a drawable that will be used to display a text selection
anchor for positioning the cursor within text. -->
<attr name="textSelectHandle" format="reference" />
<!-- The layout of the view that is displayed on top of the cursor to paste inside a
TextEdit field. -->
<attr name="textEditPasteWindowLayout" format="reference" />
<!-- Variation of textEditPasteWindowLayout displayed when the clipboard is empty. -->
<attr name="textEditNoPasteWindowLayout" format="reference" />
<!-- Used instead of textEditPasteWindowLayout when the window is moved on the side of the
insertion cursor because it would be clipped if it were positioned on top. -->
<attr name="textEditSidePasteWindowLayout" format="reference" />
<!-- Variation of textEditSidePasteWindowLayout displayed when the clipboard is empty. -->
<attr name="textEditSideNoPasteWindowLayout" format="reference" />
<!-- Layout of the TextView item that will populate the suggestion popup window. -->
<attr name="textEditSuggestionItemLayout" format="reference" />
<!-- Theme to use for dialogs spawned from this theme. -->
<attr name="dialogTheme" format="reference" />
<!-- Window decor layout to use in dialog mode with icons -->
<attr name="dialogTitleIconsDecorLayout" format="reference" />
<!-- Window decor layout to use in dialog mode with custom titles -->
<attr name="dialogCustomTitleDecorLayout" format="reference" />
<!-- Window decor layout to use in dialog mode with title only -->
<attr name="dialogTitleDecorLayout" format="reference" />
<!-- Theme to use for alert dialogs spawned from this theme. -->
<attr name="alertDialogTheme" format="reference" />
<!-- Icon drawable to use for alerts -->
<attr name="alertDialogIcon" format="reference" />
<!-- Theme to use for presentations spawned from this theme. -->
<attr name="presentationTheme" format="reference" />
<!-- Drawable to use for generic vertical dividers. -->
<attr name="dividerVertical" format="reference" />
<!-- Drawable to use for generic horizontal dividers. -->
<attr name="dividerHorizontal" format="reference" />
<!-- Style for button bars -->
<attr name="buttonBarStyle" format="reference" />
<!-- Style for buttons within button bars -->
<attr name="buttonBarButtonStyle" format="reference" />
<!-- Style for segmented buttons - a container that houses several buttons
with the appearance of a singel button broken into segments. -->
<attr name="segmentedButtonStyle" format="reference" />
<!-- Background drawable for standalone items that need focus/pressed states. -->
<attr name="selectableItemBackground" format="reference" />
<!-- Style for buttons without an explicit border, often used in groups. -->
<attr name="borderlessButtonStyle" format="reference" />
<!-- Background to use for toasts -->
<attr name="toastFrameBackground" format="reference" />
<!-- ============================ -->
<!-- SearchView styles and assets -->
<!-- ============================ -->
<eat-comment />
<!-- SearchView dropdown background -->
<attr name="searchDropdownBackground" format="reference" />
<!-- SearchView close button icon -->
<attr name="searchViewCloseIcon" format="reference" />
<!-- SearchView Go button icon -->
<attr name="searchViewGoIcon" format="reference" />
<!-- SearchView Search icon -->
<attr name="searchViewSearchIcon" format="reference" />
<!-- SearchView Voice button icon -->
<attr name="searchViewVoiceIcon" format="reference" />
<!-- SearchView query refinement icon -->
<attr name="searchViewEditQuery" format="reference" />
<!-- SearchView query refinement icon background -->
<attr name="searchViewEditQueryBackground" format="reference" />
<!-- SearchView text field background for the left section -->
<attr name="searchViewTextField" format="reference" />
<!-- SearchView text field background for the right section -->
<attr name="searchViewTextFieldRight" format="reference" />
<!-- Theme to use for Search Dialogs -->
<attr name="searchDialogTheme" format="reference" />
<!-- Specifies a drawable to use for the 'home as up' indicator. -->
<attr name="homeAsUpIndicator" format="reference" />
<!-- Preference frame layout styles. -->
<attr name="preferenceFrameLayoutStyle" format="reference" />
<!-- Default style for the Switch widget. -->
<attr name="switchStyle" format="reference" />
<!-- Default style for the MediaRouteButton widget. -->
<attr name="mediaRouteButtonStyle" format="reference" />
<!-- ============== -->
<!-- Pointer styles -->
<!-- ============== -->
<eat-comment />
<!-- Reference to the Pointer style -->
<attr name="pointerStyle" format="reference" />
<!-- The drawable for accessibility focused views. -->
<attr name="accessibilityFocusedDrawable" format="reference" />
<!-- Drawable for WebView find-on-page dialogue's "next" button. @hide -->
<attr name="findOnPageNextDrawable" format="reference" />
<!-- Drawable for WebView find-on-page dialogue's "previous" button. @hide -->
<attr name="findOnPagePreviousDrawable" format="reference" />
</declare-styleable>
<!-- **************************************************************** -->
<!-- Other non-theme attributes. -->
<!-- **************************************************************** -->
<eat-comment />
<!-- Size of text. Recommended dimension type for text is "sp" for scaled-pixels (example: 15sp).
Supported values include the following:<p/>
<ul>
<li><b>px</b> Pixels</li>
<li><b>sp</b> Scaled pixels (scaled to relative pixel size on screen). See {@link android.util.DisplayMetrics} for more information.</li>
<li><b>pt</b> Points</li>
<li><b>dip</b> Device independent pixels. See {@link android.util.DisplayMetrics} for more information.</li>
</ul>
-->
<attr name="textSize" format="dimension" />
<!-- Default font family. -->
<attr name="fontFamily" format="string" />
<!-- Default text typeface. -->
<attr name="typeface">
<enum name="normal" value="0" />
<enum name="sans" value="1" />
<enum name="serif" value="2" />
<enum name="monospace" value="3" />
</attr>
<!-- Default text typeface style. -->
<attr name="textStyle">
<flag name="normal" value="0" />
<flag name="bold" value="1" />
<flag name="italic" value="2" />
</attr>
<!-- Color of text (usually same as colorForeground). -->
<attr name="textColor" format="reference|color" />
<!-- Color of highlighted text. -->
<attr name="textColorHighlight" format="reference|color" />
<!-- Color of hint text (displayed when the field is empty). -->
<attr name="textColorHint" format="reference|color" />
<!-- Color of link text (URLs). -->
<attr name="textColorLink" format="reference|color" />
<!-- Reference to a drawable that will be drawn under the insertion cursor. -->
<attr name="textCursorDrawable" format="reference" />
<!-- Indicates that the content of a non-editable TextView can be selected.
Default value is false. EditText content is always selectable. -->
<attr name="textIsSelectable" format="boolean" />
<!-- Where to ellipsize text. -->
<attr name="ellipsize">
<enum name="none" value="0" />
<enum name="start" value="1" />
<enum name="middle" value="2" />
<enum name="end" value="3" />
<enum name="marquee" value="4" />
</attr>
<!-- The type of data being placed in a text field, used to help an
input method decide how to let the user enter text. The constants
here correspond to those defined by
{@link android.text.InputType}. Generally you can select
a single value, though some can be combined together as
indicated. Setting this attribute to anything besides
<var>none</var> also implies that the text is editable. -->
<attr name="inputType">
<!-- There is no content type. The text is not editable. -->
<flag name="none" value="0x00000000" />
<!-- Just plain old text. Corresponds to
{@link android.text.InputType#TYPE_CLASS_TEXT} |
{@link android.text.InputType#TYPE_TEXT_VARIATION_NORMAL}. -->
<flag name="text" value="0x00000001" />
<!-- Can be combined with <var>text</var> and its variations to
request capitalization of all characters. Corresponds to
{@link android.text.InputType#TYPE_TEXT_FLAG_CAP_CHARACTERS}. -->
<flag name="textCapCharacters" value="0x00001001" />
<!-- Can be combined with <var>text</var> and its variations to
request capitalization of the first character of every word. Corresponds to
{@link android.text.InputType#TYPE_TEXT_FLAG_CAP_WORDS}. -->
<flag name="textCapWords" value="0x00002001" />
<!-- Can be combined with <var>text</var> and its variations to
request capitalization of the first character of every sentence. Corresponds to
{@link android.text.InputType#TYPE_TEXT_FLAG_CAP_SENTENCES}. -->
<flag name="textCapSentences" value="0x00004001" />
<!-- Can be combined with <var>text</var> and its variations to
request auto-correction of text being input. Corresponds to
{@link android.text.InputType#TYPE_TEXT_FLAG_AUTO_CORRECT}. -->
<flag name="textAutoCorrect" value="0x00008001" />
<!-- Can be combined with <var>text</var> and its variations to
specify that this field will be doing its own auto-completion and
talking with the input method appropriately. Corresponds to
{@link android.text.InputType#TYPE_TEXT_FLAG_AUTO_COMPLETE}. -->
<flag name="textAutoComplete" value="0x00010001" />
<!-- Can be combined with <var>text</var> and its variations to
allow multiple lines of text in the field. If this flag is not set,
the text field will be constrained to a single line. Corresponds to
{@link android.text.InputType#TYPE_TEXT_FLAG_MULTI_LINE}. -->
<flag name="textMultiLine" value="0x00020001" />
<!-- Can be combined with <var>text</var> and its variations to
indicate that though the regular text view should not be multiple
lines, the IME should provide multiple lines if it can. Corresponds to
{@link android.text.InputType#TYPE_TEXT_FLAG_IME_MULTI_LINE}. -->
<flag name="textImeMultiLine" value="0x00040001" />
<!-- Can be combined with <var>text</var> and its variations to
indicate that the IME should not show any
dictionary-based word suggestions. Corresponds to
{@link android.text.InputType#TYPE_TEXT_FLAG_NO_SUGGESTIONS}. -->
<flag name="textNoSuggestions" value="0x00080001" />
<!-- Text that will be used as a URI. Corresponds to
{@link android.text.InputType#TYPE_CLASS_TEXT} |
{@link android.text.InputType#TYPE_TEXT_VARIATION_URI}. -->