Skip to content

Commit 95bed89

Browse files
committed
feat: Converted media control icon to vector graphics
Removed the PNG version of `ic_media_control.png` and replaced it with a vector (XML) version. This helps reduce app size and improves scaling quality across different screen densities. Signed-off-by: ghhccghk <2137610394@qq.com>
1 parent 4fa30c2 commit 95bed89

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed
-1.17 KB
Binary file not shown.
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
<vector xmlns:android="http://schemas.android.com/apk/res/android"
2+
android:width="84dp"
3+
android:height="84dp"
4+
android:viewportWidth="84"
5+
android:viewportHeight="84">
6+
<group>
7+
<clip-path
8+
android:pathData="M0,0h84v84h-84zM0,0L0,84L84,84L84,0L0,0M20.887,12.867C24.712,12.867 23.932,16.847 22.537,19.004C19.854,23.153 16.442,26.429 14.324,31C8.85,42.812 13.665,53.441 20.945,63C22.279,64.752 25.75,69.934 21.681,71.029C16.282,72.483 10.883,62.782 8.992,59C3.255,47.526 3.865,32.857 10.711,22C12.796,18.692 16.387,12.867 20.887,12.867M63.113,12.867C67.613,12.867 71.204,18.692 73.289,22C80.135,32.857 80.745,47.526 75.008,59C73.117,62.782 67.718,72.483 62.319,71.029C58.25,69.934 61.721,64.752 63.055,63C70.335,53.441 75.15,42.812 69.676,31C67.558,26.429 64.146,23.153 61.463,19.004C60.068,16.847 59.288,12.867 63.113,12.867M29.853,23.867C32.185,23.867 32.896,26.109 32.342,28.044C30.413,34.775 24.161,37.999 26.653,46C27.816,49.735 31.283,52.26 32.342,55.956C32.896,57.891 32.185,60.133 29.853,60.133C26.122,60.133 23.331,55.906 21.836,52.999C18.107,45.754 18.257,37.071 22.367,30.004C23.87,27.419 26.495,23.867 29.853,23.867M54.147,23.867C57.505,23.867 60.13,27.419 61.633,30.004C65.743,37.071 65.893,45.754 62.164,52.999C60.668,55.906 57.878,60.133 54.147,60.133C51.815,60.133 51.104,57.891 51.658,55.956C53.586,49.225 59.839,46.001 57.347,38C56.184,34.265 52.717,31.74 51.658,28.044C51.104,26.109 51.815,23.867 54.147,23.867M40.004,33.449C50.947,30.761 55.032,47.84 43.996,50.551C33.053,53.238 28.968,36.16 40.004,33.449z"/>
9+
<path
10+
android:pathData="M0,0h84v84h-84z"
11+
android:fillColor="#ffffff"/>
12+
</group>
13+
</vector>

0 commit comments

Comments
 (0)