新增选择图片创建主题颜色功能

This commit is contained in:
HapeLee committed 2025-10-19 00:40:46 +08:00
1 parent 0d671df389
commit 45c953024f
9 files changed
+218 -43

No files matched your search

+11 -3
View File
@@ -1,5 +1,13 @@
<?xml version="1.0" encoding="utf-8"?>
<ImageView android:id="@+id/preview"
xmlns:android="http://schemas.android.com/apk/res/android"
<com.google.android.material.card.MaterialCardView xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="48dp"
android:layout_height="48dp" />
android:layout_height="48dp"
xmlns:app="http://schemas.android.com/apk/res-auto"
app:cardBackgroundColor="@android:color/transparent"
app:strokeWidth="0dp">
<ImageView
android:layout_width="match_parent"
android:layout_height="match_parent"
android:id="@+id/preview"
android:scaleType="centerCrop"/>
</com.google.android.material.card.MaterialCardView>