2021-03-04 21:18:38 +01:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2021-05-21 22:02:20 +02: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.Schlafzimmer.SchlafzimmerFragment">
|
|
|
|
|
|
|
|
<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
|
|
|
|
2021-04-16 21:41:45 +02:00
|
|
|
<TextView
|
|
|
|
android:id="@+id/überschrift5"
|
|
|
|
android:layout_width="193dp"
|
|
|
|
android:layout_height="33dp"
|
|
|
|
android:layout_marginTop="100dp"
|
|
|
|
android:gravity="center_horizontal"
|
|
|
|
android:text="Überschrift4"
|
|
|
|
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_toBottomOf="@+id/überschrift4" />
|
|
|
|
|
|
|
|
<Button
|
|
|
|
android:id="@+id/ü10"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:hapticFeedbackEnabled="true"
|
|
|
|
android:text="AN"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintStart_toEndOf="@+id/ü11"
|
|
|
|
app:layout_constraintTop_toBottomOf="@+id/überschrift5" />
|
|
|
|
|
|
|
|
<Button
|
|
|
|
android:id="@+id/ü11"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:hapticFeedbackEnabled="true"
|
|
|
|
android:text="AUS"
|
|
|
|
app:layout_constraintEnd_toStartOf="@+id/ü10"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toBottomOf="@+id/überschrift5" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/überschrift4"
|
|
|
|
android:layout_width="193dp"
|
|
|
|
android:layout_height="33dp"
|
|
|
|
android:layout_marginTop="100dp"
|
|
|
|
android:gravity="center_horizontal"
|
|
|
|
android:text="Überschrift4"
|
|
|
|
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_toBottomOf="@+id/überschrift3" />
|
|
|
|
|
|
|
|
<Button
|
|
|
|
android:id="@+id/ü7"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:hapticFeedbackEnabled="true"
|
|
|
|
android:text="AUS"
|
|
|
|
app:layout_constraintEnd_toStartOf="@+id/ü9"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toBottomOf="@+id/überschrift4" />
|
|
|
|
|
|
|
|
<Button
|
|
|
|
android:id="@+id/ü9"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:hapticFeedbackEnabled="true"
|
|
|
|
android:text="AN"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintStart_toEndOf="@+id/ü7"
|
|
|
|
app:layout_constraintTop_toBottomOf="@+id/überschrift4" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/überschrift3"
|
|
|
|
android:layout_width="193dp"
|
|
|
|
android:layout_height="33dp"
|
|
|
|
android:layout_marginTop="100dp"
|
|
|
|
android:gravity="center_horizontal"
|
|
|
|
android:text="Überschrift3"
|
|
|
|
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_toBottomOf="@+id/überschrift2" />
|
|
|
|
|
|
|
|
<Button
|
|
|
|
android:id="@+id/ü6"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:hapticFeedbackEnabled="true"
|
|
|
|
android:text="AN"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintStart_toEndOf="@+id/ü5"
|
|
|
|
app:layout_constraintTop_toBottomOf="@+id/überschrift3" />
|
|
|
|
|
|
|
|
<Button
|
|
|
|
android:id="@+id/ü5"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:hapticFeedbackEnabled="true"
|
|
|
|
android:text="AUS"
|
|
|
|
app:layout_constraintEnd_toStartOf="@+id/ü6"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toBottomOf="@+id/überschrift3" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/überschrift1"
|
|
|
|
android:layout_width="193dp"
|
|
|
|
android:layout_height="33dp"
|
|
|
|
android:layout_marginTop="50dp"
|
|
|
|
android:gravity="center_horizontal"
|
|
|
|
android:text="Überschrift1"
|
|
|
|
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_toBottomOf="@+id/divider" />
|
|
|
|
|
|
|
|
<Button
|
|
|
|
android:id="@+id/ü1"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:hapticFeedbackEnabled="true"
|
|
|
|
android:text="AUS"
|
|
|
|
app:layout_constraintEnd_toStartOf="@+id/ü2"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toBottomOf="@+id/überschrift1" />
|
|
|
|
|
|
|
|
<Button
|
|
|
|
android:id="@+id/ü2"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:hapticFeedbackEnabled="true"
|
|
|
|
android:text="AN"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintStart_toEndOf="@+id/ü1"
|
|
|
|
app:layout_constraintTop_toBottomOf="@+id/überschrift1" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/überschrift2"
|
|
|
|
android:layout_width="193dp"
|
|
|
|
android:layout_height="33dp"
|
|
|
|
android:layout_marginTop="100dp"
|
|
|
|
android:gravity="center_horizontal"
|
|
|
|
android:text="Überschrift2"
|
|
|
|
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_toBottomOf="@+id/überschrift1" />
|
|
|
|
|
|
|
|
<Button
|
|
|
|
android:id="@+id/ü3"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:hapticFeedbackEnabled="true"
|
|
|
|
android:text="AUS"
|
|
|
|
app:layout_constraintEnd_toStartOf="@+id/ü4"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toBottomOf="@+id/überschrift2" />
|
|
|
|
|
|
|
|
<Button
|
|
|
|
android:id="@+id/ü4"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:hapticFeedbackEnabled="true"
|
|
|
|
android:text="AN"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintStart_toEndOf="@+id/ü3"
|
|
|
|
app:layout_constraintTop_toBottomOf="@+id/überschrift2" />
|
|
|
|
|
|
|
|
<EditText
|
|
|
|
android:id="@+id/button_input"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginTop="75dp"
|
|
|
|
android:backgroundTint="#FFFFFF"
|
|
|
|
android:ems="10"
|
|
|
|
android:hint="NAME"
|
|
|
|
android:inputType="text"
|
|
|
|
android:textColor="#FFFFFF"
|
|
|
|
android:textColorHint="#FFFFFF"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintHorizontal_bias="0.542"
|
|
|
|
app:layout_constraintStart_toEndOf="@+id/add_button"
|
|
|
|
app:layout_constraintTop_toTopOf="parent" />
|
|
|
|
|
|
|
|
<Button
|
|
|
|
android:id="@+id/add_button"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginStart="20dp"
|
|
|
|
android:layout_marginLeft="20dp"
|
|
|
|
android:layout_marginTop="75dp"
|
|
|
|
android:hapticFeedbackEnabled="true"
|
|
|
|
android:text="ADD BUTTON"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toTopOf="parent" />
|
|
|
|
|
2021-03-04 21:18:38 +01:00
|
|
|
<TextView
|
|
|
|
android:id="@+id/text_flur"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2021-03-29 18:11:32 +02:00
|
|
|
android:layout_marginStart="8dp"
|
|
|
|
android:layout_marginEnd="8dp"
|
2021-04-16 21:41:45 +02:00
|
|
|
android:layout_marginBottom="4dp"
|
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-04-16 21:41:45 +02:00
|
|
|
app:layout_constraintHorizontal_bias="0.0"
|
2021-03-29 18:11:32 +02:00
|
|
|
app:layout_constraintStart_toStartOf="parent" />
|
2021-04-16 21:41:45 +02:00
|
|
|
|
|
|
|
<View
|
|
|
|
android:id="@+id/divider"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="1dp"
|
|
|
|
android:layout_marginTop="20dp"
|
|
|
|
android:background="@color/white"
|
|
|
|
android:fadingEdge="horizontal|vertical"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toBottomOf="@+id/button_input" />
|
|
|
|
|
2021-03-04 21:18:38 +01:00
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|