[Android] Fix AB repeat button color
Nicolas Pomepuy
git at videolan.org
Fri May 28 08:46:00 UTC 2021
vlc-android | branch: master | Nicolas Pomepuy <nicolas at videolabs.io> | Fri May 28 09:25:27 2021 +0200| [94bf8bea6cc70130a2c9178cc5e961ce8cc706a1] | committer: Nicolas Pomepuy
Fix AB repeat button color
Fixes #2037
> https://code.videolan.org/videolan/vlc-android/commit/94bf8bea6cc70130a2c9178cc5e961ce8cc706a1
---
.../resources/src/main/res/drawable/ic_abrepeat_w.xml | 12 ++++++++++++
application/vlc-android/res/layout/ab_repeat_controls.xml | 2 +-
2 files changed, 13 insertions(+), 1 deletion(-)
diff --git a/application/resources/src/main/res/drawable/ic_abrepeat_w.xml b/application/resources/src/main/res/drawable/ic_abrepeat_w.xml
new file mode 100644
index 000000000..7bc0f55d9
--- /dev/null
+++ b/application/resources/src/main/res/drawable/ic_abrepeat_w.xml
@@ -0,0 +1,12 @@
+<vector xmlns:android="http://schemas.android.com/apk/res/android"
+ android:width="36dp"
+ android:height="36dp"
+ android:viewportWidth="6.35"
+ android:viewportHeight="6.3500004">
+ <path
+ android:pathData="m4.57491,0.92499c-0.07784,0 -0.13155,0.0666 -0.12919,0.14831v0.31471L2.1177,1.388c-0.40185,0.00019 -0.7276,0.32575 -0.7276,0.7276v0.59532c0,0.10959 0.08885,0.19843 0.19844,0.19843 0.10959,0 0.19844,-0.0889 0.19844,-0.19843v-0.59428c0,-0.18267 0.14806,-0.33073 0.33073,-0.33073h2.32647v0.32556c0,0.12213 0.14037,0.18624 0.22686,0.0997l0.62063,-0.62373 -0.6227,-0.6227c-0.02514,-0.0257 -0.0596,-0.0399 -0.09405,-0.0398zM2.38125,2.38123c-0.14613,0 -0.26458,0.11846 -0.26458,0.26458v1.32292L2.38125,3.96872v-0.52917h0.39687v0.52917h0.26458v-1.32292c0,-0.14612 -0.11845,-0.26458 -0.26458,-0.26458zM3.30729,2.38123v1.5875L3.96875,3.96872c0.14613,0 0.26458,-0.11845 0.26458,-0.26458v-0.26459c0,-0.14612 -0.11845,-0.26458 -0.26458,-0.26458 0.14613,0 0.26458,-0.11845 0.26458,-0.26458v-0.26459c0,-0.14612 -0.11845,-0.26458 -0.26458,-0.26458zM2.38125,2.64581h0.39687v0.52917L2.38125,3.17499ZM3.57187,2.64581L3.96875,2.64581v0.39688L3.57188,3.04269ZM3.57187,3.30728L3.96875,3.30
728v0.39688L3.57188,3.70416ZM4.76147,3.44061c-0.10959,0 -0.19844,0.0888 -0.19844,0.19843v0.59428c0,0.18267 -0.14806,0.33073 -0.33073,0.33073L1.90583,4.56403v-0.32556c0,-0.12213 -0.14037,-0.18624 -0.22686,-0.0997l-0.62063,0.62373 0.6227,0.6227c0.02513,0.0257 0.0596,0.0399 0.09405,0.0398 0.07784,0 0.13155,-0.0666 0.12919,-0.14831v-0.31471h2.32802c0.40185,-0.00018 0.7276,-0.32575 0.7276,-0.7276v-0.59532c0,-0.10959 -0.08885,-0.19843 -0.19844,-0.19843z"
+ android:strokeWidth="0.26458332"
+ android:fillColor="@color/white"
+ android:strokeColor="#00000000"
+ android:fillAlpha="1" />
+</vector>
diff --git a/application/vlc-android/res/layout/ab_repeat_controls.xml b/application/vlc-android/res/layout/ab_repeat_controls.xml
index c1118ae54..02c0e9c27 100644
--- a/application/vlc-android/res/layout/ab_repeat_controls.xml
+++ b/application/vlc-android/res/layout/ab_repeat_controls.xml
@@ -41,7 +41,7 @@
vlc:layout_constraintEnd_toStartOf="@+id/ab_repeat_add_marker"
vlc:layout_constraintStart_toStartOf="parent"
vlc:layout_constraintTop_toTopOf="parent"
- vlc:srcCompat="@drawable/ic_abrepeat" />
+ vlc:srcCompat="@drawable/ic_abrepeat_w" />
<Button
android:id="@+id/ab_repeat_add_marker"
More information about the Android
mailing list