46 lines
1.9 KiB
XML
46 lines
1.9 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
android:orientation="vertical">
|
|
|
|
<!-- Date -->
|
|
<com.thebrokenrail.mtudining.widget.CustomDropDownView
|
|
android:id="@+id/menu_date_field"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_margin="@dimen/margin"
|
|
android:hint="@string/date"
|
|
style="@style/Widget.Material3.TextInputLayout.OutlinedBox.ExposedDropdownMenu"
|
|
app:endIconMode="custom"
|
|
app:endIconDrawable="@drawable/baseline_calendar_month_24">
|
|
|
|
<com.google.android.material.textfield.MaterialAutoCompleteTextView
|
|
android:id="@+id/menu_date"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:inputType="none" />
|
|
|
|
</com.thebrokenrail.mtudining.widget.CustomDropDownView>
|
|
|
|
<!-- Meal -->
|
|
<com.google.android.material.textfield.TextInputLayout
|
|
android:id="@+id/menu_meal_field"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginBottom="@dimen/margin"
|
|
android:layout_marginStart="@dimen/margin"
|
|
android:layout_marginEnd="@dimen/margin"
|
|
android:hint="@string/meal"
|
|
style="@style/Widget.Material3.TextInputLayout.OutlinedBox.ExposedDropdownMenu">
|
|
|
|
<com.google.android.material.textfield.MaterialAutoCompleteTextView
|
|
android:id="@+id/menu_meal"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:inputType="none" />
|
|
|
|
</com.google.android.material.textfield.TextInputLayout>
|
|
|
|
</LinearLayout> |