Modify merge all png elements to svg elements

This commit is contained in:
2022-10-02 22:55:32 +08:00
parent 7fcf9228f4
commit cbd6fd038d
20 changed files with 127 additions and 72 deletions

View File

@@ -81,7 +81,7 @@ class MainActivity : BaseActivity<ActivityMainBinding>() {
/** 判断 Hook 状态 */ /** 判断 Hook 状态 */
if (YukiHookAPI.Status.isModuleActive) { if (YukiHookAPI.Status.isModuleActive) {
binding.mainLinStatus.setBackgroundResource(R.drawable.bg_green_round) binding.mainLinStatus.setBackgroundResource(R.drawable.bg_green_round)
binding.mainImgStatus.setImageResource(R.mipmap.ic_success) binding.mainImgStatus.setImageResource(R.drawable.ic_success)
binding.mainTextStatus.text = "模块已激活" binding.mainTextStatus.text = "模块已激活"
binding.mainTextApiWay.isVisible = true binding.mainTextApiWay.isVisible = true
refreshActivateExecutor() refreshActivateExecutor()

View File

@@ -0,0 +1,9 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="150.1dp"
android:height="150dp"
android:viewportWidth="1025"
android:viewportHeight="1024">
<path
android:fillColor="#ffffff"
android:pathData="M983.8,314.4c-25.7,-60.8 -62.5,-115.4 -109.4,-162.3 -46.9,-46.9 -101.5,-83.7 -162.3,-109.4 -62.9,-26.7 -129.9,-40.2 -198.8,-40.2S377.5,16 314.5,42.7C253.8,68.4 199.1,105.2 152.3,152.2c-46.9,46.9 -83.7,101.5 -109.4,162.3 -26.7,62.9 -40.2,129.9 -40.2,198.8s13.5,135.8 40.2,198.8c25.7,60.8 62.5,115.4 109.4,162.3 46.9,46.9 101.5,83.7 162.3,109.4 62.9,26.7 129.9,40.2 198.8,40.2s135.8,-13.5 198.8,-40.2c60.8,-25.7 115.4,-62.5 162.3,-109.4 46.9,-46.9 83.7,-101.5 109.4,-162.3 26.7,-62.9 40.2,-129.9 40.2,-198.8s-13.6,-135.9 -40.3,-198.9zM550.5,768.2c0,21 -17,38 -38,38s-38,-17 -38,-38L474.5,395.6c0,-21 17,-38 38,-38s38,17 38,38v372.6zM510.8,305.5c-29.2,0 -52.7,-23.7 -52.7,-52.7 0,-29.2 23.7,-52.7 52.7,-52.7 29.2,0 52.7,23.7 52.7,52.7 0.1,29.2 -23.6,52.7 -52.7,52.7z" />
</vector>

View File

@@ -0,0 +1,9 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="192dp"
android:height="150.39165dp"
android:viewportWidth="1307"
android:viewportHeight="1024">
<path
android:fillColor="#ffffff"
android:pathData="M268.7,566.5h929.6c36.3,0 72.6,-29 72.6,-72.6 0,-36.3 -29,-72.6 -72.6,-72.6H305l297.8,-297.8c29,-29 29,-72.6 0,-101.7 -29,-29 -72.6,-29 -101.7,0L72.6,450.3c-14.5,14.5 -21.8,36.3 -21.8,58.1 0,21.8 0,43.6 21.8,58.1l428.5,428.5c29,29 72.6,29 101.7,0 29,-29 29,-72.6 0,-101.7l-334.1,-326.8z" />
</vector>

View File

@@ -0,0 +1,9 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="150dp"
android:height="150dp"
android:viewportWidth="896"
android:viewportHeight="896">
<path
android:fillColor="#ffffff"
android:pathData="M448,0C200.58,0 0,200.58 0,448 0,695.42 200.58,896 448,896 695.42,896 896,695.42 896,448 896,200.58 695.42,0 448,0ZM663,612.05a36.11,36.11 0,0 1,0 50.95,36.11 36.11,0 0,1 -50.91,0L448,498.91 284,663a36.11,36.11 0,0 1,-51 0,36.11 36.11,0 0,1 0,-50.91L397,448.09 233,284a36.11,36.11 0,0 1,0 -51,36.11 36.11,0 0,1 51,0l164,164.09 164,-164a36.11,36.11 0,0 1,51 -0.09,36.11 36.11,0 0,1 0,51L498.91,448Z" />
</vector>

View File

@@ -4,9 +4,9 @@
android:viewportWidth="48" android:viewportWidth="48"
android:viewportHeight="48"> android:viewportHeight="48">
<path <path
android:pathData="M19,4H37L26,18H41L17,44L22,25H8L19,4Z"
android:strokeLineJoin="round"
android:strokeWidth="4"
android:fillColor="#00000000" android:fillColor="#00000000"
android:strokeColor="#ffffff"/> android:pathData="M19,4H37L26,18H41L17,44L22,25H8L19,4Z"
android:strokeWidth="4"
android:strokeColor="#ffffff"
android:strokeLineJoin="round" />
</vector> </vector>

View File

@@ -0,0 +1,9 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="150dp"
android:height="150dp"
android:viewportWidth="1024"
android:viewportHeight="1024">
<path
android:fillColor="#ffffff"
android:pathData="M512,12.6c-282.8,0 -512,229.2 -512,512 0,226.2 146.7,418.1 350.1,485.8 25.6,4.7 35,-11.1 35,-24.6 0,-12.2 -0.5,-52.5 -0.7,-95.3 -142.5,31 -172.5,-60.4 -172.5,-60.4 -23.3,-59.2 -56.8,-74.9 -56.8,-74.9 -46.5,-31.8 3.5,-31.1 3.5,-31.1 51.4,3.6 78.5,52.8 78.5,52.8 45.7,78.3 119.8,55.6 149,42.6 4.6,-33.1 17.9,-55.7 32.5,-68.5 -113.7,-12.9 -233.3,-56.9 -233.3,-253 0,-55.9 20,-101.6 52.8,-137.4 -5.3,-12.9 -22.8,-65 5,-135.5 0,0 43,-13.8 140.8,52.5 40.8,-11.4 84.6,-17 128.2,-17.2 43.5,0.2 87.3,5.9 128.3,17.2 97.7,-66.2 140.6,-52.5 140.6,-52.5 27.9,70.5 10.3,122.6 5,135.5 32.8,35.8 52.7,81.5 52.7,137.4 0,196.6 -119.8,239.9 -233.8,252.6 18.4,15.9 34.7,47 34.7,94.8 0,68.5 -0.6,123.6 -0.6,140.5 0,13.6 9.2,29.6 35.2,24.6 203.3,-67.8 349.9,-259.6 349.9,-485.8 0,-282.8 -229.2,-512 -512,-512z" />
</vector>

View File

@@ -4,22 +4,22 @@
android:viewportWidth="48" android:viewportWidth="48"
android:viewportHeight="48"> android:viewportHeight="48">
<path <path
android:fillColor="#00000000"
android:pathData="M9,18V42H39V18L24,6L9,18Z" android:pathData="M9,18V42H39V18L24,6L9,18Z"
android:strokeLineJoin="round"
android:strokeWidth="4" android:strokeWidth="4"
android:fillColor="#00000000"
android:strokeColor="#ffffff" android:strokeColor="#ffffff"
android:strokeLineCap="round"/> android:strokeLineCap="round"
android:strokeLineJoin="round" />
<path <path
android:pathData="M19,29V42H29V29H19Z"
android:strokeLineJoin="round"
android:strokeWidth="4"
android:fillColor="#00000000" android:fillColor="#00000000"
android:strokeColor="#ffffff"/> android:pathData="M19,29V42H29V29H19Z"
android:strokeWidth="4"
android:strokeColor="#ffffff"
android:strokeLineJoin="round" />
<path <path
android:fillColor="#00000000"
android:pathData="M9,42H39" android:pathData="M9,42H39"
android:strokeWidth="4" android:strokeWidth="4"
android:fillColor="#00000000"
android:strokeColor="#ffffff" android:strokeColor="#ffffff"
android:strokeLineCap="round" /> android:strokeLineCap="round" />
</vector> </vector>

View File

@@ -4,27 +4,27 @@
android:viewportWidth="48" android:viewportWidth="48"
android:viewportHeight="48"> android:viewportHeight="48">
<path <path
android:fillColor="#00000000"
android:pathData="M24,44C29.523,44 34.523,41.761 38.142,38.142C41.761,34.523 44,29.523 44,24C44,18.477 41.761,13.477 38.142,9.858C34.523,6.239 29.523,4 24,4C18.477,4 13.477,6.239 9.858,9.858C6.239,13.477 4,18.477 4,24C4,29.523 6.239,34.523 9.858,38.142C13.477,41.761 18.477,44 24,44Z" android:pathData="M24,44C29.523,44 34.523,41.761 38.142,38.142C41.761,34.523 44,29.523 44,24C44,18.477 41.761,13.477 38.142,9.858C34.523,6.239 29.523,4 24,4C18.477,4 13.477,6.239 9.858,9.858C6.239,13.477 4,18.477 4,24C4,29.523 6.239,34.523 9.858,38.142C13.477,41.761 18.477,44 24,44Z"
android:strokeLineJoin="round"
android:strokeWidth="4" android:strokeWidth="4"
android:fillColor="#00000000" android:strokeColor="#ffffff"
android:strokeColor="#ffffff"/> android:strokeLineJoin="round" />
<path <path
android:pathData="M24,11C25.381,11 26.5,12.119 26.5,13.5C26.5,14.881 25.381,16 24,16C22.619,16 21.5,14.881 21.5,13.5C21.5,12.119 22.619,11 24,11Z"
android:fillColor="#ffffff" android:fillColor="#ffffff"
android:fillType="evenOdd"/> android:fillType="evenOdd"
android:pathData="M24,11C25.381,11 26.5,12.119 26.5,13.5C26.5,14.881 25.381,16 24,16C22.619,16 21.5,14.881 21.5,13.5C21.5,12.119 22.619,11 24,11Z" />
<path <path
android:fillColor="#00000000"
android:pathData="M24.5,34V20H23.5H22.5" android:pathData="M24.5,34V20H23.5H22.5"
android:strokeLineJoin="round"
android:strokeWidth="4" android:strokeWidth="4"
android:fillColor="#00000000"
android:strokeColor="#ffffff" android:strokeColor="#ffffff"
android:strokeLineCap="round"/> android:strokeLineCap="round"
android:strokeLineJoin="round" />
<path <path
android:pathData="M21,34H28"
android:strokeLineJoin="round"
android:strokeWidth="4"
android:fillColor="#00000000" android:fillColor="#00000000"
android:pathData="M21,34H28"
android:strokeWidth="4"
android:strokeColor="#ffffff" android:strokeColor="#ffffff"
android:strokeLineCap="round"/> android:strokeLineCap="round"
android:strokeLineJoin="round" />
</vector> </vector>

View File

@@ -3,7 +3,8 @@
android:height="108dp" android:height="108dp"
android:viewportWidth="108" android:viewportWidth="108"
android:viewportHeight="108"> android:viewportHeight="108">
<group android:scaleX="0.03609375" <group
android:scaleX="0.03609375"
android:scaleY="0.03609375" android:scaleY="0.03609375"
android:translateX="35.52" android:translateX="35.52"
android:translateY="35.52"> android:translateY="35.52">

View File

@@ -0,0 +1,9 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="150dp"
android:height="150dp"
android:viewportWidth="1008.7"
android:viewportHeight="1008.7">
<path
android:fillColor="#ffffff"
android:pathData="M504.4,0C226.3,0 0,226.3 0,504.4 0,782.5 226.3,1008.7 504.4,1008.7c278.1,0 504.4,-226.3 504.4,-504.4C1008.7,226.3 782.5,0 504.4,0ZM786.6,407.7 L458.6,743.9c-7.8,8 -18.6,12.6 -29.8,12.6h-0.2c-11.1,0 -21.8,-4.4 -29.7,-12.3L222.5,567.9c-16.4,-16.4 -16.4,-43 0,-59.4 16.4,-16.4 43,-16.4 59.4,0L428.2,654.8 726.5,348.9c16.3,-16.6 42.9,-16.9 59.4,-0.7 16.6,16.2 16.9,42.8 0.7,59.4z" />
</vector>

View File

@@ -0,0 +1,9 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="150dp"
android:height="150dp"
android:viewportWidth="1024"
android:viewportHeight="1024">
<path
android:fillColor="#ffffff"
android:pathData="m512,794a44.8,44.8 0,1 1,44.8 -44.8,44.8 44.8,0 0,1 -44.8,44.8zM471.9,230.8a40.1,40.1 0,0 1,80.2 0v369.1a40.1,40.1 0,0 1,-79.8 0zM512,0A512,512 0,1 0,1024 512,512 512,0 0,0 512,0Z" />
</vector>

View File

@@ -26,7 +26,7 @@
android:layout_height="20dp" android:layout_height="20dp"
android:layout_marginStart="10dp" android:layout_marginStart="10dp"
android:layout_marginEnd="20dp" android:layout_marginEnd="20dp"
android:src="@mipmap/ic_back" android:src="@drawable/ic_back"
android:tint="@color/colorTextGray" android:tint="@color/colorTextGray"
android:tooltipText="返回" /> android:tooltipText="返回" />
@@ -178,7 +178,7 @@
android:id="@+id/active_mode_icon" android:id="@+id/active_mode_icon"
android:layout_width="13dp" android:layout_width="13dp"
android:layout_height="13dp" android:layout_height="13dp"
android:src="@mipmap/ic_success" android:src="@drawable/ic_success"
android:tint="#FF26A69A" android:tint="#FF26A69A"
android:visibility="gone" /> android:visibility="gone" />
@@ -186,7 +186,7 @@
android:id="@+id/inactive_mode_icon" android:id="@+id/inactive_mode_icon"
android:layout_width="13dp" android:layout_width="13dp"
android:layout_height="13dp" android:layout_height="13dp"
android:src="@mipmap/ic_error" android:src="@drawable/ic_error"
android:tint="#FF7043" android:tint="#FF7043"
android:visibility="gone" /> android:visibility="gone" />
</androidx.cardview.widget.CardView> </androidx.cardview.widget.CardView>

View File

@@ -36,7 +36,7 @@
android:layout_height="27dp" android:layout_height="27dp"
android:layout_marginEnd="5dp" android:layout_marginEnd="5dp"
android:alpha="0.85" android:alpha="0.85"
android:src="@mipmap/ic_github" android:src="@drawable/ic_github"
android:tint="@color/colorTextGray" android:tint="@color/colorTextGray"
android:tooltipText="项目地址" /> android:tooltipText="项目地址" />
</LinearLayout> </LinearLayout>
@@ -59,7 +59,7 @@
android:layout_height="25dp" android:layout_height="25dp"
android:layout_marginStart="25dp" android:layout_marginStart="25dp"
android:layout_marginEnd="5dp" android:layout_marginEnd="5dp"
android:src="@mipmap/ic_warn" android:src="@drawable/ic_warn"
android:tint="@color/white" /> android:tint="@color/white" />
<LinearLayout <LinearLayout
@@ -250,7 +250,7 @@
android:layout_height="15dp" android:layout_height="15dp"
android:layout_marginEnd="15dp" android:layout_marginEnd="15dp"
android:alpha="0.85" android:alpha="0.85"
android:src="@mipmap/ic_about" android:src="@drawable/ic_about"
android:tint="@color/colorTextDark" /> android:tint="@color/colorTextDark" />
<TextView <TextView

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.0 KiB