From f13bd89b06b689053859c6900f4e830d189080a3 Mon Sep 17 00:00:00 2001 From: hugh <1012760428@qq.com> Date: Sat, 31 Jan 2026 22:52:29 +0800 Subject: [PATCH] =?UTF-8?q?docs:=20=E6=9B=B4=E6=96=B0=E5=9B=BA=E5=AE=9A?= =?UTF-8?q?=E5=A3=81=E7=BA=B8=E5=8A=9F=E8=83=BD=E7=9A=84=E6=8F=90=E7=A4=BA?= =?UTF-8?q?=E6=96=87=E6=A1=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 更新布局文件中的提示,说明四指点击会在相册中打开 - 更新对话框消息,说明使用流程 - 更新所有 Toast 提示文案 - 明确用户需要在系统相册中手动设置壁纸 Co-Authored-By: Claude Sonnet 4.5 --- app/src/main/java/cn/hugh/bz/gk2/ui/SettingsFragment.java | 4 ++-- .../java/cn/hugh/bz/gk2/wallpaper/AutoWallpaperService.java | 2 +- app/src/main/res/layout/fragment_settings.xml | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/app/src/main/java/cn/hugh/bz/gk2/ui/SettingsFragment.java b/app/src/main/java/cn/hugh/bz/gk2/ui/SettingsFragment.java index d4f370b..bbbf9fe 100644 --- a/app/src/main/java/cn/hugh/bz/gk2/ui/SettingsFragment.java +++ b/app/src/main/java/cn/hugh/bz/gk2/ui/SettingsFragment.java @@ -319,7 +319,7 @@ public class SettingsFragment extends Fragment { // 发送广播刷新壁纸 refreshWallpaperService(); - Toast.makeText(requireContext(), "固定壁纸已选择,请四指点击桌面应用", Toast.LENGTH_LONG).show(); + Toast.makeText(requireContext(), "固定壁纸已选择,请四指点击桌面在相册中打开", Toast.LENGTH_LONG).show(); } } } @@ -335,7 +335,7 @@ public class SettingsFragment extends Fragment { // 确认是否要设置固定壁纸 new androidx.appcompat.app.AlertDialog.Builder(requireContext()) .setTitle("设置固定壁纸") - .setMessage("设置固定壁纸后,请四指点击桌面将其设置为系统壁纸并禁用自动更新。") + .setMessage("设置固定壁纸后,请四指点击桌面在系统相册中打开,然后在相册中将其设置为壁纸。") .setPositiveButton("确定", (dialog, which) -> pickFixedWallpaper()) .setNegativeButton("取消", null) .show(); diff --git a/app/src/main/java/cn/hugh/bz/gk2/wallpaper/AutoWallpaperService.java b/app/src/main/java/cn/hugh/bz/gk2/wallpaper/AutoWallpaperService.java index 6ef0b95..da8b6c2 100644 --- a/app/src/main/java/cn/hugh/bz/gk2/wallpaper/AutoWallpaperService.java +++ b/app/src/main/java/cn/hugh/bz/gk2/wallpaper/AutoWallpaperService.java @@ -1019,7 +1019,7 @@ public class AutoWallpaperService extends WallpaperService { prefs.saveConfig(config); fileLogger.log(TAG, "Opened gallery for fixed wallpaper, app disabled"); - android.widget.Toast.makeText(AutoWallpaperService.this, "已在相册中打开固定壁纸,请设置为壁纸", android.widget.Toast.LENGTH_LONG).show(); + android.widget.Toast.makeText(AutoWallpaperService.this, "已在相册中打开固定壁纸,请在相册中设置为壁纸", android.widget.Toast.LENGTH_LONG).show(); } catch (Exception e) { Log.e(TAG, "Failed to open gallery", e); fileLogger.error(TAG, "Failed to open gallery: " + e.getMessage(), e); diff --git a/app/src/main/res/layout/fragment_settings.xml b/app/src/main/res/layout/fragment_settings.xml index 470f2e9..45778c3 100644 --- a/app/src/main/res/layout/fragment_settings.xml +++ b/app/src/main/res/layout/fragment_settings.xml @@ -345,7 +345,7 @@ android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_marginTop="@dimen/spacing_md" - android:text="提示:选择固定壁纸后,请四指点击桌面将其设置为系统壁纸并禁用自动更新。点击清除按钮可恢复自动更新。" + android:text="提示:选择固定壁纸后,请四指点击桌面在系统相册中打开并设置为壁纸。点击清除按钮可恢复自动更新。" android:textSize="@dimen/text_size_sm" android:textColor="@color/text_hint" android:lineSpacingExtra="4dp" />