changed to start/stopp

This commit is contained in:
pi
2025-10-29 13:47:08 +01:00
parent 6c3a36efe3
commit 1ca9f10658
2 changed files with 70 additions and 31 deletions

View File

@@ -2,12 +2,32 @@
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:gravity="center"
android:orientation="vertical"
android:padding="20dp">
<TextView
android:id="@+id/childDescription"
android:id="@+id/parentDeviceTitle"
android:gravity="center_horizontal"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="top|center_vertical"
android:text="Dunstabzugshaube/Hairdryer"
android:textSize="25dp" />
<Space
android:layout_width="match_parent"
android:layout_height="50dp" />
<TextView
android:id="@+id/statusText"
android:gravity="center_horizontal"
android:text="Bereit"
android:textSize="24sp"
android:layout_marginBottom="20dp"
android:layout_width="match_parent"
android:layout_height="wrap_content"/>
<TextView
android:id="@+id/Info"
android:gravity="center"
android:layout_width="match_parent"
android:layout_height="wrap_content"
@@ -28,19 +48,9 @@
android:layout_height="30dip" />
<Button
android:id="@+id/startBtn"
android:id="@+id/mainBtn"
android:text="Start"
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"/>
android:layout_height="wrap_content"
android:layout_marginTop="10dp"/>
</LinearLayout>