added stop button and info to put in minutes
This commit is contained in:
@@ -6,12 +6,26 @@
|
||||
android:orientation="vertical"
|
||||
android:padding="20dp">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/childDescription"
|
||||
android:gravity="center"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="Timer in Minutes:"
|
||||
android:textSize="14sp" />
|
||||
<Space
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="15dip" />
|
||||
|
||||
<EditText
|
||||
android:id="@+id/timerInput"
|
||||
android:hint="Sleep Timer (Minuten)"
|
||||
android:hint="empty means endless"
|
||||
android:inputType="number"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"/>
|
||||
<Space
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="30dip" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/startBtn"
|
||||
@@ -19,4 +33,14 @@
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"/>
|
||||
|
||||
<Space
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="5dip" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/stopBtn"
|
||||
android:text="Stop"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"/>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
Reference in New Issue
Block a user