<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout 
	xmlns:android="http://schemas.android.com/apk/res/android"
	android:id="@+id/layout" 
	android:layout_width="fill_parent"
	android:layout_height="wrap_content"
	android:layout_gravity="center"
>

	<TextView
		android:id="@+id/txt"
		android:layout_width="wrap_content"
		android:layout_height="wrap_content"
		android:layout_centerHorizontal="true"
		android:textColor="#000"
		android:text="Tap the image!"
	/>

	<ImageView
		android:id="@+id/anim"
		android:layout_width="wrap_content"
		android:layout_height="wrap_content"
		android:layout_centerHorizontal="true"
		android:layout_below="@id/txt"
		android:padding="10dp"
		android:src="@drawable/smiley"
	/>

	<Button 
		android:id="@+id/button_sleep"
		android:layout_width="wrap_content" 
		android:layout_height="wrap_content"
		android:layout_below="@id/anim"
		android:layout_alignParentLeft="true" 
		android:text="Sleep"
	/>

	<Button 
		android:id="@+id/button_runnable" 
		android:layout_width="wrap_content" 
		android:layout_height="wrap_content"
		android:layout_alignTop="@id/button_sleep" 
		android:layout_alignParentRight="true"
		android:text="Runnable" 
	/>
	
	<CheckBox
		android:id="@+id/check_sleep"
		android:layout_width="wrap_content"
		android:layout_height="wrap_content"
		android:layout_below="@id/button_runnable"
		android:layout_centerHorizontal="true"
		android:text="Sleep in the Runnable"
		android:textColor="#000"
	/>
	
	
</RelativeLayout>
