[Android] Add new bookmark icon
Alexandre Perraud
git at videolan.org
Tue Nov 2 13:00:50 UTC 2021
vlc-android | branch: master | Alexandre Perraud <alexandre at videolan.org> | Wed Sep 22 15:34:18 2021 +0200| [d1989b84675d4438c01131feeacd7eb995cbcbda] | committer: Nicolas Pomepuy
Add new bookmark icon
> https://code.videolan.org/videolan/vlc-android/commit/d1989b84675d4438c01131feeacd7eb995cbcbda
---
.../resources/src/main/res/drawable/ic_bookmark.xml | 20 +++++++++++---------
.../src/main/res/drawable/ic_bookmark_w.xml | 11 -----------
application/vlc-android/res/values/styles.xml | 6 +++---
3 files changed, 14 insertions(+), 23 deletions(-)
diff --git a/application/resources/src/main/res/drawable/ic_bookmark.xml b/application/resources/src/main/res/drawable/ic_bookmark.xml
index 96f4f063b..79eb793e2 100644
--- a/application/resources/src/main/res/drawable/ic_bookmark.xml
+++ b/application/resources/src/main/res/drawable/ic_bookmark.xml
@@ -1,11 +1,13 @@
+<!--From Google Fonts bookmark_border_black_48dp.svg-->
+
<vector xmlns:android="http://schemas.android.com/apk/res/android"
- android:width="48dp"
- android:height="48dp"
- android:viewportWidth="24"
- android:viewportHeight="24">
- <path
- android:pathData="M9,4C7.8919,4 7,4.892 7,6L7,20L12,16.9863L17,20L17,6C17,4.892 16.108,4 15,4L9,4z"
- android:fillColor="@color/standard_selection_control_normal"
- android:strokeColor="#00000000"
- android:fillAlpha="1" />
+ xmlns:tools="http://schemas.android.com/tools"
+ android:width="48dp"
+ android:height="48dp"
+ android:viewportWidth="24"
+ android:viewportHeight="24">
+ <path
+ android:pathData="M17,3L7,3c-1.1,0 -2,0.9 -2,2v16l7,-3 7,3L19,5c0,-1.1 -0.9,-2 -2,-2zM17,18l-5,-2.18L7,18L7,5h10v13z"
+ tools:fillColor="#ffffff"
+ android:fillColor="?attr/player_icon_color"/>
</vector>
diff --git a/application/resources/src/main/res/drawable/ic_bookmark_w.xml b/application/resources/src/main/res/drawable/ic_bookmark_w.xml
deleted file mode 100644
index 43ecdab1c..000000000
--- a/application/resources/src/main/res/drawable/ic_bookmark_w.xml
+++ /dev/null
@@ -1,11 +0,0 @@
-<vector xmlns:android="http://schemas.android.com/apk/res/android"
- android:width="48dp"
- android:height="48dp"
- android:viewportWidth="24"
- android:viewportHeight="24">
- <path
- android:pathData="M9,4C7.8919,4 7,4.892 7,6L7,20L12,16.9863L17,20L17,6C17,4.892 16.108,4 15,4L9,4z"
- android:fillColor="@color/standard_selection"
- android:strokeColor="#00000000"
- android:fillAlpha="1" />
-</vector>
diff --git a/application/vlc-android/res/values/styles.xml b/application/vlc-android/res/values/styles.xml
index dcbfd739f..c6618ecc5 100644
--- a/application/vlc-android/res/values/styles.xml
+++ b/application/vlc-android/res/values/styles.xml
@@ -256,7 +256,7 @@
<item name="ic_tips_tap">@drawable/tips_tap</item>
<item name="ic_jumpto_normal_style">@drawable/ic_jumpto</item>
<item name="ic_chapter_normal_style">@drawable/ic_chapter</item>
- <item name="ic_bookmark_normal_style">@drawable/ic_bookmark_w</item>
+ <item name="ic_bookmark_normal_style">@drawable/ic_bookmark</item>
<item name="ic_equalizer_normal_style">@drawable/ic_equalizer</item>
<item name="ic_passthrough">@drawable/ic_passthrough_w</item>
<item name="ic_abrepeat">@drawable/ic_abrepeat</item>
@@ -324,7 +324,7 @@
<item name="ic_tips_tap">@drawable/tips_tap</item>
<item name="ic_jumpto_normal_style">@drawable/ic_jumpto</item>
<item name="ic_chapter_normal_style">@drawable/ic_chapter</item>
- <item name="ic_bookmark_normal_style">@drawable/ic_bookmark_w</item>
+ <item name="ic_bookmark_normal_style">@drawable/ic_bookmark</item>
<item name="ic_equalizer_normal_style">@drawable/ic_equalizer</item>
<item name="ic_save">@drawable/ic_save_w</item>
<item name="ic_passthrough">@drawable/ic_passthrough_w</item>
@@ -477,7 +477,7 @@
<item name="ic_tips_tap">@drawable/tips_tap</item>
<item name="ic_jumpto_normal_style">@drawable/ic_jumpto</item>
<item name="ic_chapter_normal_style">@drawable/ic_chapter</item>
- <item name="ic_bookmark_normal_style">@drawable/ic_bookmark_w</item>
+ <item name="ic_bookmark_normal_style">@drawable/ic_bookmark</item>
<item name="ic_equalizer_normal_style">@drawable/ic_equalizer</item>
<item name="ic_passthrough">@drawable/ic_passthrough_w</item>
<item name="ic_save">@drawable/ic_save_w</item>
More information about the Android
mailing list