Add AnimatedVectorDrawable support for VideoPreference
- We are planning to use animation vector drawable to replace mp4 file to reduce apk size - Add vectorAnimation attr in VideoPreference - Delegate VideoPreference media control to AnimationController Bug: 143270527 Test: manual, robolectric Change-Id: Ia5859f928a9082085cdf715c762f964e1c99e003
This commit is contained in:
@@ -119,6 +119,7 @@
|
||||
<declare-styleable name="VideoPreference">
|
||||
<attr name="animation" format="reference" />
|
||||
<attr name="preview" format="reference" />
|
||||
<attr name="vectorAnimation" format="reference" />
|
||||
</declare-styleable>
|
||||
|
||||
<!-- For AspectRatioFrameLayout -->
|
||||
|
||||
Reference in New Issue
Block a user