From 5325e22a184b53aadcc5e9552cb1ec54f9c8ad81 Mon Sep 17 00:00:00 2001 From: guoshen <3129367635@qq.com> Date: 星期六, 29 六月 2024 16:33:11 +0800 Subject: [PATCH] 加入了直播、会议功能 --- app/src/main/res/layout/item_electronic_file_add.xml | 17 +++++++++-------- 1 files changed, 9 insertions(+), 8 deletions(-) diff --git a/app/src/main/res/layout/item_electronic_file_add.xml b/app/src/main/res/layout/item_electronic_file_add.xml index 3a67776..c1964ad 100644 --- a/app/src/main/res/layout/item_electronic_file_add.xml +++ b/app/src/main/res/layout/item_electronic_file_add.xml @@ -28,7 +28,7 @@ <androidx.constraintlayout.utils.widget.ImageFilterView android:layout_width="match_parent" android:layout_height="match_parent" - android:background="#73fab4cd" + android:background="?attr/electronicFileAddBackgroundColor" app:round="10dp" /> <androidx.constraintlayout.utils.widget.ImageFilterView @@ -45,12 +45,12 @@ android:visibility="gone" tools:visibility="visible" > + <androidx.constraintlayout.utils.widget.ImageFilterView android:layout_width="match_parent" android:layout_height="match_parent" android:background="@drawable/ps_ic_shadow_bg" - app:round="10dp" - /> + app:round="10dp" /> <ImageView android:id="@+id/iv_play" android:layout_width="30dp" @@ -76,16 +76,17 @@ android:layout_gravity="top|start" /> </FrameLayout> - <FrameLayout + <androidx.cardview.widget.CardView android:id="@+id/fl_add" android:layout_width="match_parent" android:layout_height="0dp" - app:layout_constraintDimensionRatio="1:1" android:layout_margin="7dp" + app:layout_constraintDimensionRatio="1:1" app:layout_constraintTop_toTopOf="parent" app:layout_constraintStart_toStartOf="parent" - android:background="@drawable/shape_73fab4cd_solid" - + app:cardCornerRadius="10dp" + app:cardElevation="0dp" + app:cardBackgroundColor="?attr/electronicFileAddBackgroundColor" > <ImageView android:layout_width="wrap_content" @@ -93,7 +94,7 @@ android:background="@drawable/ic_import_add" android:layout_gravity="center" /> - </FrameLayout> + </androidx.cardview.widget.CardView> </androidx.constraintlayout.widget.ConstraintLayout> </layout> \ No newline at end of file -- Gitblit v1.9.1