diff options
author | Maurice Lam <yukl@google.com> | 2015-11-13 18:19:09 -0800 |
---|---|---|
committer | Maurice Lam <yukl@google.com> | 2015-12-09 15:46:47 -0800 |
commit | c3eebe9f664af4b77e5948a14bf266b25dc25cc8 (patch) | |
tree | b6e67881f05b82072569bbb8ac94c69a0bf1fdcd /library/main/res/values/attrs.xml | |
parent | 38064bc73a1ae04d94557ed35fb2f12b737a8898 (diff) | |
download | setupwizard-c3eebe9f664af4b77e5948a14bf266b25dc25cc8.tar.gz |
[SuwLib] Implement pattern drawable background
- Implement the pattern background for GLIF using a custom drawable.
The drawable draws the paths manually as specified in the SVG, for
backwards compatibility.
- Use a FrameLayout subclass to draw the custom status bar background
in the case of phone layouts, and set draw the background directly
for tablet / clamshell layouts.
Bug: 25650709
Change-Id: I527bb47efa143ec43c1030b57087fd2414d7045b
Diffstat (limited to 'library/main/res/values/attrs.xml')
-rw-r--r-- | library/main/res/values/attrs.xml | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/library/main/res/values/attrs.xml b/library/main/res/values/attrs.xml index 1ac8745..1ebe286 100644 --- a/library/main/res/values/attrs.xml +++ b/library/main/res/values/attrs.xml @@ -60,6 +60,10 @@ <attr name="suwDividerInset" /> </declare-styleable> + <declare-styleable name="SuwStatusBarBackgroundLayout"> + <attr name="suwStatusBarBackground" format="color|reference" /> + </declare-styleable> + <declare-styleable name="SuwSetupWizardLayout"> <attr name="suwBackground" format="color|reference" /> <attr name="suwBackgroundTile" format="color|reference" /> |