diff options
Diffstat (limited to 'app/src/main/res/layout/activity_prepare_create.xml')
-rw-r--r-- | app/src/main/res/layout/activity_prepare_create.xml | 90 |
1 files changed, 90 insertions, 0 deletions
diff --git a/app/src/main/res/layout/activity_prepare_create.xml b/app/src/main/res/layout/activity_prepare_create.xml new file mode 100644 index 000000000..8452a6afc --- /dev/null +++ b/app/src/main/res/layout/activity_prepare_create.xml @@ -0,0 +1,90 @@ +<?xml version="1.0" encoding="utf-8"?> +<RelativeLayout 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" + tools:showIn="@layout/activity_prepare_create"> + + <com.google.android.material.appbar.AppBarLayout + android:id="@+id/appBarLayout" + android:layout_width="match_parent" + android:layout_height="wrap_content"> + + <androidx.appcompat.widget.Toolbar + android:id="@+id/toolbar" + android:layout_width="match_parent" + android:layout_height="?android:actionBarSize" + app:title="@string/add_card" + app:titleTextColor="@android:color/white" /> + </com.google.android.material.appbar.AppBarLayout> + + <ScrollView + android:layout_width="match_parent" + android:layout_height="match_parent" + android:layout_above="@+id/buttonBar" + android:layout_below="@id/appBarLayout" + android:padding="@dimen/standard_padding"> + + <LinearLayout + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:orientation="vertical"> + + <androidx.appcompat.widget.AppCompatSpinner + android:id="@+id/account_select" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:prompt="@string/choose_account" + android:spinnerMode="dialog" + tools:listitem="@layout/item_pick_stack_account" /> + + <androidx.appcompat.widget.AppCompatSpinner + android:id="@+id/board_select" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:prompt="@string/choose_board" + android:spinnerMode="dialog" + tools:listitem="@layout/item_board" /> + + <androidx.appcompat.widget.AppCompatSpinner + android:id="@+id/stack_select" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:prompt="@string/choose_list" + android:spinnerMode="dialog" + tools:listitem="@layout/item_board" /> + </LinearLayout> + </ScrollView> + + <LinearLayout + android:id="@+id/buttonBar" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:layout_alignParentBottom="true" + android:orientation="horizontal" + android:padding="@dimen/standard_padding" + android:weightSum="1.0"> + + <com.google.android.material.button.MaterialButton + android:id="@+id/cancel" + style="@style/Widget.AppCompat.Button" + android:layout_width="0dp" + android:layout_height="wrap_content" + android:layout_marginEnd="@dimen/standard_half_margin" + android:layout_marginRight="@dimen/standard_half_margin" + android:layout_weight=".5" + android:text="@android:string/cancel" + app:backgroundTint="@android:color/white" /> + + <com.google.android.material.button.MaterialButton + android:id="@+id/submit" + style="@style/Widget.AppCompat.Button.Colored" + android:layout_width="0dp" + android:layout_height="wrap_content" + android:layout_marginStart="@dimen/standard_half_margin" + android:layout_marginLeft="@dimen/standard_half_margin" + android:layout_weight=".5" + android:text="@string/add_card" /> + </LinearLayout> +</RelativeLayout>
\ No newline at end of file |