1<?xml version="1.0" encoding="utf-8"?> 2<LinearLayout 3 xmlns:android="http://schemas.android.com/apk/res/android" 4 android:layout_width="match_parent" 5 android:layout_height="wrap_content" 6 android:gravity="center_horizontal|top" 7 android:orientation="vertical" 8 android:paddingLeft="@dimen/alarm_picker_dialog_horizontal_margin" 9 android:paddingRight="@dimen/alarm_picker_dialog_horizontal_margin" 10 android:paddingTop="@dimen/alarm_picker_dialog_vertical_margin"> 11 12 <TextView 13 android:layout_width="match_parent" 14 android:layout_height="wrap_content" 15 android:text="@string/dismiss_alarm" 16 android:textColor="@color/black" 17 android:textSize="@dimen/header_font_size" 18 android:layout_marginBottom="@dimen/alarm_picker_margin_bottom"/> 19 20 <ListView 21 android:id="@android:id/list" 22 android:layout_width="match_parent" 23 android:layout_height="wrap_content" 24 android:orientation="horizontal" 25 android:dividerHeight="0dp" 26 android:divider="@null"/> 27 28 <Button 29 android:id="@+id/cancel_button" 30 android:layout_width="match_parent" 31 android:layout_height="wrap_content" 32 android:text="@string/time_picker_cancel" 33 android:clickable="true" 34 android:gravity="end" 35 android:background="@android:color/transparent" 36 android:textColor="@android:color/holo_blue_light"/> 37 38</LinearLayout>