attrs.xml revision d349adb3941c88ae27ec451acd19641ba03205df
1f821bd86bc4090bd75226b8264417a305f0398d5Maurice Lam<?xml version="1.0" encoding="UTF-8"?>
2efbc38ccde179dbcbb85f9d018bb6d3510105a19Maurice Lam<!--
3efbc38ccde179dbcbb85f9d018bb6d3510105a19Maurice Lam    Copyright (C) 2015 The Android Open Source Project
4efbc38ccde179dbcbb85f9d018bb6d3510105a19Maurice Lam
5efbc38ccde179dbcbb85f9d018bb6d3510105a19Maurice Lam    Licensed under the Apache License, Version 2.0 (the "License");
6efbc38ccde179dbcbb85f9d018bb6d3510105a19Maurice Lam    you may not use this file except in compliance with the License.
7efbc38ccde179dbcbb85f9d018bb6d3510105a19Maurice Lam    You may obtain a copy of the License at
8efbc38ccde179dbcbb85f9d018bb6d3510105a19Maurice Lam
9efbc38ccde179dbcbb85f9d018bb6d3510105a19Maurice Lam         http://www.apache.org/licenses/LICENSE-2.0
10efbc38ccde179dbcbb85f9d018bb6d3510105a19Maurice Lam
11efbc38ccde179dbcbb85f9d018bb6d3510105a19Maurice Lam    Unless required by applicable law or agreed to in writing, software
12efbc38ccde179dbcbb85f9d018bb6d3510105a19Maurice Lam    distributed under the License is distributed on an "AS IS" BASIS,
13efbc38ccde179dbcbb85f9d018bb6d3510105a19Maurice Lam    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14efbc38ccde179dbcbb85f9d018bb6d3510105a19Maurice Lam    See the License for the specific language governing permissions and
15efbc38ccde179dbcbb85f9d018bb6d3510105a19Maurice Lam    limitations under the License.
16efbc38ccde179dbcbb85f9d018bb6d3510105a19Maurice Lam-->
17efbc38ccde179dbcbb85f9d018bb6d3510105a19Maurice Lam
18efbc38ccde179dbcbb85f9d018bb6d3510105a19Maurice Lam<resources>
19efbc38ccde179dbcbb85f9d018bb6d3510105a19Maurice Lam
20fce4cf6161b2a1644ad21034f0afe4087d659ab4Maurice Lam    <!-- Theme attributes -->
2195af12dac219e6945bab6142ea3a4099077314aaMaurice Lam    <attr name="suwLayoutTheme" format="reference" />
22f821bd86bc4090bd75226b8264417a305f0398d5Maurice Lam    <attr name="suwMarginSides" format="dimension|reference" />
2395af12dac219e6945bab6142ea3a4099077314aaMaurice Lam
24b06f6f3b9f60b75acd8b380f8ef62095b7696879Maurice Lam    <attr name="suwCardBackground" format="color|reference" />
25efd346d200a1649d94c5a1add1636de5b7d56eefUdam Saini    <attr name="suwDividerCondition">
26efd346d200a1649d94c5a1add1636de5b7d56eefUdam Saini        <enum name="either" value="0" />
27efd346d200a1649d94c5a1add1636de5b7d56eefUdam Saini        <enum name="both" value="1" />
28efd346d200a1649d94c5a1add1636de5b7d56eefUdam Saini    </attr>
29fb4e0307e4601ffd4ad643a341e74cf9259a0b59Udam Saini    <attr name="suwListItemIconColor" format="color" />
3095af12dac219e6945bab6142ea3a4099077314aaMaurice Lam    <attr name="suwNavBarBackgroundColor" format="color" />
31b06f6f3b9f60b75acd8b380f8ef62095b7696879Maurice Lam    <attr name="suwNavBarButtonBackground" format="color|reference" />
3295af12dac219e6945bab6142ea3a4099077314aaMaurice Lam    <attr name="suwNavBarTextColor" format="color" />
3395af12dac219e6945bab6142ea3a4099077314aaMaurice Lam    <attr name="suwNavBarTheme" format="reference" />
3495af12dac219e6945bab6142ea3a4099077314aaMaurice Lam
35fce4cf6161b2a1644ad21034f0afe4087d659ab4Maurice Lam    <!-- Custom view attributes -->
36a6d30093e9308a88fc875b484cf16cda385c2f98Maurice Lam    <attr name="suwColorPrimary" format="color" />
37b01f3ef075d501d1f61e6f61794a5cadd3ff2026Maurice Lam    <attr name="suwHeader" format="reference" />
38180360409c9e4e9163c670ff48663244b4057eafMaurice Lam    <attr name="suwDividerInset" format="dimension|reference" />
39e56d1ebc7d8f62db8d4ee6342af61ae2d5583ec1Maurice Lam    <attr name="suwItemDescriptionStyle" format="reference" />
40fce4cf6161b2a1644ad21034f0afe4087d659ab4Maurice Lam
410e6095c127b612821147a1c55d6ec4f679e5c47eMaurice Lam    <declare-styleable name="SuwIllustration">
420e6095c127b612821147a1c55d6ec4f679e5c47eMaurice Lam        <attr name="suwAspectRatio" format="float" />
430e6095c127b612821147a1c55d6ec4f679e5c47eMaurice Lam    </declare-styleable>
440e6095c127b612821147a1c55d6ec4f679e5c47eMaurice Lam
45efbc38ccde179dbcbb85f9d018bb6d3510105a19Maurice Lam    <declare-styleable name="SuwStickyHeaderListView">
46b01f3ef075d501d1f61e6f61794a5cadd3ff2026Maurice Lam        <attr name="suwHeader" />
47b01f3ef075d501d1f61e6f61794a5cadd3ff2026Maurice Lam    </declare-styleable>
48b01f3ef075d501d1f61e6f61794a5cadd3ff2026Maurice Lam
49b01f3ef075d501d1f61e6f61794a5cadd3ff2026Maurice Lam    <declare-styleable name="SuwHeaderRecyclerView">
50b01f3ef075d501d1f61e6f61794a5cadd3ff2026Maurice Lam        <attr name="suwHeader" />
51efbc38ccde179dbcbb85f9d018bb6d3510105a19Maurice Lam    </declare-styleable>
52efbc38ccde179dbcbb85f9d018bb6d3510105a19Maurice Lam
53fce4cf6161b2a1644ad21034f0afe4087d659ab4Maurice Lam    <declare-styleable name="SuwGlifLayout">
54a6d30093e9308a88fc875b484cf16cda385c2f98Maurice Lam        <attr name="suwColorPrimary" />
55fce4cf6161b2a1644ad21034f0afe4087d659ab4Maurice Lam    </declare-styleable>
56fce4cf6161b2a1644ad21034f0afe4087d659ab4Maurice Lam
57c3eebe9f664af4b77e5948a14bf266b25dc25cc8Maurice Lam    <declare-styleable name="SuwStatusBarBackgroundLayout">
58c3eebe9f664af4b77e5948a14bf266b25dc25cc8Maurice Lam        <attr name="suwStatusBarBackground" format="color|reference" />
59c3eebe9f664af4b77e5948a14bf266b25dc25cc8Maurice Lam    </declare-styleable>
60c3eebe9f664af4b77e5948a14bf266b25dc25cc8Maurice Lam
612c42b3f95a9319fc36f1dea5e775e2fab13a0a25Maurice Lam    <declare-styleable name="SuwMaxSizeFrameLayout">
622c42b3f95a9319fc36f1dea5e775e2fab13a0a25Maurice Lam        <attr name="android:height" />
632c42b3f95a9319fc36f1dea5e775e2fab13a0a25Maurice Lam        <attr name="android:width" />
642c42b3f95a9319fc36f1dea5e775e2fab13a0a25Maurice Lam    </declare-styleable>
652c42b3f95a9319fc36f1dea5e775e2fab13a0a25Maurice Lam
6695af12dac219e6945bab6142ea3a4099077314aaMaurice Lam    <declare-styleable name="SuwSetupWizardLayout">
6795af12dac219e6945bab6142ea3a4099077314aaMaurice Lam        <attr name="suwBackground" format="color|reference" />
6895af12dac219e6945bab6142ea3a4099077314aaMaurice Lam        <attr name="suwBackgroundTile" format="color|reference" />
697114577a094593dbf55b625146b3809800697030Jorim Jaggi        <attr name="suwDecorPaddingTop" format="dimension|reference" />
7095af12dac219e6945bab6142ea3a4099077314aaMaurice Lam        <attr name="suwIllustration" format="color|reference" />
717114577a094593dbf55b625146b3809800697030Jorim Jaggi        <attr name="suwIllustrationAspectRatio" format="float|reference" />
7295af12dac219e6945bab6142ea3a4099077314aaMaurice Lam        <attr name="suwIllustrationHorizontalTile" format="color|reference" />
7395af12dac219e6945bab6142ea3a4099077314aaMaurice Lam        <attr name="suwIllustrationImage" format="color|reference" />
7495af12dac219e6945bab6142ea3a4099077314aaMaurice Lam    </declare-styleable>
7595af12dac219e6945bab6142ea3a4099077314aaMaurice Lam
76bdfc0132ff90a333de202adfbf204cdc8139e632Maurice Lam    <declare-styleable name="SuwTemplateLayout">
77bdfc0132ff90a333de202adfbf204cdc8139e632Maurice Lam        <attr name="android:layout" />
78bdfc0132ff90a333de202adfbf204cdc8139e632Maurice Lam        <attr name="suwContainer" format="reference" />
79bdfc0132ff90a333de202adfbf204cdc8139e632Maurice Lam    </declare-styleable>
80bdfc0132ff90a333de202adfbf204cdc8139e632Maurice Lam
81960c0ea0b1d36904beef0f01715dd43a211e88caMaurice Lam    <declare-styleable name="SuwAbstractItem">
82960c0ea0b1d36904beef0f01715dd43a211e88caMaurice Lam        <attr name="android:id" />
83960c0ea0b1d36904beef0f01715dd43a211e88caMaurice Lam    </declare-styleable>
84960c0ea0b1d36904beef0f01715dd43a211e88caMaurice Lam
855bf291fde3dfd64f264d525534730514a279c8fcMaurice Lam    <declare-styleable name="SuwItem">
865bf291fde3dfd64f264d525534730514a279c8fcMaurice Lam        <attr name="android:enabled" />
875bf291fde3dfd64f264d525534730514a279c8fcMaurice Lam        <attr name="android:icon" />
885bf291fde3dfd64f264d525534730514a279c8fcMaurice Lam        <attr name="android:layout" />
895bf291fde3dfd64f264d525534730514a279c8fcMaurice Lam        <attr name="android:summary" />
90575ec4f0150a3607d0b6902a9b52866c170822f9Maurice Lam        <attr name="android:title" />
91575ec4f0150a3607d0b6902a9b52866c170822f9Maurice Lam        <attr name="android:visible" />
925bf291fde3dfd64f264d525534730514a279c8fcMaurice Lam    </declare-styleable>
935bf291fde3dfd64f264d525534730514a279c8fcMaurice Lam
94efd346d200a1649d94c5a1add1636de5b7d56eefUdam Saini    <declare-styleable name="SuwDividerItemDecoration">
95efd346d200a1649d94c5a1add1636de5b7d56eefUdam Saini        <attr name="android:listDivider" />
96efd346d200a1649d94c5a1add1636de5b7d56eefUdam Saini        <attr name="android:dividerHeight" />
97efd346d200a1649d94c5a1add1636de5b7d56eefUdam Saini        <attr name="suwDividerCondition" />
98efd346d200a1649d94c5a1add1636de5b7d56eefUdam Saini    </declare-styleable>
99efd346d200a1649d94c5a1add1636de5b7d56eefUdam Saini
10000358e4d12e6c7ba0f1da1fa9ad57f87da9b3b1aMaurice Lam    <declare-styleable name="SuwButtonItem">
10100358e4d12e6c7ba0f1da1fa9ad57f87da9b3b1aMaurice Lam        <attr name="android:buttonStyle" />
10200358e4d12e6c7ba0f1da1fa9ad57f87da9b3b1aMaurice Lam        <attr name="android:enabled" />
10300358e4d12e6c7ba0f1da1fa9ad57f87da9b3b1aMaurice Lam        <attr name="android:text" />
10400358e4d12e6c7ba0f1da1fa9ad57f87da9b3b1aMaurice Lam        <attr name="android:theme" />
10500358e4d12e6c7ba0f1da1fa9ad57f87da9b3b1aMaurice Lam    </declare-styleable>
10600358e4d12e6c7ba0f1da1fa9ad57f87da9b3b1aMaurice Lam
1077514f1cee29b3feb4822ce16945c1c312057d24fMaurice Lam    <declare-styleable name="SuwHeaderMixin">
1087514f1cee29b3feb4822ce16945c1c312057d24fMaurice Lam        <attr name="suwHeaderText" format="string" localization="suggested" />
1097514f1cee29b3feb4822ce16945c1c312057d24fMaurice Lam    </declare-styleable>
1107514f1cee29b3feb4822ce16945c1c312057d24fMaurice Lam
1117514f1cee29b3feb4822ce16945c1c312057d24fMaurice Lam    <declare-styleable name="SuwColoredHeaderMixin">
1127514f1cee29b3feb4822ce16945c1c312057d24fMaurice Lam        <attr name="suwHeaderColor" format="reference|color" />
1137514f1cee29b3feb4822ce16945c1c312057d24fMaurice Lam    </declare-styleable>
1147514f1cee29b3feb4822ce16945c1c312057d24fMaurice Lam
1157514f1cee29b3feb4822ce16945c1c312057d24fMaurice Lam    <declare-styleable name="SuwIconMixin">
1167514f1cee29b3feb4822ce16945c1c312057d24fMaurice Lam        <attr name="android:icon" />
1177514f1cee29b3feb4822ce16945c1c312057d24fMaurice Lam    </declare-styleable>
1187514f1cee29b3feb4822ce16945c1c312057d24fMaurice Lam
119d349adb3941c88ae27ec451acd19641ba03205dfMaurice Lam    <declare-styleable name="SuwListMixin">
120d349adb3941c88ae27ec451acd19641ba03205dfMaurice Lam        <attr name="android:entries" />
121d349adb3941c88ae27ec451acd19641ba03205dfMaurice Lam        <attr name="suwDividerInset" />
122d349adb3941c88ae27ec451acd19641ba03205dfMaurice Lam    </declare-styleable>
123d349adb3941c88ae27ec451acd19641ba03205dfMaurice Lam
124efbc38ccde179dbcbb85f9d018bb6d3510105a19Maurice Lam</resources>
125