Home | History | Annotate | Download | only in layout
      1 <?xml version="1.0" encoding="utf-8"?>
      2 <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
      3     xmlns:tools="http://schemas.android.com/tools"
      4     android:layout_width="match_parent"
      5     android:layout_height="match_parent" >
      6 
      7     <TextView
      8         android:id="@+id/result_message"
      9         android:layout_width="wrap_content"
     10         android:layout_height="wrap_content"
     11         android:layout_centerHorizontal="true"
     12         android:layout_centerInParent="true"
     13         android:textAppearance="?android:attr/textAppearanceMedium" />
     14 
     15     <RelativeLayout
     16         android:layout_width="wrap_content"
     17         android:layout_height="wrap_content"
     18         android:layout_below="@+id/result_message"
     19         android:layout_centerInParent="true" >
     20 
     21       <Button
     22           android:id="@+id/dismiss_button"
     23           android:layout_width="wrap_content"
     24           android:layout_height="wrap_content"
     25           android:onClick="onDismissClick"
     26           android:text="@string/dismiss" />
     27 
     28       <Button
     29           android:id="@+id/snooze_button"
     30           android:layout_width="wrap_content"
     31           android:layout_height="wrap_content"
     32           android:layout_alignBottom="@+id/dismiss_button"
     33           android:layout_toRightOf="@+id/dismiss_button"
     34           android:onClick="onSnoozeClick"
     35           android:text="@string/snooze" />
     36       </RelativeLayout>
     37 </RelativeLayout>
     38 
     39