From 44da35d193798675cd9f4654864aa0985a1cfdc0 Mon Sep 17 00:00:00 2001 From: wushaocheng <15876365887@163.com> Date: Sun, 15 Jan 2023 22:52:22 +0800 Subject: [PATCH] =?UTF-8?q?[Modify]=E5=A3=B0=E9=9F=B3=E7=AD=BE=E5=90=8D?= =?UTF-8?q?=E6=8E=A7=E4=BB=B6=E9=98=B4=E5=BD=B1=E6=95=88=E6=9E=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/build.gradle | 2 + .../res/layout/activity_sound_signature.xml | 70 ++++++++++++------- 2 files changed, 46 insertions(+), 26 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index 6e776b5ff..eb9d76a5f 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -265,6 +265,8 @@ dependencies { implementation 'com.github.yalantis:ucrop:2.2.7' + implementation 'com.github.lihangleo2:ShadowLayout:3.3.2' + } channel { diff --git a/app/src/main/res/layout/activity_sound_signature.xml b/app/src/main/res/layout/activity_sound_signature.xml index 9cb08dfd8..7f5867916 100644 --- a/app/src/main/res/layout/activity_sound_signature.xml +++ b/app/src/main/res/layout/activity_sound_signature.xml @@ -18,66 +18,84 @@ app:layout_constraintStart_toStartOf="@+id/ivSoundTranscribe" app:layout_constraintTop_toBottomOf="@+id/ivSoundTranscribe" /> - - + - + app:layout_constraintVertical_chainStyle="packed" + app:hl_cornerRadius="360dp" + app:hl_shadowColor="#2a000000" + app:hl_shadowOffsetX="@dimen/dp_0" + app:hl_shadowOffsetY="1dp" + app:hl_shadowLimit="@dimen/dp_12"> - + - - +