Teraplex/app/src/main/res/layout/fragment_flur.xml

241 lines
9.1 KiB
XML
Raw Normal View History

2021-03-04 21:18:38 +01:00
<?xml version="1.0" encoding="utf-8"?>
<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"
tools:context=".ui.Schlafzimmer.SchlafzimmerFragment"
android:background="@drawable/background">
<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"
android:layout_marginStart="8dp"
android:layout_marginEnd="8dp"
android:layout_marginBottom="4dp"
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"
app:layout_constraintHorizontal_bias="0.0"
app:layout_constraintStart_toStartOf="parent" />
<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>