From 7c0e5033138ca2979591a8803ae0c3f46c94fef6 Mon Sep 17 00:00:00 2001 From: Natan Votre Date: Tue, 16 Jun 2020 19:01:55 -0300 Subject: [PATCH] [NY-10591]: [AN]: Fix layouts related to record audio --- .../main/res/layout/chat_audiogram_layout.xml | 43 ++++++++++------- .../res/layout/chat_mic_recording_layout.xml | 48 +++++++++++-------- 2 files changed, 54 insertions(+), 37 deletions(-) diff --git a/app/src/main/res/layout/chat_audiogram_layout.xml b/app/src/main/res/layout/chat_audiogram_layout.xml index ac5b1f0969..1e2a452026 100644 --- a/app/src/main/res/layout/chat_audiogram_layout.xml +++ b/app/src/main/res/layout/chat_audiogram_layout.xml @@ -1,19 +1,22 @@ - + @@ -21,33 +24,41 @@ android:id="@+id/f_chat_record_finish_play" android:layout_width="40dp" android:layout_height="@dimen/button_size" + android:layout_centerInParent="true" + android:layout_toEndOf="@id/f_chat_record_delete" app:srcCompat="@drawable/v_ic_play" tools:ignore="ContentDescription"/> + tools:text="00:12"/> + android:layout_marginEnd="8dp" + android:layout_centerInParent="true" + android:layout_toStartOf="@id/f_chat_record_finish_send" + android:layout_toEndOf="@id/f_chat_record_finish_duration" + app:wf_waveProgressColor="@color/colorAccent" /> - \ No newline at end of file + + \ No newline at end of file diff --git a/app/src/main/res/layout/chat_mic_recording_layout.xml b/app/src/main/res/layout/chat_mic_recording_layout.xml index d87b433d0e..c3feb32272 100644 --- a/app/src/main/res/layout/chat_mic_recording_layout.xml +++ b/app/src/main/res/layout/chat_mic_recording_layout.xml @@ -1,39 +1,45 @@ - + + tools:text="00:12"/> @@ -41,12 +47,12 @@ - - \ No newline at end of file + -- GitLab