blob: 23f618c12edd93042c428063f4fd661009462636 [file] [log] [blame]
Chris Banes16fb73e2015-02-16 18:24:06 +00001<?xml version="1.0" encoding="utf-8"?>
2<!--
3 ~ Copyright (C) 2015 The Android Open Source Project
4 ~
5 ~ Licensed under the Apache License, Version 2.0 (the "License");
6 ~ you may not use this file except in compliance with the License.
7 ~ You may obtain a copy of the License at
8 ~
9 ~ http://www.apache.org/licenses/LICENSE-2.0
10 ~
11 ~ Unless required by applicable law or agreed to in writing, software
12 ~ distributed under the License is distributed on an "AS IS" BASIS,
13 ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 ~ See the License for the specific language governing permissions and
15 ~ limitations under the License.
16-->
17<resources>
18
19 <declare-styleable name="FloatingActionButton">
20 <!-- Background for the FloatingActionButton -->
21 <attr name="android:background" />
22 <attr name="backgroundTint" />
23 <attr name="backgroundTintMode" />
24
25 <!-- Ripple color for the FAB. -->
26 <attr name="rippleColor" format="color|reference" />
27 <!-- Size for the FAB. -->
28 <attr name="fabSize">
29 <enum name="normal" value="0" />
30 <enum name="mini" value="1" />
31 </attr>
32 <!-- Elevation value for the FAB -->
33 <attr name="elevation" />
34 <!-- TranslationZ value for the FAB when pressed-->
35 <attr name="pressedTranslationZ" format="dimension|reference" />
36 </declare-styleable>
37
38 <declare-styleable name="ScrimInsetsFrameLayout">
39 <attr name="insetForeground" format="color|reference" />
40 </declare-styleable>
41
42 <declare-styleable name="NavigationDrawerView">
43 <attr name="android:elevation" />
44 <attr name="android:background" />
45 <attr name="android:fitsSystemWindows" />
46 <attr name="android:maxWidth" />
47 </declare-styleable>
48
49 <declare-styleable name="TabLayout">
50 <attr name="tabIndicatorColor" format="color" />
51 <attr name="tabIndicatorHeight" format="dimension" />
52 <attr name="tabContentStart" format="dimension" />
53
54 <attr name="tabBackground" format="reference" />
55
56 <attr name="tabMode">
57 <enum name="scrollable" value="0" />
58 <enum name="fixed" value="1" />
59 </attr>
60
61 <!-- Standard gravity constant that a child supplies to its parent.
62 Defines how the child view should be positioned, on both the X and Y axes,
63 within its enclosing layout. -->
64 <attr name="tabGravity">
65 <enum name="fill" value="0"/>
66 <enum name="center" value="1"/>
67 </attr>
68
69 <attr name="tabMinWidth" format="dimension" />
70 <attr name="tabMaxWidth" format="dimension" />
71
72 <attr name="tabTextAppearance" format="reference" />
73 <attr name="tabSelectedTextColor" format="color" />
74
75 <attr name="tabPaddingStart" format="dimension" />
76 <attr name="tabPaddingTop" format="dimension" />
77 <attr name="tabPaddingEnd" format="dimension" />
78 <attr name="tabPaddingBottom" format="dimension" />
79 <attr name="tabPadding" format="dimension" />
80 </declare-styleable>
81
82</resources>
83