From 590c1cff46b105d774271f950caa9f65523f05c1 Mon Sep 17 00:00:00 2001 From: Linjiajia <319408893@qq.com> Date: 星期五, 29 十二月 2023 20:20:40 +0800 Subject: [PATCH] 1、增加护眼模式主题\n2、修复显示问题 --- app/src/main/res/layout/item_home_devices.xml | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/src/main/res/layout/item_home_devices.xml b/app/src/main/res/layout/item_home_devices.xml index 153693d..37b0773 100644 --- a/app/src/main/res/layout/item_home_devices.xml +++ b/app/src/main/res/layout/item_home_devices.xml @@ -19,7 +19,7 @@ android:layout_height="40dp" android:layout_margin="@dimen/dp_2" app:cardCornerRadius="@dimen/dp_10" - app:cardBackgroundColor="@color/color_card_pink" + app:cardBackgroundColor="?attr/cardBackgroundColorFirst" tools:layout_height="wrap_content" > <LinearLayout @@ -39,7 +39,7 @@ android:layout_height="18dp" android:layout_marginStart="3dp" android:layout_centerVertical="true" - android:button="@drawable/selector_checkbox" + android:button="?attr/checkboxSelector" android:background="?selectableItemBackgroundBorderless" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toTopOf="parent" @@ -51,7 +51,7 @@ android:layout_height="wrap_content" android:layout_marginStart="3dp" android:layout_centerVertical="true" - android:background="@drawable/ic_flower" + android:background="?attr/icIsOwnFamilyDataFlower" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toTopOf="parent" app:layout_constraintBottom_toBottomOf="parent" -- Gitblit v1.9.1