[Android] Fix video player icon animation state
Nicolas Pomepuy
git at videolan.org
Thu Aug 13 11:59:48 CEST 2020
vlc-android | branch: master | Nicolas Pomepuy <nicolas at videolabs.io> | Thu Aug 13 11:39:31 2020 +0200| [bf4cfc77b9af02d1d280f97529295c9c08c17342] | committer: Nicolas Pomepuy
Fix video player icon animation state
Fixes #1456
> https://code.videolan.org/videolan/vlc-android/commit/bf4cfc77b9af02d1d280f97529295c9c08c17342
---
.../main/res/drawable/anim_play_pause_video.xml | 25 ++++++++++------------
1 file changed, 11 insertions(+), 14 deletions(-)
diff --git a/application/resources/src/main/res/drawable/anim_play_pause_video.xml b/application/resources/src/main/res/drawable/anim_play_pause_video.xml
index 33dc312b3..3b83657ea 100644
--- a/application/resources/src/main/res/drawable/anim_play_pause_video.xml
+++ b/application/resources/src/main/res/drawable/anim_play_pause_video.xml
@@ -8,20 +8,17 @@
android:viewportWidth="48"
android:viewportHeight="48">
<path
- android:name="path_2"
- android:fillColor="?attr/player_icon_color"
- android:pathData="M 24 4 C 12.96 4 4 12.96 4 24 C 4 35.04 12.96 44 24 44 C 35.04 44 44 35.04 44 24 C 44 12.96 35.04 4 24 4 Z M 24 41.5 C 14.353 41.5 6.5 33.647 6.5 24 C 6.5 14.353 14.353 6.5 24 6.5 C 33.647 6.5 41.5 14.353 41.5 24 C 41.5 33.647 33.647 41.5 24 41.5 Z"
- android:strokeWidth="1" />
- <group
- android:name="group"
- android:pivotX="24"
- android:pivotY="24">
- <path
- android:name="path"
- android:pathData="M 30.667 22.333 L 17.333 22.333 L 17.333 19 L 30.667 19 L 30.667 22.333 M 17.333 29 L 17.333 25.667 L 30.667 25.667 L 30.667 29 L 17.333 29 M 32 24 L 32 24 L 32 24"
- android:fillColor="?attr/player_icon_color"
- android:strokeWidth="1" />
- </group>
+ android:pathData="m24,4c-11.04,0 -20,8.96 -20,20 0,11.04 8.96,20 20,20 11.04,0 20,-8.96 20,-20 0,-11.04 -8.96,-20 -20,-20zM24,41.5c-9.647,0 -17.5,-7.853 -17.5,-17.5 0,-9.647 7.853,-17.5 17.5,-17.5 9.647,0 17.5,7.853 17.5,17.5 0,9.647 -7.853,17.5 -17.5,17.5z"
+ android:fillColor="?attr/player_icon_color"/>
+ <path
+ android:pathData="m25.7287,30.6573 l-0.1473,-13.3232 3.3728,-0.0373 0.0843,13.3239 -3.3098,0.0366m-6.8299,-13.2493 l3.3718,-0.0373 0.1483,13.3232 -3.3108,0.0356 -0.2093,-13.3215m5.1896,14.5915"
+ android:fillColor="?attr/player_icon_color"/>
+ <path
+ android:pathData="m456,4c-11.04,0 -20,8.96 -20,20 0,11.04 8.96,20 20,20 11.04,0 20,-8.96 20,-20 0,-11.04 -8.96,-20 -20,-20zM456,41.5c-9.647,0 -17.5,-7.853 -17.5,-17.5 0,-9.647 7.853,-17.5 17.5,-17.5 9.647,0 17.5,7.853 17.5,17.5 0,9.647 -7.853,17.5 -17.5,17.5z"
+ android:fillColor="?attr/player_icon_color"/>
+ <path
+ android:pathData="M457.667,30.667V17.333H461v13.334h-3.333M451,17.333h3.333V30.667H451V17.333M456,32"
+ android:fillColor="?attr/player_icon_color"/>
</vector>
</aapt:attr>
<target android:name="group">
More information about the Android
mailing list