Skip to content

Instantly share code, notes, and snippets.

@sankarganesh
Created August 30, 2013 13:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sankarganesh/6389761 to your computer and use it in GitHub Desktop.
Save sankarganesh/6389761 to your computer and use it in GitHub Desktop.
UI design for Alarm Setter
<?xml version="1.0" encoding="utf-8"?>
<ScrollView 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" >
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical" >
<DatePicker
android:id="@+id/pickerdate"
android:layout_width="wrap_content"
android:layout_height="wrap_content" />
<TimePicker
android:id="@+id/pickertime"
android:layout_width="wrap_content"
android:layout_height="wrap_content" />
<Button
android:id="@+id/triggeralarm"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Trigger Alarm" />
</LinearLayout>
</ScrollView>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment