activity_recording.xml

 1<?xml version="1.0" encoding="utf-8"?>
 2<layout xmlns:android="http://schemas.android.com/apk/res/android">
 3
 4    <RelativeLayout
 5        android:layout_width="match_parent"
 6        android:layout_height="wrap_content"
 7        android:background="?attr/color_background_primary">
 8
 9        <LinearLayout
10            android:id="@+id/button_bar"
11            android:layout_width="fill_parent"
12            android:layout_height="wrap_content"
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/attach"/>
37        </LinearLayout>
38
39        <TextView
40            android:id="@+id/timer"
41            android:layout_width="wrap_content"
42            android:layout_height="wrap_content"
43            android:layout_alignParentTop="true"
44            android:layout_centerHorizontal="true"
45            android:layout_margin="8dp"
46            android:textAppearance="@style/TextAppearance.Conversations.Display2.Monospace"/>
47    </RelativeLayout>
48</layout>