From b13afc751dbbce24753d008f1f87d2c5e133a4ad Mon Sep 17 00:00:00 2001 From: lmw <125975490@qq.com> Date: 星期二, 09 七月 2024 15:19:26 +0800 Subject: [PATCH] fix bug --- app/src/main/res/layout/fragment_q_a.xml | 59 +++++++++++++++++++++++++++++++++++++++++++++++++++-------- 1 files changed, 51 insertions(+), 8 deletions(-) diff --git a/app/src/main/res/layout/fragment_q_a.xml b/app/src/main/res/layout/fragment_q_a.xml index 9a7f31f..8baaa2e 100644 --- a/app/src/main/res/layout/fragment_q_a.xml +++ b/app/src/main/res/layout/fragment_q_a.xml @@ -47,7 +47,7 @@ android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginStart="20dp" - android:src="@mipmap/voice_answer" + android:src="@mipmap/voice_question" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toTopOf="parent" /> @@ -81,13 +81,23 @@ app:layout_constraintTop_toTopOf="parent" app:layout_constraintVertical_chainStyle="packed"> - <com.facebook.drawee.view.SimpleDraweeView android:id="@+id/iv_1" android:layout_width="match_parent" android:layout_height="match_parent" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintTop_toTopOf="parent" /> + + <ImageView + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:id="@+id/iv_right_1" + android:src="@mipmap/successs" + android:visibility="gone" + app:layout_constraintStart_toStartOf="parent" + app:layout_constraintTop_toTopOf="parent" + app:layout_constraintBottom_toBottomOf="parent" + app:layout_constraintEnd_toEndOf="parent"/> </androidx.constraintlayout.widget.ConstraintLayout> @@ -96,7 +106,7 @@ android:layout_width="159dp" android:layout_height="52dp" android:layout_marginTop="8dp" - android:background="@drawable/bg_blue_8dp" + android:background="@drawable/selector_bg_voice" app:layout_constraintBottom_toTopOf="@id/cl_3" app:layout_constraintStart_toStartOf="@id/cl_3" app:layout_constraintTop_toBottomOf="@id/cl_1"> @@ -126,7 +136,7 @@ android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginStart="20dp" - android:src="@mipmap/voice_answer" + android:src="@mipmap/voice_question" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toTopOf="parent" /> @@ -164,6 +174,17 @@ android:layout_width="match_parent" android:layout_height="match_parent" app:actualImageScaleType="centerCrop" /> + + <ImageView + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:id="@+id/iv_right_3" + android:src="@mipmap/successs" + android:visibility="gone" + app:layout_constraintStart_toStartOf="parent" + app:layout_constraintTop_toTopOf="parent" + app:layout_constraintBottom_toBottomOf="parent" + app:layout_constraintEnd_toEndOf="parent"/> </androidx.constraintlayout.widget.ConstraintLayout> <androidx.constraintlayout.widget.ConstraintLayout @@ -236,6 +257,17 @@ android:layout_width="match_parent" android:layout_height="match_parent" app:actualImageScaleType="centerCrop" /> + + <ImageView + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:id="@+id/iv_right_2" + android:src="@mipmap/successs" + android:visibility="gone" + app:layout_constraintStart_toStartOf="parent" + app:layout_constraintTop_toTopOf="parent" + app:layout_constraintBottom_toBottomOf="parent" + app:layout_constraintEnd_toEndOf="parent"/> </androidx.constraintlayout.widget.ConstraintLayout> <androidx.constraintlayout.widget.ConstraintLayout @@ -256,6 +288,17 @@ android:layout_width="match_parent" android:layout_height="match_parent" app:actualImageScaleType="centerCrop" /> + + <ImageView + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:id="@+id/iv_right_4" + android:src="@mipmap/successs" + android:visibility="gone" + app:layout_constraintStart_toStartOf="parent" + app:layout_constraintTop_toTopOf="parent" + app:layout_constraintBottom_toBottomOf="parent" + app:layout_constraintEnd_toEndOf="parent"/> </androidx.constraintlayout.widget.ConstraintLayout> @@ -263,7 +306,7 @@ android:id="@+id/cl_voice_4" android:layout_width="159dp" android:layout_height="52dp" - android:background="@drawable/bg_blue_8dp" + android:background="@drawable/selector_bg_voice" app:layout_constraintStart_toStartOf="@id/cl_4" app:layout_constraintTop_toTopOf="@id/cl_voice_3"> @@ -508,7 +551,7 @@ android:id="@+id/rl_check_1" android:layout_width="52dp" android:layout_height="52dp" - android:background="@drawable/bg_blue_line_8dp" + android:background="@drawable/selector_enable_choose" android:visibility="gone"> <View @@ -533,7 +576,7 @@ android:id="@+id/rl_check_2" android:layout_width="52dp" android:layout_height="52dp" - android:background="@drawable/bg_blue_line_8dp" + android:background="@drawable/selector_enable_choose" android:visibility="gone"> <View @@ -558,7 +601,7 @@ android:id="@+id/rl_check_3" android:layout_width="52dp" android:layout_height="52dp" - android:background="@drawable/bg_blue_line_8dp" + android:background="@drawable/selector_enable_choose" android:visibility="gone"> <View -- Gitblit v1.7.1