attrs.xml revision 039a55c144bc968ca9e242640ea107df10ac2867
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 24d3ffc713be68823409d5dc6d2d44bb21bde5bfd0Maurice Lam <!-- Subset of values in "gravity" in frameworks/base/core/res/res/values/attrs.xml. Only 25d3ffc713be68823409d5dc6d2d44bb21bde5bfd0Maurice Lam horizontal values are listed here as the header does not support vertical gravity. --> 26d3ffc713be68823409d5dc6d2d44bb21bde5bfd0Maurice Lam <attr name="suwGlifHeaderGravity"> 27d3ffc713be68823409d5dc6d2d44bb21bde5bfd0Maurice Lam <!-- Push object to the left of its container, not changing its size. --> 28d3ffc713be68823409d5dc6d2d44bb21bde5bfd0Maurice Lam <flag name="left" value="0x03" /> 29d3ffc713be68823409d5dc6d2d44bb21bde5bfd0Maurice Lam <!-- Push object to the right of its container, not changing its size. --> 30d3ffc713be68823409d5dc6d2d44bb21bde5bfd0Maurice Lam <flag name="right" value="0x05" /> 31d3ffc713be68823409d5dc6d2d44bb21bde5bfd0Maurice Lam <!-- Place object in the horizontal center of its container, not changing its size. --> 32d3ffc713be68823409d5dc6d2d44bb21bde5bfd0Maurice Lam <flag name="center_horizontal" value="0x01" /> 33d3ffc713be68823409d5dc6d2d44bb21bde5bfd0Maurice Lam <!-- Grow the horizontal size of the object if needed so it completely fills its container. --> 34d3ffc713be68823409d5dc6d2d44bb21bde5bfd0Maurice Lam <flag name="fill_horizontal" value="0x07" /> 35d3ffc713be68823409d5dc6d2d44bb21bde5bfd0Maurice Lam <!-- Push object to the beginning of its container, not changing its size. --> 36d3ffc713be68823409d5dc6d2d44bb21bde5bfd0Maurice Lam <flag name="start" value="0x00800003" /> 37d3ffc713be68823409d5dc6d2d44bb21bde5bfd0Maurice Lam <!-- Push object to the end of its container, not changing its size. --> 38d3ffc713be68823409d5dc6d2d44bb21bde5bfd0Maurice Lam <flag name="end" value="0x00800005" /> 39d3ffc713be68823409d5dc6d2d44bb21bde5bfd0Maurice Lam </attr> 40d3ffc713be68823409d5dc6d2d44bb21bde5bfd0Maurice Lam 41b06f6f3b9f60b75acd8b380f8ef62095b7696879Maurice Lam <attr name="suwCardBackground" format="color|reference" /> 42efd346d200a1649d94c5a1add1636de5b7d56eefUdam Saini <attr name="suwDividerCondition"> 43efd346d200a1649d94c5a1add1636de5b7d56eefUdam Saini <enum name="either" value="0" /> 44efd346d200a1649d94c5a1add1636de5b7d56eefUdam Saini <enum name="both" value="1" /> 45efd346d200a1649d94c5a1add1636de5b7d56eefUdam Saini </attr> 46fb4e0307e4601ffd4ad643a341e74cf9259a0b59Udam Saini <attr name="suwListItemIconColor" format="color" /> 4795af12dac219e6945bab6142ea3a4099077314aaMaurice Lam <attr name="suwNavBarBackgroundColor" format="color" /> 48b06f6f3b9f60b75acd8b380f8ef62095b7696879Maurice Lam <attr name="suwNavBarButtonBackground" format="color|reference" /> 4995af12dac219e6945bab6142ea3a4099077314aaMaurice Lam <attr name="suwNavBarTextColor" format="color" /> 5095af12dac219e6945bab6142ea3a4099077314aaMaurice Lam <attr name="suwNavBarTheme" format="reference" /> 5195af12dac219e6945bab6142ea3a4099077314aaMaurice Lam 52039a55c144bc968ca9e242640ea107df10ac2867Maurice Lam <!-- Values copied from frameworks/base/core/res/res/values/attrs.xml --> 53039a55c144bc968ca9e242640ea107df10ac2867Maurice Lam <attr name="suwScrollIndicators"> 54039a55c144bc968ca9e242640ea107df10ac2867Maurice Lam <!-- No scroll indicators are displayed. --> 55039a55c144bc968ca9e242640ea107df10ac2867Maurice Lam <flag name="none" value="0x00" /> 56039a55c144bc968ca9e242640ea107df10ac2867Maurice Lam <!-- Displays top scroll indicator when view can be scrolled up. --> 57039a55c144bc968ca9e242640ea107df10ac2867Maurice Lam <flag name="top" value="0x01" /> 58039a55c144bc968ca9e242640ea107df10ac2867Maurice Lam <!-- Displays bottom scroll indicator when vew can be scrolled down. --> 59039a55c144bc968ca9e242640ea107df10ac2867Maurice Lam <flag name="bottom" value="0x02" /> 60039a55c144bc968ca9e242640ea107df10ac2867Maurice Lam <!-- Displays left scroll indicator when vew can be scrolled left. --> 61039a55c144bc968ca9e242640ea107df10ac2867Maurice Lam <flag name="left" value="0x04" /> 62039a55c144bc968ca9e242640ea107df10ac2867Maurice Lam <!-- Displays right scroll indicator when vew can be scrolled right. --> 63039a55c144bc968ca9e242640ea107df10ac2867Maurice Lam <flag name="right" value="0x08" /> 64039a55c144bc968ca9e242640ea107df10ac2867Maurice Lam <!-- Displays right scroll indicator when vew can be scrolled in the 65039a55c144bc968ca9e242640ea107df10ac2867Maurice Lam start direction. --> 66039a55c144bc968ca9e242640ea107df10ac2867Maurice Lam <flag name="start" value="0x10" /> 67039a55c144bc968ca9e242640ea107df10ac2867Maurice Lam <!-- Displays right scroll indicator when vew can be scrolled in the 68039a55c144bc968ca9e242640ea107df10ac2867Maurice Lam end direction. --> 69039a55c144bc968ca9e242640ea107df10ac2867Maurice Lam <flag name="end" value="0x20" /> 70039a55c144bc968ca9e242640ea107df10ac2867Maurice Lam </attr> 71039a55c144bc968ca9e242640ea107df10ac2867Maurice Lam 72fce4cf6161b2a1644ad21034f0afe4087d659ab4Maurice Lam <!-- Custom view attributes --> 73a6d30093e9308a88fc875b484cf16cda385c2f98Maurice Lam <attr name="suwColorPrimary" format="color" /> 74b01f3ef075d501d1f61e6f61794a5cadd3ff2026Maurice Lam <attr name="suwHeader" format="reference" /> 75180360409c9e4e9163c670ff48663244b4057eafMaurice Lam <attr name="suwDividerInset" format="dimension|reference" /> 76e56d1ebc7d8f62db8d4ee6342af61ae2d5583ec1Maurice Lam <attr name="suwItemDescriptionStyle" format="reference" /> 77fce4cf6161b2a1644ad21034f0afe4087d659ab4Maurice Lam 780e6095c127b612821147a1c55d6ec4f679e5c47eMaurice Lam <declare-styleable name="SuwIllustration"> 790e6095c127b612821147a1c55d6ec4f679e5c47eMaurice Lam <attr name="suwAspectRatio" format="float" /> 800e6095c127b612821147a1c55d6ec4f679e5c47eMaurice Lam </declare-styleable> 810e6095c127b612821147a1c55d6ec4f679e5c47eMaurice Lam 82efbc38ccde179dbcbb85f9d018bb6d3510105a19Maurice Lam <declare-styleable name="SuwStickyHeaderListView"> 83b01f3ef075d501d1f61e6f61794a5cadd3ff2026Maurice Lam <attr name="suwHeader" /> 84b01f3ef075d501d1f61e6f61794a5cadd3ff2026Maurice Lam </declare-styleable> 85b01f3ef075d501d1f61e6f61794a5cadd3ff2026Maurice Lam 86b01f3ef075d501d1f61e6f61794a5cadd3ff2026Maurice Lam <declare-styleable name="SuwHeaderRecyclerView"> 87b01f3ef075d501d1f61e6f61794a5cadd3ff2026Maurice Lam <attr name="suwHeader" /> 88efbc38ccde179dbcbb85f9d018bb6d3510105a19Maurice Lam </declare-styleable> 89efbc38ccde179dbcbb85f9d018bb6d3510105a19Maurice Lam 90fce4cf6161b2a1644ad21034f0afe4087d659ab4Maurice Lam <declare-styleable name="SuwGlifLayout"> 91a6d30093e9308a88fc875b484cf16cda385c2f98Maurice Lam <attr name="suwColorPrimary" /> 9239056e5dc4b068745c2d9be69e5cd0c008bdc117Maurice Lam <attr name="suwBackgroundPatterned" format="boolean" /> 9339056e5dc4b068745c2d9be69e5cd0c008bdc117Maurice Lam <attr name="suwBackgroundBaseColor" format="color" /> 94fce4cf6161b2a1644ad21034f0afe4087d659ab4Maurice Lam </declare-styleable> 95fce4cf6161b2a1644ad21034f0afe4087d659ab4Maurice Lam 96c3eebe9f664af4b77e5948a14bf266b25dc25cc8Maurice Lam <declare-styleable name="SuwStatusBarBackgroundLayout"> 97c3eebe9f664af4b77e5948a14bf266b25dc25cc8Maurice Lam <attr name="suwStatusBarBackground" format="color|reference" /> 98c3eebe9f664af4b77e5948a14bf266b25dc25cc8Maurice Lam </declare-styleable> 99c3eebe9f664af4b77e5948a14bf266b25dc25cc8Maurice Lam 1002c42b3f95a9319fc36f1dea5e775e2fab13a0a25Maurice Lam <declare-styleable name="SuwMaxSizeFrameLayout"> 1012c42b3f95a9319fc36f1dea5e775e2fab13a0a25Maurice Lam <attr name="android:height" /> 1022c42b3f95a9319fc36f1dea5e775e2fab13a0a25Maurice Lam <attr name="android:width" /> 1032c42b3f95a9319fc36f1dea5e775e2fab13a0a25Maurice Lam </declare-styleable> 1042c42b3f95a9319fc36f1dea5e775e2fab13a0a25Maurice Lam 10595af12dac219e6945bab6142ea3a4099077314aaMaurice Lam <declare-styleable name="SuwSetupWizardLayout"> 10695af12dac219e6945bab6142ea3a4099077314aaMaurice Lam <attr name="suwBackground" format="color|reference" /> 10795af12dac219e6945bab6142ea3a4099077314aaMaurice Lam <attr name="suwBackgroundTile" format="color|reference" /> 1087114577a094593dbf55b625146b3809800697030Jorim Jaggi <attr name="suwDecorPaddingTop" format="dimension|reference" /> 10995af12dac219e6945bab6142ea3a4099077314aaMaurice Lam <attr name="suwIllustration" format="color|reference" /> 1107114577a094593dbf55b625146b3809800697030Jorim Jaggi <attr name="suwIllustrationAspectRatio" format="float|reference" /> 11195af12dac219e6945bab6142ea3a4099077314aaMaurice Lam <attr name="suwIllustrationHorizontalTile" format="color|reference" /> 11295af12dac219e6945bab6142ea3a4099077314aaMaurice Lam <attr name="suwIllustrationImage" format="color|reference" /> 11395af12dac219e6945bab6142ea3a4099077314aaMaurice Lam </declare-styleable> 11495af12dac219e6945bab6142ea3a4099077314aaMaurice Lam 115bdfc0132ff90a333de202adfbf204cdc8139e632Maurice Lam <declare-styleable name="SuwTemplateLayout"> 116bdfc0132ff90a333de202adfbf204cdc8139e632Maurice Lam <attr name="android:layout" /> 117bdfc0132ff90a333de202adfbf204cdc8139e632Maurice Lam <attr name="suwContainer" format="reference" /> 118bdfc0132ff90a333de202adfbf204cdc8139e632Maurice Lam </declare-styleable> 119bdfc0132ff90a333de202adfbf204cdc8139e632Maurice Lam 120960c0ea0b1d36904beef0f01715dd43a211e88caMaurice Lam <declare-styleable name="SuwAbstractItem"> 121960c0ea0b1d36904beef0f01715dd43a211e88caMaurice Lam <attr name="android:id" /> 122960c0ea0b1d36904beef0f01715dd43a211e88caMaurice Lam </declare-styleable> 123960c0ea0b1d36904beef0f01715dd43a211e88caMaurice Lam 1245bf291fde3dfd64f264d525534730514a279c8fcMaurice Lam <declare-styleable name="SuwItem"> 1255bf291fde3dfd64f264d525534730514a279c8fcMaurice Lam <attr name="android:enabled" /> 1265bf291fde3dfd64f264d525534730514a279c8fcMaurice Lam <attr name="android:icon" /> 1275bf291fde3dfd64f264d525534730514a279c8fcMaurice Lam <attr name="android:layout" /> 1285bf291fde3dfd64f264d525534730514a279c8fcMaurice Lam <attr name="android:summary" /> 129575ec4f0150a3607d0b6902a9b52866c170822f9Maurice Lam <attr name="android:title" /> 130575ec4f0150a3607d0b6902a9b52866c170822f9Maurice Lam <attr name="android:visible" /> 1315bf291fde3dfd64f264d525534730514a279c8fcMaurice Lam </declare-styleable> 1325bf291fde3dfd64f264d525534730514a279c8fcMaurice Lam 133efd346d200a1649d94c5a1add1636de5b7d56eefUdam Saini <declare-styleable name="SuwDividerItemDecoration"> 134efd346d200a1649d94c5a1add1636de5b7d56eefUdam Saini <attr name="android:listDivider" /> 135efd346d200a1649d94c5a1add1636de5b7d56eefUdam Saini <attr name="android:dividerHeight" /> 136efd346d200a1649d94c5a1add1636de5b7d56eefUdam Saini <attr name="suwDividerCondition" /> 137efd346d200a1649d94c5a1add1636de5b7d56eefUdam Saini </declare-styleable> 138efd346d200a1649d94c5a1add1636de5b7d56eefUdam Saini 13900358e4d12e6c7ba0f1da1fa9ad57f87da9b3b1aMaurice Lam <declare-styleable name="SuwButtonItem"> 14000358e4d12e6c7ba0f1da1fa9ad57f87da9b3b1aMaurice Lam <attr name="android:buttonStyle" /> 14100358e4d12e6c7ba0f1da1fa9ad57f87da9b3b1aMaurice Lam <attr name="android:enabled" /> 14200358e4d12e6c7ba0f1da1fa9ad57f87da9b3b1aMaurice Lam <attr name="android:text" /> 14300358e4d12e6c7ba0f1da1fa9ad57f87da9b3b1aMaurice Lam <attr name="android:theme" /> 14400358e4d12e6c7ba0f1da1fa9ad57f87da9b3b1aMaurice Lam </declare-styleable> 14500358e4d12e6c7ba0f1da1fa9ad57f87da9b3b1aMaurice Lam 1467514f1cee29b3feb4822ce16945c1c312057d24fMaurice Lam <declare-styleable name="SuwHeaderMixin"> 1477514f1cee29b3feb4822ce16945c1c312057d24fMaurice Lam <attr name="suwHeaderText" format="string" localization="suggested" /> 1487514f1cee29b3feb4822ce16945c1c312057d24fMaurice Lam </declare-styleable> 1497514f1cee29b3feb4822ce16945c1c312057d24fMaurice Lam 1507514f1cee29b3feb4822ce16945c1c312057d24fMaurice Lam <declare-styleable name="SuwColoredHeaderMixin"> 1517514f1cee29b3feb4822ce16945c1c312057d24fMaurice Lam <attr name="suwHeaderColor" format="reference|color" /> 1527514f1cee29b3feb4822ce16945c1c312057d24fMaurice Lam </declare-styleable> 1537514f1cee29b3feb4822ce16945c1c312057d24fMaurice Lam 1547514f1cee29b3feb4822ce16945c1c312057d24fMaurice Lam <declare-styleable name="SuwIconMixin"> 1557514f1cee29b3feb4822ce16945c1c312057d24fMaurice Lam <attr name="android:icon" /> 1567514f1cee29b3feb4822ce16945c1c312057d24fMaurice Lam </declare-styleable> 1577514f1cee29b3feb4822ce16945c1c312057d24fMaurice Lam 158d349adb3941c88ae27ec451acd19641ba03205dfMaurice Lam <declare-styleable name="SuwListMixin"> 159d349adb3941c88ae27ec451acd19641ba03205dfMaurice Lam <attr name="android:entries" /> 160d349adb3941c88ae27ec451acd19641ba03205dfMaurice Lam <attr name="suwDividerInset" /> 161d349adb3941c88ae27ec451acd19641ba03205dfMaurice Lam </declare-styleable> 162d349adb3941c88ae27ec451acd19641ba03205dfMaurice Lam 163efbc38ccde179dbcbb85f9d018bb6d3510105a19Maurice Lam</resources> 164