Files
lawnchair/res/layout/backup_bottom_sheet.xml
Till Kottmann 82a0c3d52e Clean-up/deduplicate strings
Signed-off-by: Till Kottmann <me@deletescape.ch>
2019-04-20 16:53:12 +02:00

71 lines
2.5 KiB
XML

<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:paddingTop="28dp">
<TextView
android:id="@android:id/title"
style="@style/TextTitle"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center_horizontal"
android:textColor="?android:attr/textColorPrimary"
android:textSize="24sp"
tools:text="Backup item" />
<TextView
android:id="@android:id/summary"
style="@style/TextTitle"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="32dp"
android:gravity="center_horizontal"
android:textColor="?android:attr/textColorSecondary"
android:textSize="16sp"
tools:text="Oct 11, 2018 17:18:43" />
<TextView
android:id="@+id/action_restore_backup"
android:background="?selectableItemBackground"
android:layout_width="match_parent"
android:layout_height="60dp"
android:layout_gravity="center"
android:drawablePadding="16dp"
android:drawableStart="@drawable/ic_restore"
android:gravity="center_vertical"
android:padding="16dp"
android:text="@string/restore_backup" />
<View
android:id="@+id/divider"
android:background="?android:listDivider"
android:layout_width="match_parent"
android:layout_height="1dp" />
<TextView
android:id="@+id/action_share_backup"
android:background="?selectableItemBackground"
android:layout_width="match_parent"
android:layout_height="60dp"
android:layout_gravity="center"
android:drawablePadding="16dp"
android:drawableStart="@drawable/ic_share"
android:gravity="center_vertical"
android:padding="16dp"
android:text="@string/backup_share" />
<TextView
android:id="@+id/action_remove_backup_from_list"
android:background="?selectableItemBackground"
android:layout_width="match_parent"
android:layout_height="60dp"
android:layout_gravity="center"
android:drawablePadding="16dp"
android:drawableStart="@drawable/ic_list_remove"
android:gravity="center_vertical"
android:padding="16dp"
android:text="@string/delete" />
</LinearLayout>