feat: UI 现代化重构 - 暗黑奢华风格 + Lottie 动画

实施基于 Lottie + Material 3 的暗黑奢华 + 玻璃拟态风格的现代化界面重构

主要变更:
- 配色方案:深邃黑背景 + 皇家紫强调色 + 翡翠绿状态色
- 依赖升级:Lottie 6.3.0 + Material 3 1.11.0 + Blurry 4.0.1
- Lottie 动画:5 个优化的 JSON 动画文件(状态、加载、成功、刷新、空状态)
- 玻璃拟态效果:半透明卡片 + 细腻边框 + 圆角设计
- 布局重构:主页、壁纸预览、相册管理、相册卡片全面重构
- 动画逻辑:HomeFragment 集成 Lottie 状态动画
- 设计规范:统一的尺寸系统(dimens.xml)和 Material 3 暗色主题

技术亮点:
- 暗色主题让壁纸预览更突出
- 玻璃拟态创造深度和层次感
- Lottie 动画文件 < 50KB,性能优化
- Material 3 原生暗色主题支持
- 向后兼容旧的配色引用

文档:docs/ui-modernization-summary.md
This commit is contained in:
hughhuang committed 2026-01-25 14:54:47 +08:00
1 parent 2d98e061cd
commit aa091c047f
22 files changed
+1321 -178

No files matched your search

@@ -15,6 +15,8 @@ import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import androidx.fragment.app.Fragment;
import com.airbnb.lottie.LottieAnimationView;
import java.util.List;
import cn.hugh.bz.gk2.R;
@@ -31,7 +33,7 @@ public class HomeFragment extends Fragment {
private static final String TAG = "HomeFragment";
private TextView tvStatus;
private View statusIndicator;
private LottieAnimationView statusAnimation;
private TextView tvFolderInfo;
private TextView tvSingleImageInfo;
private Button btnToggle;
@@ -67,7 +69,7 @@ public class HomeFragment extends Fragment {
private void initViews(View view) {
tvStatus = view.findViewById(R.id.tvStatus);
statusIndicator = view.findViewById(R.id.statusIndicator);
statusAnimation = view.findViewById(R.id.statusAnimation);
tvFolderInfo = view.findViewById(R.id.tvFolderInfo);
tvSingleImageInfo = view.findViewById(R.id.tvSingleImageInfo);
btnToggle = view.findViewById(R.id.btnToggle);
@@ -211,17 +213,19 @@ public class HomeFragment extends Fragment {
tvStatus.setText(R.string.status_enabled);
btnToggle.setText(R.string.disable);
btnChangeNow.setEnabled(true);
// 更新状态指示器
if (statusIndicator != null) {
statusIndicator.setBackgroundResource(R.drawable.status_indicator_enabled);
// 启动 Lottie 动画
if (statusAnimation != null) {
statusAnimation.setAnimation(R.raw.status_active);
statusAnimation.playAnimation();
}
} else {
tvStatus.setText(R.string.status_disabled);
btnToggle.setText(R.string.enable);
btnChangeNow.setEnabled(false);
// 更新状态指示器
if (statusIndicator != null) {
statusIndicator.setBackgroundResource(R.drawable.status_indicator_disabled);
// 停止 Lottie 动画
if (statusAnimation != null) {
statusAnimation.cancelAnimation();
statusAnimation.setProgress(0f);
}
}
@@ -0,0 +1,20 @@
<?xml version="1.0" encoding="utf-8"?>
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
<!-- Glass background with transparency -->
<item>
<shape android:shape="rectangle">
<solid android:color="@color/glass_bg"/>
<corners android:radius="@dimen/corner_radius_md"/>
</shape>
</item>
<!-- Glass border -->
<item>
<shape android:shape="rectangle">
<stroke
android:width="@dimen/glass_border_width"
android:color="@color/glass_border"/>
<corners android:radius="@dimen/corner_radius_md"/>
</shape>
</item>
</layer-list>
@@ -0,0 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<gradient
android:angle="135"
android:startColor="@color/gradient_start"
android:endColor="@color/gradient_end"
android:type="linear"/>
<corners android:radius="@dimen/button_corner_radius"/>
</shape>
@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<gradient
android:angle="90"
android:startColor="#00000000"
android:endColor="#CC000000"
android:type="linear"/>
</shape>
@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="oval">
<solid android:color="@color/status_active"/>
<size
android:width="@dimen/icon_size_lg"
android:height="@dimen/icon_size_lg"/>
</shape>
@@ -0,0 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="24dp"
android:height="24dp"
android:viewportWidth="24"
android:viewportHeight="24">
<path
android:fillColor="@android:color/white"
android:pathData="M15.41,7.41L14,6l-6,6 6,6 1.41,-1.41L10.83,12z"/>
</vector>
@@ -0,0 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="24dp"
android:height="24dp"
android:viewportWidth="24"
android:viewportHeight="24">
<path
android:fillColor="@android:color/white"
android:pathData="M10,6L8.59,7.41 13.17,12l-4.58,4.59L10,18l6,-6z"/>
</vector>
+5 -1
View File
@@ -5,6 +5,7 @@
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@color/bg_primary"
tools:context=".ui.MainActivity">
<androidx.viewpager2.widget.ViewPager2
@@ -20,7 +21,10 @@
android:id="@+id/bottomNav"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:background="?android:attr/windowBackground"
android:background="@color/bg_card"
app:itemIconTint="@color/accent_primary"
app:itemTextColor="@color/text_secondary"
app:labelVisibilityMode="labeled"
app:menu="@menu/bottom_nav_menu"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintStart_toStartOf="parent"
@@ -5,21 +5,21 @@
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@color/background"
android:background="@color/bg_primary"
android:fillViewport="true">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:padding="16dp">
android:padding="@dimen/spacing_md">
<!-- 标题栏 -->
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center_vertical"
android:layout_marginBottom="16dp"
android:layout_marginBottom="@dimen/spacing_lg"
android:orientation="horizontal">
<TextView
@@ -27,7 +27,7 @@
android:layout_height="wrap_content"
android:layout_weight="1"
android:text="相册管理"
android:textSize="24sp"
android:textSize="@dimen/text_size_xxl"
android:textStyle="bold"
android:textColor="@color/text_primary" />
@@ -36,11 +36,12 @@
android:layout_width="wrap_content"
android:layout_height="48dp"
android:text="+ 新建"
android:textSize="14sp"
android:textSize="@dimen/text_size_sm"
android:backgroundTint="@color/accent_primary"
app:icon="@drawable/ic_add"
app:iconGravity="textStart"
app:cornerRadius="12dp"
style="@style/Widget.Material3.Button.TonalButton" />
app:cornerRadius="@dimen/corner_radius_md"
style="@style/Widget.Material3.Button" />
</LinearLayout>
@@ -5,71 +5,140 @@
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@color/bg_primary"
android:fillViewport="true">
<androidx.constraintlayout.widget.ConstraintLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:padding="16dp"
android:padding="@dimen/spacing_md"
tools:context=".ui.CurrentWallpaperFragment">
<ImageView
android:id="@+id/ivWallpaper"
<!-- 壁纸预览卡片 -->
<com.google.android.material.card.MaterialCardView
android:id="@+id/cardWallpaper"
android:layout_width="0dp"
android:layout_height="0dp"
android:scaleType="centerCrop"
android:background="@android:color/darker_gray"
android:adjustViewBounds="true"
android:maxHeight="400dp"
android:layout_height="wrap_content"
app:cardElevation="@dimen/card_elevation"
app:cardCornerRadius="@dimen/corner_radius_lg"
app:cardBackgroundColor="@color/bg_card"
app:strokeColor="@color/glass_border"
app:strokeWidth="@dimen/glass_border_width"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintDimensionRatio="9:16"
android:contentDescription="当前壁纸预览" />
app:layout_constraintEnd_toEndOf="parent">
<TextView
android:id="@+id/tvWallpaperPath"
<androidx.constraintlayout.widget.ConstraintLayout
android:layout_width="match_parent"
android:layout_height="wrap_content">
<!-- 壁纸图片 -->
<ImageView
android:id="@+id/ivWallpaper"
android:layout_width="0dp"
android:layout_height="0dp"
android:scaleType="centerCrop"
android:background="@color/bg_secondary"
android:adjustViewBounds="true"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintDimensionRatio="9:16"
android:contentDescription="当前壁纸预览" />
<!-- 渐变遮罩信息层 -->
<LinearLayout
android:layout_width="0dp"
android:layout_height="wrap_content"
android:orientation="vertical"
android:background="@drawable/bg_gradient_overlay"
android:padding="@dimen/spacing_md"
app:layout_constraintBottom_toBottomOf="@id/ivWallpaper"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintEnd_toEndOf="parent">
<TextView
android:id="@+id/tvWallpaperPath"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="当前壁纸路径"
android:textSize="@dimen/text_size_sm"
android:textStyle="bold"
android:textColor="@color/text_primary"
android:maxLines="2"
android:ellipsize="middle" />
<TextView
android:id="@+id/tvWallpaperSize"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="尺寸"
android:textSize="@dimen/text_size_xs"
android:textColor="@color/text_secondary"
android:layout_marginTop="@dimen/spacing_xs" />
</LinearLayout>
</androidx.constraintlayout.widget.ConstraintLayout>
</com.google.android.material.card.MaterialCardView>
<!-- 操作按钮组 -->
<LinearLayout
android:layout_width="0dp"
android:layout_height="wrap_content"
android:text="当前壁纸路径"
android:textSize="14sp"
android:textStyle="bold"
android:layout_marginTop="16dp"
android:maxLines="2"
android:ellipsize="middle"
app:layout_constraintTop_toBottomOf="@id/ivWallpaper"
android:orientation="horizontal"
android:layout_marginTop="@dimen/spacing_lg"
app:layout_constraintTop_toBottomOf="@id/cardWallpaper"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintEnd_toEndOf="parent" />
app:layout_constraintEnd_toEndOf="parent">
<TextView
android:id="@+id/tvWallpaperSize"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:text="尺寸"
android:textSize="12sp"
android:layout_marginTop="4dp"
app:layout_constraintTop_toBottomOf="@id/tvWallpaperPath"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintEnd_toEndOf="parent" />
<com.google.android.material.button.MaterialButton
android:id="@+id/btnPrevious"
android:layout_width="0dp"
android:layout_height="@dimen/button_height"
android:layout_weight="1"
android:layout_marginEnd="@dimen/spacing_sm"
android:text="上一张"
android:textSize="@dimen/text_size_md"
app:icon="@drawable/ic_arrow_back"
app:iconGravity="textStart"
app:cornerRadius="@dimen/button_corner_radius"
app:strokeColor="@color/accent_primary"
app:strokeWidth="2dp"
style="@style/Widget.Material3.Button.OutlinedButton" />
<Button
android:id="@+id/btnNext"
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" />
<com.google.android.material.button.MaterialButton
android:id="@+id/btnNext"
android:layout_width="0dp"
android:layout_height="@dimen/button_height"
android:layout_weight="1"
android:layout_marginStart="@dimen/spacing_sm"
android:text="下一张"
android:textSize="@dimen/text_size_md"
android:backgroundTint="@color/accent_primary"
app:icon="@drawable/ic_arrow_forward"
app:iconGravity="textEnd"
app:cornerRadius="@dimen/button_corner_radius"
style="@style/Widget.Material3.Button" />
<Button
</LinearLayout>
<!-- 次要操作按钮 -->
<com.google.android.material.button.MaterialButton
android:id="@+id/btnOpenInGallery"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:text="在相册中打开"
android:layout_marginTop="8dp"
android:textSize="@dimen/text_size_sm"
android:layout_marginTop="100dp"
app:icon="@drawable/ic_folder"
app:iconGravity="textStart"
app:cornerRadius="@dimen/button_corner_radius"
app:strokeColor="@color/accent_secondary"
app:strokeWidth="1dp"
style="@style/Widget.Material3.Button.OutlinedButton"
app:layout_constraintTop_toBottomOf="@id/btnNext"
app:layout_constraintTop_toBottomOf="@id/cardWallpaper"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintEnd_toEndOf="parent" />
+70 -54
View File
@@ -5,7 +5,7 @@
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@color/background"
android:background="@color/bg_primary"
android:fillViewport="true">
<LinearLayout
@@ -14,43 +14,48 @@
android:orientation="vertical"
android:padding="16dp">
<!-- 顶部标题卡片 -->
<!-- 顶部状态卡片 - 玻璃拟态风格 -->
<com.google.android.material.card.MaterialCardView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="16dp"
app:cardElevation="4dp"
app:cardCornerRadius="16dp">
android:layout_marginBottom="@dimen/spacing_md"
app:cardElevation="@dimen/card_elevation"
app:cardCornerRadius="@dimen/corner_radius_lg"
app:cardBackgroundColor="@color/bg_card"
app:strokeColor="@color/glass_border"
app:strokeWidth="@dimen/glass_border_width">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:padding="20dp">
android:padding="@dimen/spacing_lg">
<!-- 状态指示器 -->
<!-- 状态指示器 - Lottie 动画 -->
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center"
android:orientation="horizontal">
android:orientation="vertical"
android:paddingVertical="@dimen/spacing_md">
<View
android:id="@+id/statusIndicator"
android:layout_width="12dp"
android:layout_height="12dp"
android:background="@drawable/status_indicator_disabled"
android:layout_marginEnd="8dp" />
<com.airbnb.lottie.LottieAnimationView
android:id="@+id/statusAnimation"
android:layout_width="@dimen/icon_size_xl"
android:layout_height="@dimen/icon_size_xl"
app:lottie_rawRes="@raw/status_active"
app:lottie_loop="true"
app:lottie_autoPlay="false" />
<TextView
android:id="@+id/tvStatus"
android:layout_width="0dp"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="1"
android:text="@string/status_disabled"
android:textSize="20sp"
android:textSize="@dimen/text_size_lg"
android:textStyle="bold"
android:textColor="@color/text_primary" />
android:textColor="@color/text_primary"
android:layout_marginTop="@dimen/spacing_sm" />
</LinearLayout>
@@ -58,37 +63,40 @@
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="16dp"
android:layout_marginTop="@dimen/spacing_md"
android:gravity="center"
android:orientation="horizontal">
<com.google.android.material.button.MaterialButton
android:id="@+id/btnToggle"
android:layout_width="0dp"
android:layout_height="56dp"
android:layout_height="@dimen/button_height"
android:layout_weight="1"
android:layout_marginEnd="8dp"
android:layout_marginEnd="@dimen/spacing_sm"
android:text="@string/enable"
android:textSize="16sp"
android:textSize="@dimen/text_size_md"
android:backgroundTint="@color/accent_primary"
app:icon="@drawable/ic_play"
app:iconGravity="textStart"
app:iconPadding="8dp"
app:cornerRadius="12dp"
app:iconPadding="@dimen/spacing_sm"
app:cornerRadius="@dimen/button_corner_radius"
style="@style/Widget.Material3.Button" />
<com.google.android.material.button.MaterialButton
android:id="@+id/btnChangeNow"
android:layout_width="0dp"
android:layout_height="56dp"
android:layout_height="@dimen/button_height"
android:layout_weight="1"
android:layout_marginStart="8dp"
android:layout_marginStart="@dimen/spacing_sm"
android:text="@string/change_now"
android:textSize="16sp"
android:textSize="@dimen/text_size_md"
android:enabled="false"
app:icon="@drawable/ic_refresh"
app:iconGravity="textStart"
app:iconPadding="8dp"
app:cornerRadius="12dp"
app:iconPadding="@dimen/spacing_sm"
app:cornerRadius="@dimen/button_corner_radius"
app:strokeColor="@color/accent_primary"
app:strokeWidth="2dp"
style="@style/Widget.Material3.Button.OutlinedButton" />
</LinearLayout>
@@ -97,22 +105,25 @@
</com.google.android.material.card.MaterialCardView>
<!-- 相册信息卡片 -->
<!-- 相册信息卡片 - 玻璃拟态风格 -->
<com.google.android.material.card.MaterialCardView
android:id="@+id/cardAlbum"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="16dp"
app:cardElevation="2dp"
app:cardCornerRadius="16dp"
android:layout_marginBottom="@dimen/spacing_md"
app:cardElevation="@dimen/card_elevation"
app:cardCornerRadius="@dimen/corner_radius_md"
app:cardBackgroundColor="@color/bg_card"
app:strokeColor="@color/glass_border"
app:strokeWidth="@dimen/glass_border_width"
android:clickable="true"
android:focusable="true"
android:id="@+id/cardAlbum">
android:focusable="true">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal"
android:padding="16dp"
android:padding="@dimen/card_padding"
android:gravity="center_vertical">
<LinearLayout
@@ -125,7 +136,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="当前相册"
android:textSize="12sp"
android:textSize="@dimen/text_size_xs"
android:textColor="@color/text_hint" />
<TextView
@@ -133,19 +144,19 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="默认相册"
android:textSize="18sp"
android:textSize="@dimen/text_size_lg"
android:textStyle="bold"
android:textColor="@color/text_primary"
android:layout_marginTop="4dp" />
android:layout_marginTop="@dimen/spacing_xs" />
<TextView
android:id="@+id/tvAlbumInfo"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="0 个文件夹 · 0 张图片"
android:textSize="14sp"
android:textSize="@dimen/text_size_sm"
android:textColor="@color/text_secondary"
android:layout_marginTop="4dp" />
android:layout_marginTop="@dimen/spacing_xs" />
</LinearLayout>
@@ -154,46 +165,51 @@
android:layout_width="wrap_content"
android:layout_height="40dp"
android:text="管理"
android:textSize="14sp"
android:textSize="@dimen/text_size_sm"
app:icon="@drawable/ic_edit"
app:iconGravity="textStart"
app:iconPadding="4dp"
app:cornerRadius="8dp"
app:iconPadding="@dimen/spacing_xs"
app:cornerRadius="@dimen/corner_radius_sm"
app:strokeColor="@color/accent_secondary"
app:strokeWidth="1dp"
style="@style/Widget.Material3.Button.OutlinedButton" />
</LinearLayout>
</com.google.android.material.card.MaterialCardView>
<!-- 相册详细信息卡片 -->
<!-- 相册详细信息卡片 - 玻璃拟态风格 -->
<com.google.android.material.card.MaterialCardView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="16dp"
app:cardElevation="4dp"
app:cardCornerRadius="16dp">
android:layout_marginBottom="@dimen/spacing_md"
app:cardElevation="@dimen/card_elevation"
app:cardCornerRadius="@dimen/corner_radius_md"
app:cardBackgroundColor="@color/bg_card"
app:strokeColor="@color/glass_border"
app:strokeWidth="@dimen/glass_border_width">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:padding="20dp">
android:padding="@dimen/spacing_lg">
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="相册详情"
android:textSize="16sp"
android:textSize="@dimen/text_size_md"
android:textStyle="bold"
android:textColor="@color/text_primary"
android:layout_marginBottom="12dp" />
android:layout_marginBottom="@dimen/spacing_sm" />
<TextView
android:id="@+id/tvFolderInfo"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="未选择文件夹或图片"
android:textSize="14sp"
android:textSize="@dimen/text_size_sm"
android:textColor="@color/text_secondary" />
<TextView
@@ -201,9 +217,9 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text=""
android:textSize="14sp"
android:textSize="@dimen/text_size_sm"
android:textColor="@color/text_secondary"
android:layout_marginTop="8dp" />
android:layout_marginTop="@dimen/spacing_sm" />
</LinearLayout>
+40 -34
View File
@@ -5,9 +5,12 @@
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="12dp"
app:cardElevation="2dp"
app:cardCornerRadius="16dp"
android:layout_marginBottom="@dimen/spacing_md"
app:cardElevation="@dimen/card_elevation"
app:cardCornerRadius="@dimen/corner_radius_md"
app:cardBackgroundColor="@color/bg_card"
app:strokeColor="@color/glass_border"
app:strokeWidth="@dimen/glass_border_width"
android:clickable="true"
android:focusable="true">
@@ -15,7 +18,7 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:padding="16dp">
android:padding="@dimen/card_padding">
<!-- 相册名称和状态 -->
<LinearLayout
@@ -30,7 +33,7 @@
android:layout_height="wrap_content"
android:layout_weight="1"
android:text="相册名称"
android:textSize="18sp"
android:textSize="@dimen/text_size_lg"
android:textStyle="bold"
android:textColor="@color/text_primary"
android:maxLines="1"
@@ -41,14 +44,14 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="当前"
android:textSize="12sp"
android:textSize="@dimen/text_size_xs"
android:textColor="@color/white"
android:paddingStart="8dp"
android:paddingEnd="8dp"
android:paddingTop="4dp"
android:paddingBottom="4dp"
android:paddingStart="@dimen/spacing_sm"
android:paddingEnd="@dimen/spacing_sm"
android:paddingTop="@dimen/spacing_xs"
android:paddingBottom="@dimen/spacing_xs"
android:background="@drawable/badge_background"
android:layout_marginStart="8dp"
android:layout_marginStart="@dimen/spacing_sm"
android:visibility="gone"
tools:visibility="visible" />
@@ -60,15 +63,15 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="3 个文件夹 · 120 张图片"
android:textSize="14sp"
android:textSize="@dimen/text_size_sm"
android:textColor="@color/text_secondary"
android:layout_marginTop="8dp" />
android:layout_marginTop="@dimen/spacing_sm" />
<!-- 配置信息 -->
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="8dp"
android:layout_marginTop="@dimen/spacing_sm"
android:orientation="horizontal">
<TextView
@@ -76,21 +79,21 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="顺序"
android:textSize="12sp"
android:textSize="@dimen/text_size_xs"
android:textColor="@color/text_hint"
android:drawableStart="@drawable/ic_repeat"
android:drawablePadding="4dp" />
android:drawablePadding="@dimen/spacing_xs" />
<TextView
android:id="@+id/tvInterval"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="30 分钟"
android:textSize="12sp"
android:textSize="@dimen/text_size_xs"
android:textColor="@color/text_hint"
android:layout_marginStart="16dp"
android:layout_marginStart="@dimen/spacing_md"
android:drawableStart="@drawable/ic_schedule"
android:drawablePadding="4dp" />
android:drawablePadding="@dimen/spacing_xs" />
</LinearLayout>
@@ -98,7 +101,7 @@
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="12dp"
android:layout_marginTop="@dimen/spacing_md"
android:orientation="horizontal"
android:gravity="end">
@@ -107,12 +110,14 @@
android:layout_width="wrap_content"
android:layout_height="40dp"
android:text="编辑"
android:textSize="14sp"
android:layout_marginEnd="8dp"
android:textSize="@dimen/text_size_sm"
android:layout_marginEnd="@dimen/spacing_sm"
app:icon="@drawable/ic_edit"
app:iconGravity="textStart"
app:iconPadding="4dp"
app:cornerRadius="8dp"
app:iconPadding="@dimen/spacing_xs"
app:cornerRadius="@dimen/corner_radius_sm"
app:strokeColor="@color/accent_secondary"
app:strokeWidth="1dp"
style="@style/Widget.Material3.Button.OutlinedButton" />
<com.google.android.material.button.MaterialButton
@@ -120,12 +125,13 @@
android:layout_width="wrap_content"
android:layout_height="40dp"
android:text="切换"
android:textSize="14sp"
android:layout_marginEnd="8dp"
android:textSize="@dimen/text_size_sm"
android:layout_marginEnd="@dimen/spacing_sm"
android:backgroundTint="@color/accent_primary"
app:icon="@drawable/ic_swap_horiz"
app:iconGravity="textStart"
app:iconPadding="4dp"
app:cornerRadius="8dp"
app:iconPadding="@dimen/spacing_xs"
app:cornerRadius="@dimen/corner_radius_sm"
style="@style/Widget.Material3.Button" />
<com.google.android.material.button.MaterialButton
@@ -133,15 +139,15 @@
android:layout_width="wrap_content"
android:layout_height="40dp"
android:text="删除"
android:textSize="14sp"
android:textSize="@dimen/text_size_sm"
app:icon="@drawable/ic_delete"
app:iconGravity="textStart"
app:iconPadding="4dp"
app:cornerRadius="8dp"
app:iconPadding="@dimen/spacing_xs"
app:cornerRadius="@dimen/corner_radius_sm"
style="@style/Widget.Material3.Button.OutlinedButton"
android:textColor="@color/error"
app:iconTint="@color/error"
app:strokeColor="@color/error" />
android:textColor="@color/color_error"
app:iconTint="@color/color_error"
app:strokeColor="@color/color_error" />
</LinearLayout>
+89
View File
@@ -0,0 +1,89 @@
{
"v": "5.7.4",
"fr": 60,
"ip": 0,
"op": 120,
"w": 200,
"h": 200,
"nm": "Empty State",
"ddd": 0,
"assets": [],
"layers": [
{
"ddd": 0,
"ind": 1,
"ty": 4,
"nm": "Empty Box",
"sr": 1,
"ks": {
"o": {
"a": 1,
"k": [
{"i": {"x": [0.667], "y": [1]}, "o": {"x": [0.333], "y": [0]}, "t": 0, "s": [50]},
{"i": {"x": [0.667], "y": [1]}, "o": {"x": [0.333], "y": [0]}, "t": 60, "s": [100]},
{"t": 120, "s": [50]}
],
"ix": 11
},
"r": {"a": 0, "k": 0, "ix": 10},
"p": {"a": 0, "k": [100, 100, 0], "ix": 2},
"a": {"a": 0, "k": [0, 0, 0], "ix": 1},
"s": {"a": 0, "k": [100, 100, 100], "ix": 6}
},
"ao": 0,
"shapes": [
{
"ty": "gr",
"it": [
{
"ty": "rc",
"d": 1,
"s": {"a": 0, "k": [80, 80], "ix": 2},
"p": {"a": 0, "k": [0, 0], "ix": 3},
"r": {"a": 0, "k": 16, "ix": 4},
"nm": "Rectangle Path 1",
"mn": "ADBE Vector Shape - Rect",
"hd": false
},
{
"ty": "st",
"c": {"a": 0, "k": [0.42, 0.447, 0.502, 1], "ix": 3},
"o": {"a": 0, "k": 100, "ix": 4},
"w": {"a": 0, "k": 4, "ix": 5},
"lc": 2,
"lj": 1,
"ml": 4,
"bm": 0,
"nm": "Stroke 1",
"mn": "ADBE Vector Graphic - Stroke",
"hd": false
},
{
"ty": "tr",
"p": {"a": 0, "k": [0, 0], "ix": 2},
"a": {"a": 0, "k": [0, 0], "ix": 1},
"s": {"a": 0, "k": [100, 100], "ix": 3},
"r": {"a": 0, "k": 0, "ix": 6},
"o": {"a": 0, "k": 100, "ix": 7},
"sk": {"a": 0, "k": 0, "ix": 4},
"sa": {"a": 0, "k": 0, "ix": 5},
"nm": "Transform"
}
],
"nm": "Rectangle 1",
"np": 2,
"cix": 2,
"bm": 0,
"ix": 1,
"mn": "ADBE Vector Group",
"hd": false
}
],
"ip": 0,
"op": 120,
"st": 0,
"bm": 0
}
],
"markers": []
}
+92
View File
@@ -0,0 +1,92 @@
{
"v": "5.7.4",
"fr": 60,
"ip": 0,
"op": 120,
"w": 200,
"h": 200,
"nm": "Loading Spinner",
"ddd": 0,
"assets": [],
"layers": [
{
"ddd": 0,
"ind": 1,
"ty": 4,
"nm": "Spinner",
"sr": 1,
"ks": {
"o": {"a": 0, "k": 100, "ix": 11},
"r": {
"a": 1,
"k": [
{"i": {"x": [0.667], "y": [1]}, "o": {"x": [0.333], "y": [0]}, "t": 0, "s": [0]},
{"t": 120, "s": [360]}
],
"ix": 10
},
"p": {"a": 0, "k": [100, 100, 0], "ix": 2},
"a": {"a": 0, "k": [0, 0, 0], "ix": 1},
"s": {"a": 0, "k": [100, 100, 100], "ix": 6}
},
"ao": 0,
"shapes": [
{
"ty": "gr",
"it": [
{
"ty": "rc",
"d": 1,
"s": {"a": 0, "k": [80, 80], "ix": 2},
"p": {"a": 0, "k": [0, 0], "ix": 3},
"r": {"a": 0, "k": 16, "ix": 4},
"nm": "Rectangle Path 1",
"mn": "ADBE Vector Shape - Rect",
"hd": false
},
{
"ty": "st",
"c": {"a": 0, "k": [0.545, 0.361, 0.965, 1], "ix": 3},
"o": {"a": 0, "k": 100, "ix": 4},
"w": {"a": 0, "k": 8, "ix": 5},
"lc": 2,
"lj": 1,
"ml": 4,
"bm": 0,
"d": [
{"n": "d", "nm": "dash", "v": {"a": 0, "k": 60, "ix": 1}},
{"n": "o", "nm": "offset", "v": {"a": 0, "k": 0, "ix": 7}}
],
"nm": "Stroke 1",
"mn": "ADBE Vector Graphic - Stroke",
"hd": false
},
{
"ty": "tr",
"p": {"a": 0, "k": [0, 0], "ix": 2},
"a": {"a": 0, "k": [0, 0], "ix": 1},
"s": {"a": 0, "k": [100, 100], "ix": 3},
"r": {"a": 0, "k": 0, "ix": 6},
"o": {"a": 0, "k": 100, "ix": 7},
"sk": {"a": 0, "k": 0, "ix": 4},
"sa": {"a": 0, "k": 0, "ix": 5},
"nm": "Transform"
}
],
"nm": "Rectangle 1",
"np": 2,
"cix": 2,
"bm": 0,
"ix": 1,
"mn": "ADBE Vector Group",
"hd": false
}
],
"ip": 0,
"op": 120,
"st": 0,
"bm": 0
}
],
"markers": []
}
+96
View File
@@ -0,0 +1,96 @@
{
"v": "5.7.4",
"fr": 60,
"ip": 0,
"op": 60,
"w": 200,
"h": 200,
"nm": "Refresh Arrow",
"ddd": 0,
"assets": [],
"layers": [
{
"ddd": 0,
"ind": 1,
"ty": 4,
"nm": "Arrow",
"sr": 1,
"ks": {
"o": {"a": 0, "k": 100, "ix": 11},
"r": {
"a": 1,
"k": [
{"i": {"x": [0.667], "y": [1]}, "o": {"x": [0.333], "y": [0]}, "t": 0, "s": [0]},
{"t": 60, "s": [360]}
],
"ix": 10
},
"p": {"a": 0, "k": [100, 100, 0], "ix": 2},
"a": {"a": 0, "k": [0, 0, 0], "ix": 1},
"s": {"a": 0, "k": [100, 100, 100], "ix": 6}
},
"ao": 0,
"shapes": [
{
"ty": "gr",
"it": [
{
"ind": 0,
"ty": "sh",
"ix": 1,
"ks": {
"a": 0,
"k": {
"i": [[0, 0], [0, -22.091], [22.091, 0], [0, 22.091], [-22.091, 0]],
"o": [[22.091, 0], [0, 22.091], [-22.091, 0], [0, -22.091], [0, 0]],
"v": [[0, -40], [40, 0], [0, 40], [-40, 0], [0, -40]],
"c": false
},
"ix": 2
},
"nm": "Path 1",
"mn": "ADBE Vector Shape - Group",
"hd": false
},
{
"ty": "st",
"c": {"a": 0, "k": [0.545, 0.361, 0.965, 1], "ix": 3},
"o": {"a": 0, "k": 100, "ix": 4},
"w": {"a": 0, "k": 6, "ix": 5},
"lc": 2,
"lj": 1,
"ml": 4,
"bm": 0,
"nm": "Stroke 1",
"mn": "ADBE Vector Graphic - Stroke",
"hd": false
},
{
"ty": "tr",
"p": {"a": 0, "k": [0, 0], "ix": 2},
"a": {"a": 0, "k": [0, 0], "ix": 1},
"s": {"a": 0, "k": [100, 100], "ix": 3},
"r": {"a": 0, "k": 0, "ix": 6},
"o": {"a": 0, "k": 100, "ix": 7},
"sk": {"a": 0, "k": 0, "ix": 4},
"sa": {"a": 0, "k": 0, "ix": 5},
"nm": "Transform"
}
],
"nm": "Arrow Shape",
"np": 2,
"cix": 2,
"bm": 0,
"ix": 1,
"mn": "ADBE Vector Group",
"hd": false
}
],
"ip": 0,
"op": 60,
"st": 0,
"bm": 0
}
],
"markers": []
}
+93
View File
@@ -0,0 +1,93 @@
{
"v": "5.7.4",
"fr": 60,
"ip": 0,
"op": 120,
"w": 200,
"h": 200,
"nm": "Status Active Animation",
"ddd": 0,
"assets": [],
"layers": [
{
"ddd": 0,
"ind": 1,
"ty": 4,
"nm": "Glow Circle",
"sr": 1,
"ks": {
"o": {
"a": 1,
"k": [
{"i": {"x": [0.667], "y": [1]}, "o": {"x": [0.333], "y": [0]}, "t": 0, "s": [100]},
{"i": {"x": [0.667], "y": [1]}, "o": {"x": [0.333], "y": [0]}, "t": 60, "s": [40]},
{"t": 120, "s": [100]}
],
"ix": 11
},
"r": {"a": 0, "k": 0, "ix": 10},
"p": {"a": 0, "k": [100, 100, 0], "ix": 2},
"a": {"a": 0, "k": [0, 0, 0], "ix": 1},
"s": {
"a": 1,
"k": [
{"i": {"x": [0.667, 0.667, 0.667], "y": [1, 1, 1]}, "o": {"x": [0.333, 0.333, 0.333], "y": [0, 0, 0]}, "t": 0, "s": [100, 100, 100]},
{"i": {"x": [0.667, 0.667, 0.667], "y": [1, 1, 1]}, "o": {"x": [0.333, 0.333, 0.333], "y": [0, 0, 0]}, "t": 60, "s": [120, 120, 100]},
{"t": 120, "s": [100, 100, 100]}
],
"ix": 6
}
},
"ao": 0,
"shapes": [
{
"ty": "gr",
"it": [
{
"d": 1,
"ty": "el",
"s": {"a": 0, "k": [80, 80], "ix": 2},
"p": {"a": 0, "k": [0, 0], "ix": 3},
"nm": "Ellipse Path 1",
"mn": "ADBE Vector Shape - Ellipse",
"hd": false
},
{
"ty": "fl",
"c": {"a": 0, "k": [0.067, 0.725, 0.506, 1], "ix": 4},
"o": {"a": 0, "k": 100, "ix": 5},
"r": 1,
"bm": 0,
"nm": "Fill 1",
"mn": "ADBE Vector Graphic - Fill",
"hd": false
},
{
"ty": "tr",
"p": {"a": 0, "k": [0, 0], "ix": 2},
"a": {"a": 0, "k": [0, 0], "ix": 1},
"s": {"a": 0, "k": [100, 100], "ix": 3},
"r": {"a": 0, "k": 0, "ix": 6},
"o": {"a": 0, "k": 100, "ix": 7},
"sk": {"a": 0, "k": 0, "ix": 4},
"sa": {"a": 0, "k": 0, "ix": 5},
"nm": "Transform"
}
],
"nm": "Ellipse 1",
"np": 2,
"cix": 2,
"bm": 0,
"ix": 1,
"mn": "ADBE Vector Group",
"hd": false
}
],
"ip": 0,
"op": 120,
"st": 0,
"bm": 0
}
],
"markers": []
}
+95
View File
@@ -0,0 +1,95 @@
{
"v": "5.7.4",
"fr": 60,
"ip": 0,
"op": 60,
"w": 200,
"h": 200,
"nm": "Success Check",
"ddd": 0,
"assets": [],
"layers": [
{
"ddd": 0,
"ind": 1,
"ty": 4,
"nm": "Check Mark",
"sr": 1,
"ks": {
"o": {"a": 0, "k": 100, "ix": 11},
"r": {"a": 0, "k": 0, "ix": 10},
"p": {"a": 0, "k": [100, 100, 0], "ix": 2},
"a": {"a": 0, "k": [0, 0, 0], "ix": 1},
"s": {
"a": 1,
"k": [
{"i": {"x": [0.667, 0.667, 0.667], "y": [1, 1, 1]}, "o": {"x": [0.333, 0.333, 0.333], "y": [0, 0, 0]}, "t": 0, "s": [0, 0, 100]},
{"t": 30, "s": [100, 100, 100]}
],
"ix": 6
}
},
"ao": 0,
"shapes": [
{
"ty": "gr",
"it": [
{
"ind": 0,
"ty": "sh",
"ix": 1,
"ks": {
"a": 0,
"k": {
"i": [[0, 0], [0, 0], [0, 0]],
"o": [[0, 0], [0, 0], [0, 0]],
"v": [[-30, 0], [-10, 20], [30, -20]],
"c": false
},
"ix": 2
},
"nm": "Path 1",
"mn": "ADBE Vector Shape - Group",
"hd": false
},
{
"ty": "st",
"c": {"a": 0, "k": [0.067, 0.725, 0.506, 1], "ix": 3},
"o": {"a": 0, "k": 100, "ix": 4},
"w": {"a": 0, "k": 8, "ix": 5},
"lc": 2,
"lj": 2,
"bm": 0,
"nm": "Stroke 1",
"mn": "ADBE Vector Graphic - Stroke",
"hd": false
},
{
"ty": "tr",
"p": {"a": 0, "k": [0, 0], "ix": 2},
"a": {"a": 0, "k": [0, 0], "ix": 1},
"s": {"a": 0, "k": [100, 100], "ix": 3},
"r": {"a": 0, "k": 0, "ix": 6},
"o": {"a": 0, "k": 100, "ix": 7},
"sk": {"a": 0, "k": 0, "ix": 4},
"sa": {"a": 0, "k": 0, "ix": 5},
"nm": "Transform"
}
],
"nm": "Check",
"np": 2,
"cix": 2,
"bm": 0,
"ix": 1,
"mn": "ADBE Vector Group",
"hd": false
}
],
"ip": 0,
"op": 60,
"st": 0,
"bm": 0
}
],
"markers": []
}
+43 -20
View File
@@ -1,5 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<!-- Legacy colors (keep for compatibility) -->
<color name="purple_200">#FFBB86FC</color>
<color name="purple_500">#FF6200EE</color>
<color name="purple_700">#FF3700B3</color>
@@ -8,30 +9,52 @@
<color name="black">#FF000000</color>
<color name="white">#FFFFFFFF</color>
<!-- 主题颜色 -->
<color name="primary">#6750A4</color>
<color name="primary_dark">#4F378B</color>
<color name="accent">#D0BCFF</color>
<!-- Dark Luxury Theme - Background Colors -->
<color name="bg_primary">#FF0D0D0F</color> <!-- 深邃黑 -->
<color name="bg_secondary">#FF161618</color> <!-- 炭灰 -->
<color name="bg_card">#FF1E1E22</color> <!-- 暗灰 -->
<!-- 背景和文本颜色 -->
<color name="background">#FFFDF7</color>
<color name="surface">#FFFBFE</color>
<color name="text_primary">#1C1B1F</color>
<color name="text_secondary">#49454F</color>
<color name="text_hint">#79747E</color>
<!-- Dark Luxury Theme - Accent Colors -->
<color name="accent_primary">#FF8B5CF6</color> <!-- 皇家紫 -->
<color name="accent_secondary">#FFA78BFA</color><!-- 薰衣草紫 -->
<color name="gradient_start">#FF7C3AED</color> <!-- 深紫 -->
<color name="gradient_end">#FFEC4899</color> <!-- 玫红 -->
<!-- 状态颜色 -->
<color name="status_enabled">#4CAF50</color>
<color name="status_disabled">#9CA3AF</color>
<!-- Dark Luxury Theme - Status Colors -->
<color name="status_active">#FF10B981</color> <!-- 翡翠绿 -->
<color name="status_inactive">#FF6B7280</color> <!-- 暗银 -->
<color name="color_error">#FFEF4444</color> <!-- 珊瑚红 -->
<!-- 功能颜色 -->
<color name="error">#B3261E</color>
<color name="success">#4CAF50</color>
<!-- Dark Luxury Theme - Text Colors -->
<color name="text_primary">#FFF9FAFB</color> <!-- 近白 -->
<color name="text_secondary">#FF9CA3AF</color> <!-- 银灰 -->
<color name="text_hint">#FF6B7280</color> <!-- 暗银 -->
<!-- 卡片颜色 -->
<color name="card_background">#FFFFFF</color>
<color name="card_stroke">#E0E0E0</color>
<color name="image_placeholder">#E0E0E0</color>
<!-- Dark Luxury Theme - Glass Effect -->
<color name="glass_bg">#14FFFFFF</color> <!-- 8% 白色 -->
<color name="glass_border">#1FFFFFFF</color> <!-- 12% 白色 -->
<!-- Legacy theme colors (mapped to new theme) -->
<color name="primary">@color/accent_primary</color>
<color name="primary_dark">@color/gradient_start</color>
<color name="accent">@color/accent_secondary</color>
<!-- Legacy background and text colors (mapped to new theme) -->
<color name="background">@color/bg_primary</color>
<color name="surface">@color/bg_card</color>
<!-- Legacy status colors (mapped to new theme) -->
<color name="status_enabled">@color/status_active</color>
<color name="status_disabled">@color/status_inactive</color>
<!-- Legacy functional colors (mapped to new theme) -->
<color name="error">@color/color_error</color>
<color name="success">@color/status_active</color>
<!-- Legacy card colors (mapped to new theme) -->
<color name="card_background">@color/bg_card</color>
<color name="card_stroke">@color/glass_border</color>
<color name="image_placeholder">@color/bg_secondary</color>
<!-- Launcher icon colors -->
<color name="ic_launcher_background">#FF6200EE</color>
+53
View File
@@ -0,0 +1,53 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<!-- Spacing -->
<dimen name="spacing_xs">4dp</dimen>
<dimen name="spacing_sm">8dp</dimen>
<dimen name="spacing_md">16dp</dimen>
<dimen name="spacing_lg">24dp</dimen>
<dimen name="spacing_xl">32dp</dimen>
<dimen name="spacing_xxl">48dp</dimen>
<!-- Corner Radius -->
<dimen name="corner_radius_sm">12dp</dimen>
<dimen name="corner_radius_md">16dp</dimen>
<dimen name="corner_radius_lg">24dp</dimen>
<dimen name="corner_radius_xl">32dp</dimen>
<!-- Card -->
<dimen name="card_elevation">8dp</dimen>
<dimen name="card_padding">16dp</dimen>
<!-- Button -->
<dimen name="button_height">56dp</dimen>
<dimen name="button_corner_radius">16dp</dimen>
<!-- Icon -->
<dimen name="icon_size_sm">24dp</dimen>
<dimen name="icon_size_md">32dp</dimen>
<dimen name="icon_size_lg">48dp</dimen>
<dimen name="icon_size_xl">64dp</dimen>
<!-- Text Size -->
<dimen name="text_size_xs">12sp</dimen>
<dimen name="text_size_sm">14sp</dimen>
<dimen name="text_size_md">16sp</dimen>
<dimen name="text_size_lg">20sp</dimen>
<dimen name="text_size_xl">24sp</dimen>
<dimen name="text_size_xxl">32sp</dimen>
<!-- Glass Effect -->
<dimen name="glass_blur_radius">25dp</dimen>
<dimen name="glass_border_width">1dp</dimen>
<!-- Album Card -->
<dimen name="album_card_height">200dp</dimen>
<dimen name="album_thumbnail_size">120dp</dimen>
<!-- Wallpaper Preview -->
<dimen name="wallpaper_preview_height">400dp</dimen>
<!-- History Grid -->
<dimen name="history_grid_spacing">8dp</dimen>
<dimen name="history_item_height">180dp</dimen>
</resources>
+43 -10
View File
@@ -1,20 +1,53 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<!-- Base application theme -->
<style name="Theme.BzForGk2" parent="Theme.Material3.DayNight.NoActionBar">
<!-- Base application theme - Dark Luxury -->
<style name="Theme.BzForGk2" parent="Theme.Material3.Dark.NoActionBar">
<!-- Primary brand color -->
<item name="colorPrimary">@color/purple_500</item>
<item name="colorPrimaryVariant">@color/purple_700</item>
<item name="colorOnPrimary">@color/white</item>
<item name="colorPrimary">@color/accent_primary</item>
<item name="colorPrimaryVariant">@color/gradient_start</item>
<item name="colorOnPrimary">@color/text_primary</item>
<!-- Secondary brand color -->
<item name="colorSecondary">@color/teal_200</item>
<item name="colorSecondaryVariant">@color/teal_700</item>
<item name="colorOnSecondary">@color/black</item>
<item name="colorSecondary">@color/accent_secondary</item>
<item name="colorSecondaryVariant">@color/gradient_end</item>
<item name="colorOnSecondary">@color/text_primary</item>
<!-- Background colors -->
<item name="android:colorBackground">@color/bg_primary</item>
<item name="colorSurface">@color/bg_card</item>
<item name="colorOnSurface">@color/text_primary</item>
<!-- Status bar color -->
<item name="android:statusBarColor">?attr/colorPrimaryVariant</item>
<item name="android:statusBarColor">@color/bg_primary</item>
<item name="android:navigationBarColor">@color/bg_primary</item>
<!-- Customize your theme here -->
<!-- Text colors -->
<item name="android:textColorPrimary">@color/text_primary</item>
<item name="android:textColorSecondary">@color/text_secondary</item>
<item name="android:textColorHint">@color/text_hint</item>
<!-- Error color -->
<item name="colorError">@color/color_error</item>
<!-- Material 3 shape -->
<item name="shapeAppearanceSmallComponent">@style/ShapeAppearance.BzForGk2.SmallComponent</item>
<item name="shapeAppearanceMediumComponent">@style/ShapeAppearance.BzForGk2.MediumComponent</item>
<item name="shapeAppearanceLargeComponent">@style/ShapeAppearance.BzForGk2.LargeComponent</item>
</style>
<!-- Shape appearances for rounded corners -->
<style name="ShapeAppearance.BzForGk2.SmallComponent" parent="ShapeAppearance.Material3.SmallComponent">
<item name="cornerFamily">rounded</item>
<item name="cornerSize">12dp</item>
</style>
<style name="ShapeAppearance.BzForGk2.MediumComponent" parent="ShapeAppearance.Material3.MediumComponent">
<item name="cornerFamily">rounded</item>
<item name="cornerSize">16dp</item>
</style>
<style name="ShapeAppearance.BzForGk2.LargeComponent" parent="ShapeAppearance.Material3.LargeComponent">
<item name="cornerFamily">rounded</item>
<item name="cornerSize">24dp</item>
</style>
</resources>