20251110_205526_555

This commit is contained in:
ZhanGSKen
2025-11-10 20:55:31 +08:00
parent 17d2422690
commit 53271b21cf
13 changed files with 168 additions and 154 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 48 KiB

View File

@@ -1,7 +1,7 @@
<resources>
<string name="app_name">Positions</string>
<string name="app_laojun_name">Positions</string>
<string name="switch_to_main">切换到悟空笔记</string>
<string name="switch_to_laojun">切换到老君道說</string>
<string name="switch_disabled">切换功能不可用</string>
<string name="app_plus_name">PositionsPlus</string>
<string name="hide_app_plus">隐藏附加组件</string>
<string name="open_app_plus">开启隐藏组件</string>
<string name="app_plus_switch_disabled">隐藏组件切换功能不可用</string>
</resources>

View File

@@ -1,34 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<shortcuts xmlns:android="http://schemas.android.com/apk/res/android">
<!-- 切换启动入口的快捷菜单 -->
<shortcut
android:shortcutId="switch_launcher_main"
android:enabled="true"
android:icon="@mipmap/ic_launcher"
android:shortcutShortLabel="@string/switch_to_main"
android:shortcutLongLabel="@string/switch_to_main"
android:shortcutDisabledMessage="@string/switch_disabled">
<intent
android:action="cc.winboll.studio.positions.MainActivity"
android:targetPackage="cc.winboll.studio.positions"
android:targetClass="cc.winboll.studio.positions.MainActivity"
android:data="switch_launcher" />
<categories android:name="android.shortcut.conversation" />
</shortcut>
<shortcut
android:shortcutId="switch_launcher_laojun"
android:enabled="true"
android:icon="@mipmap/ic_launcher"
android:shortcutShortLabel="@string/switch_to_laojun"
android:shortcutLongLabel="@string/switch_to_laojun"
android:shortcutDisabledMessage="@string/switch_disabled">
<intent
android:action="cc.winboll.studio.positions.MainActivityLaojun"
android:targetPackage="cc.winboll.studio.positions"
android:targetClass="cc.winboll.studio.positions.MainActivity"
android:data="switch_launcher" />
<categories android:name="android.shortcut.conversation" />
</shortcut>
</shortcuts>

View File

@@ -0,0 +1,19 @@
<?xml version="1.0" encoding="utf-8"?>
<shortcuts xmlns:android="http://schemas.android.com/apk/res/android">
<!-- 切换启动入口的快捷菜单 -->
<shortcut
android:shortcutId="open_app_plus"
android:enabled="true"
android:icon="@mipmap/ic_launcher"
android:shortcutShortLabel="@string/open_app_plus"
android:shortcutLongLabel="@string/open_app_plus"
android:shortcutDisabledMessage="@string/app_plus_switch_disabled">
<intent
android:action="cc.winboll.studio.positions.MainActivity"
android:targetPackage="cc.winboll.studio.positions"
android:targetClass="cc.winboll.studio.positions.MainActivity"
android:data="open_app_plus" />
<categories android:name="android.shortcut.conversation" />
</shortcut>
</shortcuts>

View File

@@ -0,0 +1,19 @@
<?xml version="1.0" encoding="utf-8"?>
<shortcuts xmlns:android="http://schemas.android.com/apk/res/android">
<!-- 切换启动入口的快捷菜单 -->
<shortcut
android:shortcutId="hide_app_plus"
android:enabled="true"
android:icon="@mipmap/ic_launcher"
android:shortcutShortLabel="@string/hide_app_plus"
android:shortcutLongLabel="@string/hide_app_plus"
android:shortcutDisabledMessage="@string/app_plus_switch_disabled">
<intent
android:action="cc.winboll.studio.positions.PlusActivity.ACTION_HIDE_APP_PLUS"
android:targetPackage="cc.winboll.studio.positions"
android:targetClass="cc.winboll.studio.positions.PlusActivity"
android:data="hide_app_plus" />
<categories android:name="android.shortcut.conversation" />
</shortcut>
</shortcuts>