summaryrefslogtreecommitdiff
path: root/library/main/res/values/attrs.xml
diff options
context:
space:
mode:
authorMaurice Lam <yukl@google.com>2015-11-18 16:04:56 -0800
committerMaurice Lam <yukl@google.com>2015-11-18 20:25:04 -0800
commitfce4cf6161b2a1644ad21034f0afe4087d659ab4 (patch)
tree5c0e77b475e4323537fc85c25b69d530e7426470 /library/main/res/values/attrs.xml
parent35cc29c9f307191962cd7124db14eb7b78c9407e (diff)
downloadsetupwizard-fce4cf6161b2a1644ad21034f0afe4087d659ab4.tar.gz
[SetupWizard] Implement GlifLayout
Bug: 25726515 Change-Id: Ib4ba64e648e52a9859fb6509a9ce41c692a20aa2
Diffstat (limited to 'library/main/res/values/attrs.xml')
-rw-r--r--library/main/res/values/attrs.xml12
1 files changed, 11 insertions, 1 deletions
diff --git a/library/main/res/values/attrs.xml b/library/main/res/values/attrs.xml
index 49ad430..209f81c 100644
--- a/library/main/res/values/attrs.xml
+++ b/library/main/res/values/attrs.xml
@@ -17,6 +17,7 @@
<resources>
+ <!-- Theme attributes -->
<attr name="suwLayoutTheme" format="reference" />
<attr name="suwMarginSides" format="dimension|reference" />
@@ -26,6 +27,9 @@
<attr name="suwNavBarTextColor" format="color" />
<attr name="suwNavBarTheme" format="reference" />
+ <!-- Custom view attributes -->
+ <attr name="suwHeaderText" format="string" localization="suggested" />
+
<declare-styleable name="SuwIllustration">
<attr name="suwAspectRatio" format="float" />
</declare-styleable>
@@ -34,10 +38,16 @@
<attr name="suwHeader" format="reference" />
</declare-styleable>
+ <declare-styleable name="SuwGlifLayout">
+ <attr name="android:icon" />
+ <attr name="suwHeaderColor" format="reference|color" />
+ <attr name="suwHeaderText" />
+ </declare-styleable>
+
<declare-styleable name="SuwSetupWizardLayout">
<attr name="suwBackground" format="color|reference" />
<attr name="suwBackgroundTile" format="color|reference" />
- <attr name="suwHeaderText" format="string" localization="suggested" />
+ <attr name="suwHeaderText" />
<attr name="suwDecorPaddingTop" format="dimension|reference" />
<attr name="suwIllustration" format="color|reference" />
<attr name="suwIllustrationAspectRatio" format="float|reference" />