added stop button and info to put in minutes

This commit is contained in:
pi
2025-10-29 13:20:31 +01:00
parent 4b4405a601
commit 6c3a36efe3
2 changed files with 42 additions and 7 deletions

View File

@@ -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>