attrs.xml revision 31a49efe2adb59e31611f6871895a3243d835127
1<?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</resources>
50