58 lines
2.0 KiB
XML
58 lines
2.0 KiB
XML
<?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">
|
|
|
|
<com.google.android.material.appbar.MaterialToolbar
|
|
android:id="@+id/toolbar"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:minHeight="?attr/actionBarSize"
|
|
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>
|