<?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:paddingBottom="@dimen/activity_vertical_margin"
    tools:context="com.company.netsdk.activity.AlarmListenActivity">

    <ListView
        android:layout_above="@+id/alarm_start_listen_bt"
        android:id="@+id/alarm_list_view"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:layout_gravity="center_horizontal|top"/>

    <Button
        android:textAllCaps="false"
        android:text="@string/start_alarm_listen"
        android:layout_centerInParent="true"
        android:layout_alignParentBottom="true"
        android:id="@+id/alarm_start_listen_bt"
        android:layout_width="match_parent"
        android:layout_height="40dp"
        android:layout_marginTop="20dp"/>
</RelativeLayout>