2023-04-24 15:43:42 +02:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
|
<androidx.appcompat.widget.LinearLayoutCompat xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
|
|
|
android:orientation="vertical"
|
|
|
|
|
android:paddingBottom="16dp"
|
|
|
|
|
android:paddingHorizontal="24dp"
|
|
|
|
|
app:layout_behavior="com.google.android.material.bottomsheet.BottomSheetBehavior">
|
|
|
|
|
|
|
|
|
|
<com.google.android.material.bottomsheet.BottomSheetDragHandleView
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_gravity="center"/>
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:textSize="22sp"
|
|
|
|
|
android:fontFamily="@font/lato_blackitalic"
|
|
|
|
|
android:layout_marginBottom="8dp"
|
|
|
|
|
android:text="@string/sheet_schedule_update_header"/>
|
|
|
|
|
|
|
|
|
|
<com.google.android.material.textfield.TextInputLayout
|
|
|
|
|
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_marginBottom="8dp"
|
|
|
|
|
android:hint="@string/sheet_schedule_update_title_hint"
|
2023-04-25 10:24:15 +02:00
|
|
|
app:boxStrokeColor="@color/selector_text_input"
|
|
|
|
|
app:hintTextColor="@color/selector_text_input">
|
2023-04-24 15:43:42 +02:00
|
|
|
|
|
|
|
|
<com.google.android.material.textfield.TextInputEditText
|
2023-04-25 10:24:15 +02:00
|
|
|
style="@style/ThemeOverlay.Material3.TextInputEditText.OutlinedBox"
|
|
|
|
|
android:textColor="?attr/colorOnSurfaceVariant"
|
2023-04-24 15:43:42 +02:00
|
|
|
android:id="@+id/edit_text_title"
|
|
|
|
|
android:layout_width="match_parent"
|
2023-04-25 10:24:15 +02:00
|
|
|
android:layout_height="wrap_content"/>
|
2023-04-24 15:43:42 +02:00
|
|
|
|
|
|
|
|
</com.google.android.material.textfield.TextInputLayout>
|
|
|
|
|
|
|
|
|
|
<androidx.appcompat.widget.LinearLayoutCompat
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:orientation="horizontal"
|
|
|
|
|
android:layout_marginBottom="8dp">
|
|
|
|
|
|
|
|
|
|
<!-- lecturers -->
|
|
|
|
|
<com.google.android.material.textfield.TextInputLayout
|
|
|
|
|
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox"
|
|
|
|
|
android:layout_width="0dp"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_weight="1"
|
|
|
|
|
android:layout_marginBottom="8dp"
|
|
|
|
|
android:layout_marginEnd="4dp"
|
|
|
|
|
android:maxLines="1"
|
|
|
|
|
android:scrollHorizontally="true"
|
2023-04-25 10:24:15 +02:00
|
|
|
android:hint="@string/sheet_schedule_update_lecturers_hint"
|
|
|
|
|
app:boxStrokeColor="@color/selector_text_input"
|
|
|
|
|
app:hintTextColor="@color/selector_text_input">
|
2023-04-24 15:43:42 +02:00
|
|
|
|
|
|
|
|
<com.google.android.material.textfield.TextInputEditText
|
2023-04-25 10:24:15 +02:00
|
|
|
style="@style/ThemeOverlay.Material3.TextInputEditText.OutlinedBox"
|
|
|
|
|
android:textColor="?attr/colorOnSurfaceVariant"
|
2023-04-24 15:43:42 +02:00
|
|
|
android:id="@+id/edit_text_lecturers"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:inputType="text"/>
|
|
|
|
|
|
|
|
|
|
</com.google.android.material.textfield.TextInputLayout>
|
|
|
|
|
|
|
|
|
|
<!-- room -->
|
|
|
|
|
<com.google.android.material.textfield.TextInputLayout
|
|
|
|
|
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox"
|
|
|
|
|
android:layout_width="0dp"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_weight="1"
|
|
|
|
|
android:layout_marginBottom="8dp"
|
|
|
|
|
android:maxLines="1"
|
|
|
|
|
android:scrollHorizontally="true"
|
2023-04-25 10:24:15 +02:00
|
|
|
android:hint="@string/sheet_schedule_update_room_hint"
|
|
|
|
|
app:boxStrokeColor="@color/selector_text_input"
|
|
|
|
|
app:hintTextColor="@color/selector_text_input">
|
2023-04-24 15:43:42 +02:00
|
|
|
|
|
|
|
|
<com.google.android.material.textfield.TextInputEditText
|
2023-04-25 10:24:15 +02:00
|
|
|
style="@style/ThemeOverlay.Material3.TextInputEditText.OutlinedBox"
|
|
|
|
|
android:textColor="?attr/colorOnSurfaceVariant"
|
2023-04-24 15:43:42 +02:00
|
|
|
android:id="@+id/edit_text_room"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:inputType="text"/>
|
|
|
|
|
|
|
|
|
|
</com.google.android.material.textfield.TextInputLayout>
|
|
|
|
|
|
|
|
|
|
</androidx.appcompat.widget.LinearLayoutCompat>
|
|
|
|
|
|
|
|
|
|
<androidx.appcompat.widget.LinearLayoutCompat
|
2023-04-25 10:24:15 +02:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:orientation="horizontal"
|
|
|
|
|
android:layout_marginBottom="8dp">
|
|
|
|
|
|
|
|
|
|
<com.google.android.material.button.MaterialButton
|
|
|
|
|
style="@style/Widget.Material3.Button.OutlinedButton"
|
|
|
|
|
android:id="@+id/button_time_start"
|
|
|
|
|
android:layout_width="0dp"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_weight="1"
|
|
|
|
|
app:strokeColor="?attr/colorOutlineVariant"/>
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:text="@string/sheet_schedule_update_timeslot_middle"
|
|
|
|
|
android:layout_marginHorizontal="8dp"/>
|
|
|
|
|
|
|
|
|
|
<com.google.android.material.button.MaterialButton
|
|
|
|
|
style="@style/Widget.Material3.Button.OutlinedButton"
|
|
|
|
|
android:id="@+id/button_time_end"
|
|
|
|
|
android:layout_width="0dp"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_weight="1"
|
|
|
|
|
app:strokeColor="?attr/colorOutlineVariant"/>
|
|
|
|
|
|
|
|
|
|
</androidx.appcompat.widget.LinearLayoutCompat>
|
|
|
|
|
|
|
|
|
|
<androidx.appcompat.widget.LinearLayoutCompat
|
2023-04-24 15:43:42 +02:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:orientation="horizontal"
|
|
|
|
|
android:gravity="end">
|
|
|
|
|
|
|
|
|
|
<com.google.android.material.button.MaterialButton
|
|
|
|
|
android:id="@+id/button_delete"
|
|
|
|
|
style="@style/Widget.Material3.Button.TonalButton"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:text="@string/delete"
|
|
|
|
|
app:icon="@drawable/delete"
|
|
|
|
|
android:layout_marginEnd="8dp"/>
|
|
|
|
|
|
|
|
|
|
<com.google.android.material.button.MaterialButton
|
|
|
|
|
android:id="@+id/button_save"
|
|
|
|
|
style="@style/Widget.Material3.Button.TonalButton"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:text="@string/save"
|
|
|
|
|
app:icon="@drawable/save"/>
|
|
|
|
|
|
|
|
|
|
</androidx.appcompat.widget.LinearLayoutCompat>
|
|
|
|
|
|
|
|
|
|
</androidx.appcompat.widget.LinearLayoutCompat>
|