diff options
author | Christian S <kriztan@users.noreply.github.com> | 2016-05-05 22:58:32 +0200 |
---|---|---|
committer | Christian S <kriztan@users.noreply.github.com> | 2016-05-05 22:58:32 +0200 |
commit | 6cf1ead0dc2e3c315614bcf0a7665da124bc08bc (patch) | |
tree | 4a439a4ab01baa44baf2d586634ea5861d835747 /src/main/res/layout/activity_recording.xml | |
parent | 9a1503a5aa238bb2850635f87d1cb3685cb71c97 (diff) | |
parent | 429e27894859bdadb1e55cac7eeb8dc51fe05410 (diff) |
add audio recorder
Diffstat (limited to 'src/main/res/layout/activity_recording.xml')
-rw-r--r-- | src/main/res/layout/activity_recording.xml | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/src/main/res/layout/activity_recording.xml b/src/main/res/layout/activity_recording.xml new file mode 100644 index 000000000..2e5ea7307 --- /dev/null +++ b/src/main/res/layout/activity_recording.xml @@ -0,0 +1,52 @@ +<?xml version="1.0" encoding="utf-8"?> +<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:background="@color/grey50"> + + <LinearLayout + android:id="@+id/button_bar" + android:layout_width="fill_parent" + android:layout_height="wrap_content" + android:layout_below="@+id/timer" + android:layout_alignParentLeft="true" + android:layout_alignParentStart="true"> + + <Button + android:id="@+id/cancel_button" + style="?android:attr/borderlessButtonStyle" + android:layout_width="0dp" + android:layout_height="wrap_content" + android:layout_weight="1" + android:text="@string/cancel" + android:textColor="@color/primary" /> + + <View + android:layout_width="1dp" + android:layout_height="fill_parent" + android:layout_marginBottom="7dp" + android:layout_marginTop="7dp" + android:background="@color/accent" /> + + <Button + android:id="@+id/share_button" + style="?android:attr/borderlessButtonStyle" + android:layout_width="0dp" + android:layout_height="wrap_content" + android:layout_weight="1" + android:text="@string/share" + android:textColor="@color/primary" /> + </LinearLayout> + + <TextView + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:textSize="50sp" + android:text="0:00.0" + android:textColor="@color/primary" + android:typeface="monospace" + android:textStyle="bold" + android:id="@+id/timer" + android:layout_alignParentTop="true" + android:layout_centerHorizontal="true"/> +</RelativeLayout>
\ No newline at end of file |