2021-05-02 19:30:26 +02:00
|
|
|
<?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"
|
2021-05-21 22:02:20 +02:00
|
|
|
tools:context=".ui.zeitsteuerung.ZeitsteuerungFragment">
|
2021-05-02 19:30:26 +02:00
|
|
|
|
2021-06-02 21:24:57 +02:00
|
|
|
<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-05-02 19:30:26 +02:00
|
|
|
|
|
|
|
<EditText
|
|
|
|
android:id="@+id/befehlInput2"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:backgroundTint="#FFFFFF"
|
|
|
|
android:ems="10"
|
|
|
|
android:inputType="text"
|
|
|
|
android:textColor="#FFFFFF"
|
|
|
|
android:textColorHint="#FFFFFF"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintHorizontal_bias="0.497"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toBottomOf="@+id/textView8" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/textView8"
|
|
|
|
android:layout_width="253dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:gravity="center_horizontal"
|
2021-06-02 10:19:46 +02:00
|
|
|
android:text="@string/befehl"
|
2021-05-02 19:30:26 +02:00
|
|
|
android:textAlignment="center"
|
|
|
|
android:textColor="#FFFFFF"
|
|
|
|
android:textSize="20sp"
|
2021-06-02 17:15:16 +02:00
|
|
|
app:layout_constraintBottom_toTopOf="@+id/befehlInput2"
|
2021-05-02 19:30:26 +02:00
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintHorizontal_bias="0.506"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toBottomOf="@+id/timePicker" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/textView10"
|
|
|
|
android:layout_width="253dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:gravity="center_horizontal"
|
2021-06-02 10:19:46 +02:00
|
|
|
android:text="@string/zeitgesteuerte_kommandos"
|
2021-05-02 19:30:26 +02:00
|
|
|
android:textAlignment="center"
|
|
|
|
android:textColor="#FFFFFF"
|
|
|
|
android:textSize="20sp"
|
|
|
|
app:layout_constraintBottom_toTopOf="@+id/timePicker"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintHorizontal_bias="0.506"
|
|
|
|
app:layout_constraintStart_toStartOf="parent" />
|
|
|
|
|
|
|
|
<Button
|
|
|
|
android:id="@+id/sendtimedcommand"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:hapticFeedbackEnabled="true"
|
2021-06-02 10:19:46 +02:00
|
|
|
android:text="@string/send_timed_command"
|
2021-05-02 19:30:26 +02:00
|
|
|
app:icon="@drawable/send_24px"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toBottomOf="@+id/befehlInput2" />
|
|
|
|
|
|
|
|
<TimePicker
|
|
|
|
android:id="@+id/timePicker"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:amPmTextColor="#FFFFFF"
|
|
|
|
android:numbersSelectorColor="@color/white"
|
|
|
|
android:timePickerMode="spinner"
|
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintHorizontal_bias="0.496"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toTopOf="parent" />
|
|
|
|
|
|
|
|
|
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|