diff options
Diffstat (limited to 'app/src/main/res/layout/subscription_selection_activity.xml')
-rw-r--r-- | app/src/main/res/layout/subscription_selection_activity.xml | 58 |
1 files changed, 58 insertions, 0 deletions
diff --git a/app/src/main/res/layout/subscription_selection_activity.xml b/app/src/main/res/layout/subscription_selection_activity.xml new file mode 100644 index 000000000..b54e7e4a4 --- /dev/null +++ b/app/src/main/res/layout/subscription_selection_activity.xml @@ -0,0 +1,58 @@ +<?xml version="1.0" encoding="utf-8"?> +<LinearLayout + xmlns:android="http://schemas.android.com/apk/res/android" + xmlns:app="http://schemas.android.com/apk/res-auto" + android:id="@+id/transparentBackground" + android:layout_width="match_parent" + android:layout_height="match_parent" + android:orientation="vertical"> + + <androidx.cardview.widget.CardView + android:id="@+id/card" + android:layout_width="match_parent" + android:layout_height="match_parent" + android:layout_margin="32dp" + android:elevation="16dp" + app:cardCornerRadius="4dp"> + + <RelativeLayout + android:layout_width="match_parent" + android:layout_height="match_parent" + android:orientation="vertical"> + + <androidx.appcompat.widget.Toolbar + android:id="@+id/toolbar" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:minHeight="?attr/actionBarSize" + android:theme="?attr/actionBarTheme" + android:layout_alignParentTop="true" /> + + <View + android:id="@+id/divider" + android:layout_width="match_parent" + android:layout_height="1dp" + android:layout_below="@id/toolbar" + android:background="?android:attr/listDivider" /> + + <ListView + android:id="@+id/list" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:clipToPadding="false" + android:layout_below="@id/divider" + android:paddingBottom="88dp" /> + + <Button + android:id="@+id/shortcutBtn" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:layout_margin="16dp" + android:layout_alignParentBottom="true" + android:text="@string/add_shortcut" /> + + </RelativeLayout> + + </androidx.cardview.widget.CardView> + +</LinearLayout> |