2021-03-04 21:18:38 +01:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2021-03-10 21:13:55 +01:00
|
|
|
<androidx.constraintlayout.widget.ConstraintLayout
|
|
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
2021-03-04 21:18:38 +01:00
|
|
|
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"
|
2021-05-21 22:02:20 +02:00
|
|
|
tools:context=".ui.kueche.KuecheFragment">
|
|
|
|
|
|
|
|
<ImageView
|
|
|
|
android:id="@+id/Background"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:scaleType="centerCrop"
|
|
|
|
android:src="@drawable/background"
|
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintHorizontal_bias="0.5"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
|
|
app:layout_constraintVertical_bias="0.0" />
|
2021-03-04 21:18:38 +01:00
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/text_kueche"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginStart="8dp"
|
|
|
|
android:layout_marginEnd="8dp"
|
2021-03-29 18:11:32 +02:00
|
|
|
android:gravity="center_horizontal"
|
2021-03-04 21:18:38 +01:00
|
|
|
android:textAlignment="center"
|
|
|
|
android:textColor="#FFFFFF"
|
|
|
|
android:textSize="20sp"
|
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
2021-03-29 18:11:32 +02:00
|
|
|
app:layout_constraintStart_toStartOf="parent" />
|
2021-03-04 21:18:38 +01:00
|
|
|
|
|
|
|
<TextView
|
2021-05-21 22:02:20 +02:00
|
|
|
android:id="@+id/background"
|
2021-03-04 21:18:38 +01:00
|
|
|
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"
|
2021-03-06 15:29:50 +01:00
|
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
|
|
android:gravity="center_horizontal" />
|
2021-03-04 21:18:38 +01:00
|
|
|
|
|
|
|
<TextView
|
2021-05-21 22:02:20 +02:00
|
|
|
android:id="@+id/sprache"
|
2021-03-04 21:18:38 +01:00
|
|
|
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"
|
2021-03-06 15:29:50 +01:00
|
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
|
|
android:gravity="center_horizontal" />
|
2021-03-04 21:18:38 +01:00
|
|
|
|
|
|
|
<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"
|
2021-05-21 22:02:20 +02:00
|
|
|
app:layout_constraintBottom_toTopOf="@+id/sprache"
|
2021-03-04 21:18:38 +01:00
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
2021-05-21 22:02:20 +02:00
|
|
|
app:layout_constraintTop_toBottomOf="@+id/background" />
|
2021-03-04 21:18:38 +01:00
|
|
|
|
|
|
|
<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"
|
2021-05-21 22:02:20 +02:00
|
|
|
app:layout_constraintTop_toBottomOf="@+id/sprache" />
|
2021-03-04 21:18:38 +01:00
|
|
|
|
|
|
|
<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"
|
2021-05-21 22:02:20 +02:00
|
|
|
app:layout_constraintTop_toBottomOf="@+id/sprache" />
|
2021-03-04 21:18:38 +01:00
|
|
|
|
|
|
|
<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>
|