app/src/main/res/layout/activity_g_p_s_recording.xml
<?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:layout_width="match_parent"
android:layout_height="match_parent"
android:onClick="toggleRecording"
tools:context="com.sdp.movemeet.view.map.GPSRecordingActivity">
<fragment
android:id="@+id/gmap_recording"
android:name="com.google.android.gms.maps.SupportMapFragment"
android:layout_width="match_parent"
android:layout_height="match_parent" />
<Button
android:id="@+id/recordButton"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentBottom="true"
android:layout_centerHorizontal="true"
android:layout_marginBottom="40dp"
android:onClick="toggleRecording"
android:padding="10dp"
android:text="@string/gps_recording_start" />
</RelativeLayout>