[Android] Migrate some TV icons from png to vector
Nicolas Pomepuy
git at videolan.org
Wed Feb 7 06:50:56 UTC 2024
vlc-android | branch: master | Nicolas Pomepuy <nicolas at videolabs.io> | Mon Jan 22 07:42:52 2024 +0100| [0d0d29477d1735303c7c762a6e06f35f08be1517] | committer: Nicolas Pomepuy
Migrate some TV icons from png to vector
> https://code.videolan.org/videolan/vlc-android/commit/0d0d29477d1735303c7c762a6e06f35f08be1517
---
.../src/main/res/drawable-hdpi/ic_menu_info_big.png | Bin 3080 -> 0 bytes
.../src/main/res/drawable-hdpi/ic_menu_tv_scan.png | Bin 4105 -> 0 bytes
.../src/main/res/drawable-mdpi/ic_menu_info_big.png | Bin 2250 -> 0 bytes
.../src/main/res/drawable-mdpi/ic_menu_tv_scan.png | Bin 2234 -> 0 bytes
.../src/main/res/drawable-xhdpi/ic_menu_info_big.png | Bin 4790 -> 0 bytes
.../src/main/res/drawable-xhdpi/ic_menu_tv_scan.png | Bin 4913 -> 0 bytes
.../src/main/res/drawable-xxhdpi/ic_menu_info_big.png | Bin 6980 -> 0 bytes
.../src/main/res/drawable-xxhdpi/ic_menu_tv_scan.png | Bin 9446 -> 0 bytes
.../src/main/res/drawable-xxxhdpi/ic_menu_info_big.png | Bin 11077 -> 0 bytes
.../src/main/res/drawable-xxxhdpi/ic_menu_tv_scan.png | Bin 11657 -> 0 bytes
.../src/main/res/drawable/ic_menu_info_big.xml | 9 +++++++++
.../resources/src/main/res/drawable/ic_menu_tv_scan.xml | 10 ++++++++++
12 files changed, 19 insertions(+)
diff --git a/application/resources/src/main/res/drawable-hdpi/ic_menu_info_big.png b/application/resources/src/main/res/drawable-hdpi/ic_menu_info_big.png
deleted file mode 100644
index a7ca3ba63d..0000000000
Binary files a/application/resources/src/main/res/drawable-hdpi/ic_menu_info_big.png and /dev/null differ
diff --git a/application/resources/src/main/res/drawable-hdpi/ic_menu_tv_scan.png b/application/resources/src/main/res/drawable-hdpi/ic_menu_tv_scan.png
deleted file mode 100644
index 35b07a93a9..0000000000
Binary files a/application/resources/src/main/res/drawable-hdpi/ic_menu_tv_scan.png and /dev/null differ
diff --git a/application/resources/src/main/res/drawable-mdpi/ic_menu_info_big.png b/application/resources/src/main/res/drawable-mdpi/ic_menu_info_big.png
deleted file mode 100644
index ae6c4b8a6a..0000000000
Binary files a/application/resources/src/main/res/drawable-mdpi/ic_menu_info_big.png and /dev/null differ
diff --git a/application/resources/src/main/res/drawable-mdpi/ic_menu_tv_scan.png b/application/resources/src/main/res/drawable-mdpi/ic_menu_tv_scan.png
deleted file mode 100644
index f479b2b373..0000000000
Binary files a/application/resources/src/main/res/drawable-mdpi/ic_menu_tv_scan.png and /dev/null differ
diff --git a/application/resources/src/main/res/drawable-xhdpi/ic_menu_info_big.png b/application/resources/src/main/res/drawable-xhdpi/ic_menu_info_big.png
deleted file mode 100644
index 6d69f7da6b..0000000000
Binary files a/application/resources/src/main/res/drawable-xhdpi/ic_menu_info_big.png and /dev/null differ
diff --git a/application/resources/src/main/res/drawable-xhdpi/ic_menu_tv_scan.png b/application/resources/src/main/res/drawable-xhdpi/ic_menu_tv_scan.png
deleted file mode 100644
index c9598e0c49..0000000000
Binary files a/application/resources/src/main/res/drawable-xhdpi/ic_menu_tv_scan.png and /dev/null differ
diff --git a/application/resources/src/main/res/drawable-xxhdpi/ic_menu_info_big.png b/application/resources/src/main/res/drawable-xxhdpi/ic_menu_info_big.png
deleted file mode 100644
index 02886932b6..0000000000
Binary files a/application/resources/src/main/res/drawable-xxhdpi/ic_menu_info_big.png and /dev/null differ
diff --git a/application/resources/src/main/res/drawable-xxhdpi/ic_menu_tv_scan.png b/application/resources/src/main/res/drawable-xxhdpi/ic_menu_tv_scan.png
deleted file mode 100644
index 120fe1d44c..0000000000
Binary files a/application/resources/src/main/res/drawable-xxhdpi/ic_menu_tv_scan.png and /dev/null differ
diff --git a/application/resources/src/main/res/drawable-xxxhdpi/ic_menu_info_big.png b/application/resources/src/main/res/drawable-xxxhdpi/ic_menu_info_big.png
deleted file mode 100644
index 14d4a02959..0000000000
Binary files a/application/resources/src/main/res/drawable-xxxhdpi/ic_menu_info_big.png and /dev/null differ
diff --git a/application/resources/src/main/res/drawable-xxxhdpi/ic_menu_tv_scan.png b/application/resources/src/main/res/drawable-xxxhdpi/ic_menu_tv_scan.png
deleted file mode 100644
index 67fba566b6..0000000000
Binary files a/application/resources/src/main/res/drawable-xxxhdpi/ic_menu_tv_scan.png and /dev/null differ
diff --git a/application/resources/src/main/res/drawable/ic_menu_info_big.xml b/application/resources/src/main/res/drawable/ic_menu_info_big.xml
new file mode 100644
index 0000000000..19aa3c1cfe
--- /dev/null
+++ b/application/resources/src/main/res/drawable/ic_menu_info_big.xml
@@ -0,0 +1,9 @@
+<vector xmlns:android="http://schemas.android.com/apk/res/android"
+ android:width="96dp"
+ android:height="96dp"
+ android:viewportWidth="24"
+ android:viewportHeight="24">
+ <path
+ android:fillColor="@color/white"
+ android:pathData="M11,7h2v2h-2zM11,11h2v6h-2zM12,2C6.48,2 2,6.48 2,12s4.48,10 10,10 10,-4.48 10,-10S17.52,2 12,2zM12,20c-4.41,0 -8,-3.59 -8,-8s3.59,-8 8,-8 8,3.59 8,8 -3.59,8 -8,8z" />
+</vector>
diff --git a/application/resources/src/main/res/drawable/ic_menu_tv_scan.xml b/application/resources/src/main/res/drawable/ic_menu_tv_scan.xml
new file mode 100644
index 0000000000..082aae09c4
--- /dev/null
+++ b/application/resources/src/main/res/drawable/ic_menu_tv_scan.xml
@@ -0,0 +1,10 @@
+<vector xmlns:android="http://schemas.android.com/apk/res/android"
+ android:width="96dp"
+ android:height="96dp"
+ android:viewportWidth="48"
+ android:viewportHeight="48">
+ <path
+ android:pathData="m19.734,8c-0.38,0 -0.805,0.046 -1.109,0.273 -0.602,0.45 -0.843,1.173 -1.367,2.734 -0.524,1.561 -0.547,1.64 -0.547,1.64 2.188,1.094 3.775,1.196 6.043,0 0,0 -0.025,-0.086 -0.547,-1.64 -0.522,-1.555 -0.762,-2.273 -1.367,-2.734 -0.302,-0.23 -0.725,-0.273 -1.105,-0.273zM14.797,18.391 L12.609,24.957 12.605,24.977c0.01,0 0.018,0 0.027,0 2.043,1.771 4.559,2.657 7.078,2.664a14,14 0,0 1,5.602 -7.313l-0.641,-1.922h-0.004c-3.318,2.478 -6.589,2.458 -9.871,0zM33,22a10,10 0,0 0,-10 10,10 10,0 0,0 10,10 10,10 0,0 0,9.789 -8h-3.082a7,7 0,0 1,-6.707 5,7 7,0 0,1 -7,-7 7,7 0,0 1,7 -7,7 7,0 0,1 4.945,2.055l-2.945,2.945L39.703,30 42.797,30 43,30v-8l-2.934,2.934a10,10 0,0 0,-7.066 -2.934zM9.207,28.238c-0.727,0 -1.405,0.549 -1.617,1.273l-1.273,4.336c-0.416,1.422 -0.828,2.832 -1.246,4.262 -0.175,0.598 -0.001,1.04 0.281,1.344 0.175,0.188 0.391,0.323 0.59,0.414 0.199,0.088 0.336,0.132 0.492,0.132 0.365,0 6.743,0 13.301,0 0.884,0 0.93,-0 1.793,0a14,14 0,0 1,-2.277 -5.406c-3.181,-0.098 -
6.289,-1.132 -8.262,-3.063 -0.413,-0.404 -0.274,-0.82 0,-1.641 0.182,-0.547 0.527,-1.648 0.527,-1.648L9.207,28.241Z"
+ android:strokeWidth="2.00000525"
+ android:fillColor="#ffffff"/>
+</vector>
More information about the Android
mailing list