refactor: 移除壁纸页面重复的"立即更换"按钮,只保留"下一张"

- 修改布局文件,移除 btnChangeNow
- 调整 btnNext 约束和样式(改为实心按钮)
- 删除 btnChangeNow 相关代码:
  - 字段声明
  - 初始化和点击监听
  - changeWallpaperNow() 方法
  - showNoWallpaper() 和 showError() 中的引用

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
hughhuangandClaude Sonnet 4.5 committed 2026-01-23 18:06:16 +08:00
1 parent 37aa54989e
commit 06625f24dd
2 files changed
+2 -50

No files matched your search

@@ -52,24 +52,13 @@
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintEnd_toEndOf="parent" />
<Button
android:id="@+id/btnChangeNow"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:text="立即更换"
android:layout_marginTop="16dp"
app:layout_constraintTop_toBottomOf="@id/tvWallpaperSize"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintEnd_toEndOf="parent" />
<Button
android:id="@+id/btnNext"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:text="下一张"
android:layout_marginTop="8dp"
style="@style/Widget.Material3.Button.OutlinedButton"
app:layout_constraintTop_toBottomOf="@id/btnChangeNow"
android:layout_marginTop="16dp"
app:layout_constraintTop_toBottomOf="@id/tvWallpaperSize"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintEnd_toEndOf="parent" />