show the current recording duration at the bottom

This commit is contained in:
tibbi
2020-03-30 10:06:05 +02:00
parent 16c2c4e04a
commit 85be73671f
2 changed files with 16 additions and 0 deletions

View File

@@ -1,9 +1,20 @@
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/recorder_holder"
android:layout_width="match_parent"
android:layout_height="match_parent">
<TextView
android:id="@+id/recording_duration"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_above="@+id/toggle_recording_button"
android:layout_centerHorizontal="true"
android:layout_marginBottom="@dimen/bigger_margin"
android:textSize="@dimen/extra_big_text_size"
tools:text="00:00" />
<ImageView
android:id="@+id/toggle_recording_button"
android:layout_width="@dimen/toggle_recording_button_size"