116 lines
4.5 KiB
XML
116 lines
4.5 KiB
XML
|
<?xml version="1.0" encoding="utf-8"?>
|
||
|
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||
|
xmlns:tools="http://schemas.android.com/tools"
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="match_parent"
|
||
|
tools:context=".ui.kueche.KuecheFragment"
|
||
|
android:background="@drawable/background">
|
||
|
|
||
|
<TextView
|
||
|
android:id="@+id/text_kueche"
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:layout_marginStart="8dp"
|
||
|
android:layout_marginEnd="8dp"
|
||
|
android:textAlignment="center"
|
||
|
android:textColor="#FFFFFF"
|
||
|
android:textSize="20sp"
|
||
|
app:layout_constraintBottom_toBottomOf="parent"
|
||
|
app:layout_constraintEnd_toEndOf="parent"
|
||
|
app:layout_constraintStart_toStartOf="parent" />
|
||
|
|
||
|
<TextView
|
||
|
android:id="@+id/textView3"
|
||
|
android:layout_width="193dp"
|
||
|
android:layout_height="33dp"
|
||
|
android:layout_marginTop="200dp"
|
||
|
android:text="Raumtemperatur in °C"
|
||
|
android:textAlignment="center"
|
||
|
android:textColor="#FFFFFF"
|
||
|
android:textSize="18sp"
|
||
|
app:layout_constraintBottom_toTopOf="@+id/seekBar"
|
||
|
app:layout_constraintEnd_toEndOf="parent"
|
||
|
app:layout_constraintStart_toStartOf="parent"
|
||
|
app:layout_constraintTop_toTopOf="parent" />
|
||
|
|
||
|
<TextView
|
||
|
android:id="@+id/textView4"
|
||
|
android:layout_width="193dp"
|
||
|
android:layout_height="33dp"
|
||
|
android:text="Elektrogeräte EIN/AUS"
|
||
|
android:textAlignment="center"
|
||
|
android:textColor="#FFFFFF"
|
||
|
android:textSize="18sp"
|
||
|
app:layout_constraintBottom_toBottomOf="parent"
|
||
|
app:layout_constraintEnd_toEndOf="parent"
|
||
|
app:layout_constraintStart_toStartOf="parent"
|
||
|
app:layout_constraintTop_toTopOf="parent" />
|
||
|
|
||
|
<SeekBar
|
||
|
android:id="@+id/seekBar"
|
||
|
style="@android:style/Widget.DeviceDefault.Light.SeekBar"
|
||
|
android:layout_width="235dp"
|
||
|
android:layout_height="45dp"
|
||
|
android:max="30"
|
||
|
android:progress="15"
|
||
|
app:layout_constraintBottom_toTopOf="@+id/textView4"
|
||
|
app:layout_constraintEnd_toEndOf="parent"
|
||
|
app:layout_constraintStart_toStartOf="parent"
|
||
|
app:layout_constraintTop_toBottomOf="@+id/textView3" />
|
||
|
|
||
|
<Switch
|
||
|
android:id="@+id/switch1"
|
||
|
android:layout_width="wrap_content"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:layout_marginStart="50dp"
|
||
|
android:layout_marginLeft="50dp"
|
||
|
android:text="Steckdose 1 "
|
||
|
android:textColor="#FFFFFF"
|
||
|
app:layout_constraintBottom_toTopOf="@+id/switch3"
|
||
|
app:layout_constraintEnd_toStartOf="@+id/switch2"
|
||
|
app:layout_constraintStart_toStartOf="parent"
|
||
|
app:layout_constraintTop_toBottomOf="@+id/textView4" />
|
||
|
|
||
|
<Switch
|
||
|
android:id="@+id/switch3"
|
||
|
android:layout_width="wrap_content"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:layout_marginStart="50dp"
|
||
|
android:layout_marginLeft="50dp"
|
||
|
android:layout_marginBottom="200dp"
|
||
|
android:text="Steckdose 3 "
|
||
|
android:textColor="#FFFFFF"
|
||
|
app:layout_constraintBottom_toBottomOf="parent"
|
||
|
app:layout_constraintEnd_toStartOf="@+id/switch4"
|
||
|
app:layout_constraintStart_toStartOf="parent"
|
||
|
app:layout_constraintTop_toBottomOf="@+id/switch1" />
|
||
|
|
||
|
<Switch
|
||
|
android:id="@+id/switch2"
|
||
|
android:layout_width="wrap_content"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:layout_marginEnd="50dp"
|
||
|
android:layout_marginRight="50dp"
|
||
|
android:text="Steckdose 2 "
|
||
|
android:textColor="#FFFFFF"
|
||
|
app:layout_constraintBottom_toTopOf="@+id/switch4"
|
||
|
app:layout_constraintEnd_toEndOf="parent"
|
||
|
app:layout_constraintStart_toEndOf="@+id/switch1"
|
||
|
app:layout_constraintTop_toBottomOf="@+id/textView4" />
|
||
|
|
||
|
<Switch
|
||
|
android:id="@+id/switch4"
|
||
|
android:layout_width="129dp"
|
||
|
android:layout_height="22dp"
|
||
|
android:layout_marginEnd="50dp"
|
||
|
android:layout_marginRight="50dp"
|
||
|
android:layout_marginBottom="200dp"
|
||
|
android:text="Steckdose 4 "
|
||
|
android:textColor="#FFFFFF"
|
||
|
app:layout_constraintBottom_toBottomOf="parent"
|
||
|
app:layout_constraintEnd_toEndOf="parent"
|
||
|
app:layout_constraintStart_toEndOf="@+id/switch3"
|
||
|
app:layout_constraintTop_toBottomOf="@+id/switch2" />
|
||
|
|
||
|
</androidx.constraintlayout.widget.ConstraintLayout>
|