diff options
author | Maurice Lam <yukl@google.com> | 2017-05-12 18:05:25 -0700 |
---|---|---|
committer | Maurice Lam <yukl@google.com> | 2017-05-17 17:05:16 +0000 |
commit | 9395f90b26e072b2748db315aaffef27c257a82d (patch) | |
tree | b0d16ef5339ce8391be36e7be922555dddb68b3d /library/main/res/values/attrs.xml | |
parent | 2da78450d5e9723ca93fa39bfdc3f8dd27b41e89 (diff) | |
download | setupwizard-9395f90b26e072b2748db315aaffef27c257a82d.tar.gz |
Add IllustrationVideoView to setup wizard library
- Upstreamed setup wizard's IllustrationVideoView to SuwLib
- Modified the view to automatically listen to window focus changes
to play and pause the video
- The view will now release the MediaPlayer as well in
onSurfaceTextureDestroyed
- Added checkstyle_suppression XML so it will ignore the
"__constructor__" magic method name from the style check.
Bug: 36584499
Test: ./gradlew connectedAndroidTest test
Change-Id: Id045467d5d544a5f54464a0c938d3d56e758e455
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 ec6489e..36d5fb7 100644 --- a/library/main/res/values/attrs.xml +++ b/library/main/res/values/attrs.xml @@ -93,6 +93,10 @@ <attr name="suwHeader" /> </declare-styleable> + <declare-styleable name="SuwIllustrationVideoView"> + <attr name="suwVideo" format="reference" /> + </declare-styleable> + <declare-styleable name="SuwGlifLayout"> <attr name="suwBackgroundPatterned" format="boolean" /> <attr name="suwBackgroundBaseColor" format="color" /> |