activity_recording.xml

 1<?xml version="1.0" encoding="utf-8"?>
 2<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
 3                android:layout_width="match_parent"
 4                android:layout_height="wrap_content"
 5                android:background="?attr/color_background_primary">
 6
 7    <LinearLayout
 8        android:id="@+id/button_bar"
 9        android:layout_width="fill_parent"
10        android:layout_height="wrap_content"
11        android:layout_alignParentLeft="true"
12        android:layout_alignParentStart="true"
13        android:layout_below="@+id/timer">
14
15        <Button
16            android:id="@+id/cancel_button"
17            style="@style/Widget.Conversations.Button.Borderless"
18            android:layout_width="0dp"
19            android:layout_height="wrap_content"
20            android:layout_weight="1"
21            android:text="@string/cancel"/>
22
23        <View
24            android:layout_width="1dp"
25            android:layout_height="fill_parent"
26            android:layout_marginBottom="7dp"
27            android:layout_marginTop="7dp"
28            android:background="?attr/divider"/>
29
30        <Button
31            android:id="@+id/share_button"
32            style="@style/Widget.Conversations.Button.Borderless"
33            android:layout_width="0dp"
34            android:layout_height="wrap_content"
35            android:layout_weight="1"
36            android:text="@string/share"/>
37    </LinearLayout>
38
39    <TextView
40        android:id="@+id/timer"
41        android:textAppearance="@style/TextAppearance.Conversations.Display2.Monospace"
42        android:layout_width="wrap_content"
43        android:layout_height="wrap_content"
44        android:layout_alignParentTop="true"
45        android:layout_centerHorizontal="true"
46        android:text="0:00.0"/>
47</RelativeLayout>