| <?xml version="1.0" encoding="utf-8"?> |
| <!-- |
| Copyright 2023 Google LLC |
| |
| Licensed under the Apache License, Version 2.0 (the "License"); |
| you may not use this file except in compliance with the License. |
| You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, software |
| distributed under the License is distributed on an "AS IS" BASIS, |
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| See the License for the specific language governing permissions and |
| limitations under the License. |
| --> |
| |
| <FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" |
| android:layout_width="match_parent" |
| android:layout_height="match_parent" |
| android:background="@android:color/black"> |
| <LinearLayout |
| android:orientation="vertical" |
| android:layout_width="match_parent" |
| android:layout_height="wrap_content"> |
| <TextView |
| android:layout_width="match_parent" |
| android:layout_height="wrap_content" |
| android:layout_marginLeft="4dp" |
| android:text="@string/Description" |
| android:textStyle="bold" |
| android:textColor="@android:color/white" /> |
| <EditText |
| android:id="@+id/description" |
| android:layout_width="match_parent" |
| android:layout_height="wrap_content" |
| android:layout_marginLeft="20dp" |
| android:layout_marginRight="5dp" |
| android:padding="4dp" |
| android:background="@android:color/darker_gray" |
| android:textColor="@android:color/black" |
| android:inputType="text" /> |
| <TextView |
| android:layout_width="match_parent" |
| android:layout_height="wrap_content" |
| android:layout_marginLeft="4dp" |
| android:text="@string/Category" |
| android:textStyle="bold" |
| android:textColor="@android:color/white" /> |
| <Spinner |
| android:id="@+id/category" |
| android:layout_width="wrap_content" |
| android:layout_height="wrap_content" |
| android:layout_marginLeft="20dp" |
| android:backgroundTint="#FF00FFFF" |
| android:spinnerMode="dropdown" /> |
| |
| <LinearLayout |
| android:orientation="horizontal" |
| android:layout_width="match_parent" |
| android:layout_height="wrap_content" |
| android:layout_marginLeft="4dp"> |
| <TextView |
| android:layout_width="0dp" |
| android:layout_weight="1" |
| android:layout_height="wrap_content" |
| android:text="@string/StoreHeading" |
| android:textStyle="bold" |
| android:textColor="@android:color/white" /> |
| <TextView |
| android:layout_width="wrap_content" |
| android:layout_height="wrap_content" |
| android:layout_marginRight="20dp" |
| android:text="@string/AisleHeading" |
| android:textStyle="bold" |
| android:textColor="@android:color/white" /> |
| </LinearLayout> |
| <ScrollView |
| android:layout_width="match_parent" |
| android:layout_height="wrap_content" |
| android:layout_marginLeft="20dp"> |
| <LinearLayout |
| android:id="@+id/storeAislesContainer" |
| android:orientation="vertical" |
| android:layout_width="match_parent" |
| android:layout_height="wrap_content" /> |
| </ScrollView> |
| <Button |
| android:id="@+id/chooseStores" |
| android:layout_width="match_parent" |
| android:layout_height="wrap_content" |
| android:minHeight="0dp" android:minWidth="0dp" |
| android:layout_marginLeft="18dp" |
| android:text="@string/ChooseStores" /> |
| |
| <LinearLayout |
| android:orientation="horizontal" |
| android:layout_width="match_parent" |
| android:layout_height="wrap_content" |
| android:layout_marginTop="20dp"> |
| <CheckBox |
| android:id="@+id/autoDelete" |
| android:layout_width="0dp" |
| android:layout_weight="1" |
| android:layout_height="wrap_content" |
| android:text="@string/AutoDelete" |
| android:buttonTint="@color/checkbox_theme" |
| android:textColor="@android:color/white" /> |
| <Button |
| android:id="@+id/deleteNow" |
| android:layout_width="wrap_content" |
| android:layout_height="wrap_content" |
| android:minHeight="0dp" android:minWidth="0dp" |
| android:text="@string/DeleteNow" /> |
| </LinearLayout> |
| |
| <LinearLayout |
| android:orientation="horizontal" |
| android:layout_width="match_parent" |
| android:layout_height="wrap_content" |
| android:layout_marginTop="20dp"> |
| <Button |
| android:id="@+id/ok" |
| android:layout_width="0dp" |
| android:layout_weight="1" |
| android:layout_height="wrap_content" |
| android:minHeight="0dp" android:minWidth="0dp" |
| android:text="@android:string/ok" /> |
| <Button |
| android:id="@+id/cancel" |
| android:layout_width="0dp" |
| android:layout_weight="1" |
| android:layout_height="wrap_content" |
| android:minHeight="0dp" android:minWidth="0dp" |
| android:text="@android:string/cancel" /> |
| </LinearLayout> |
| </LinearLayout> |
| </FrameLayout> |