diff --git a/app/src/main/res/layout/activity_main.xml b/app/src/main/res/layout/activity_main.xml index b1a798a..b5d983c 100644 --- a/app/src/main/res/layout/activity_main.xml +++ b/app/src/main/res/layout/activity_main.xml @@ -103,6 +103,8 @@ android:layout_width="wrap_content" android:layout_height="wrap_content" android:alpha="0.8" + android:ellipsize="end" + android:singleLine="true" android:text="模块版本:%1" android:textColor="@color/white" android:textSize="13sp" /> @@ -113,10 +115,12 @@ android:layout_height="wrap_content" android:layout_marginStart="5dp" android:background="@drawable/bg_orange_round" + android:ellipsize="end" android:paddingLeft="5dp" android:paddingTop="2dp" android:paddingRight="5dp" android:paddingBottom="2dp" + android:singleLine="true" android:text="点击更新 %1" android:textColor="@color/white" android:textSize="11sp" @@ -128,6 +132,8 @@ android:layout_width="wrap_content" android:layout_height="wrap_content" android:alpha="0.8" + android:ellipsize="end" + android:singleLine="true" android:text="系统版本:%1" android:textColor="@color/white" android:textSize="13sp" /> @@ -191,8 +197,30 @@ android:gravity="center" android:orientation="vertical" android:paddingLeft="15dp" + android:paddingTop="15dp" android:paddingRight="15dp"> + + + + + + + + + + + + + + + + + + + + + + android:paddingLeft="10dp" + android:paddingTop="15dp" + android:paddingRight="10dp"> + + + + + + + + + + + + + + + android:padding="15dp" + android:paddingTop="15dp"> - + android:layout_marginEnd="10dp" + android:src="@mipmap/ic_help" /> @@ -507,7 +624,7 @@ android:layout_height="wrap_content" android:layout_marginBottom="10dp" android:alpha="0.8" - android:lineSpacingExtra="6dp" + android:lineSpacingExtra="10dp" android:text="Q.这个模块是如何诞生的?\nA.继 MIUI 之后的第二大系统 ColorOS 虽然支持原生通知图标,但是第三方推送五颜六色的图标系统并没有做适配,甚至系统自己的图标都是彩色的,极其不友好,而且从 ColorOS 12 开始,原生图标丢失了着色属性,这也是一种对原生 Android 生态的破坏。" android:textColor="@color/colorTextDark" android:textSize="12sp" /> @@ -517,7 +634,7 @@ android:layout_height="wrap_content" android:layout_marginBottom="10dp" android:alpha="0.8" - android:lineSpacingExtra="6dp" + android:lineSpacingExtra="10dp" android:text="Q.如何使用?\nA.模块仅支持 LSPosed,EdXposed 也可以使用但随时停止支持,由于模块涉及到修改系统应用,不支持其它 Hook 框架,在 LSPosed 的作用域中,只需勾选“系统界面”即可,应用设置后需要重启系统界面。" android:textColor="@color/colorTextDark" android:textSize="12sp" /> @@ -527,7 +644,7 @@ android:layout_height="wrap_content" android:layout_marginBottom="10dp" android:alpha="0.8" - android:lineSpacingExtra="6dp" + android:lineSpacingExtra="10dp" android:text="Q.哪些是已知问题?\nA.问题如下:\n1.由于机型有限,仅对 ColorOS 12~12.1 测试正常运行,根据酷友的需要云调试修复 ColorOS 11 的问题,其它版本情况未知,请自行进行测试。\n2.OxygenOS 只支持 12 版本,其它类 ColorOS 魔改的 UI 理论没有问题,请自行测试。" android:textColor="@color/colorTextDark" android:textSize="12sp" /> @@ -536,7 +653,7 @@ android:layout_width="match_parent" android:layout_height="wrap_content" android:alpha="0.8" - android:lineSpacingExtra="6dp" + android:lineSpacingExtra="10dp" android:text="Q.如何反馈问题?\nA.酷安关注 @星夜不荟" android:textColor="@color/colorTextDark" android:textSize="12sp" /> @@ -592,19 +709,34 @@ android:textSize="16sp" /> - + android:gravity="center|start" + android:orientation="horizontal" + android:padding="10dp"> + + + + + \ No newline at end of file diff --git a/app/src/main/res/mipmap-xxhdpi/ic_basic.png b/app/src/main/res/mipmap-xxhdpi/ic_basic.png new file mode 100644 index 0000000..6b478c1 Binary files /dev/null and b/app/src/main/res/mipmap-xxhdpi/ic_basic.png differ diff --git a/app/src/main/res/mipmap-xxhdpi/ic_control.png b/app/src/main/res/mipmap-xxhdpi/ic_control.png new file mode 100644 index 0000000..233c29b Binary files /dev/null and b/app/src/main/res/mipmap-xxhdpi/ic_control.png differ diff --git a/app/src/main/res/mipmap-xxhdpi/ic_help.png b/app/src/main/res/mipmap-xxhdpi/ic_help.png new file mode 100644 index 0000000..18cd31f Binary files /dev/null and b/app/src/main/res/mipmap-xxhdpi/ic_help.png differ diff --git a/app/src/main/res/mipmap-xxhdpi/ic_home.png b/app/src/main/res/mipmap-xxhdpi/ic_home.png new file mode 100644 index 0000000..4e51dfa Binary files /dev/null and b/app/src/main/res/mipmap-xxhdpi/ic_home.png differ diff --git a/app/src/main/res/mipmap-xxhdpi/ic_nf_style.png b/app/src/main/res/mipmap-xxhdpi/ic_nf_style.png new file mode 100644 index 0000000..1093848 Binary files /dev/null and b/app/src/main/res/mipmap-xxhdpi/ic_nf_style.png differ diff --git a/app/src/main/res/mipmap-xxhdpi/ic_notify.png b/app/src/main/res/mipmap-xxhdpi/ic_notify.png new file mode 100644 index 0000000..a1b2ef8 Binary files /dev/null and b/app/src/main/res/mipmap-xxhdpi/ic_notify.png differ diff --git a/app/src/main/res/mipmap-xxhdpi/ic_yukihookapi.png b/app/src/main/res/mipmap-xxhdpi/ic_yukihookapi.png new file mode 100644 index 0000000..f16902d Binary files /dev/null and b/app/src/main/res/mipmap-xxhdpi/ic_yukihookapi.png differ