aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res/layout
diff options
context:
space:
mode:
authorAlex Ning <chineseperson5@gmail.com>2020-06-15 06:48:16 +0000
committerAlex Ning <chineseperson5@gmail.com>2020-06-15 06:48:16 +0000
commite8e85b963143d111b13373ea225fe948e316de8e (patch)
tree599e1d02835fc9f478506153d6814d24137e8b25 /app/src/main/res/layout
parent4d753fc562864a44a1ee30fbaad785311b5e790a (diff)
downloadinfinity-for-reddit-e8e85b963143d111b13373ea225fe948e316de8e.tar
infinity-for-reddit-e8e85b963143d111b13373ea225fe948e316de8e.tar.gz
infinity-for-reddit-e8e85b963143d111b13373ea225fe948e316de8e.tar.bz2
infinity-for-reddit-e8e85b963143d111b13373ea225fe948e316de8e.tar.lz
infinity-for-reddit-e8e85b963143d111b13373ea225fe948e316de8e.tar.xz
infinity-for-reddit-e8e85b963143d111b13373ea225fe948e316de8e.tar.zst
infinity-for-reddit-e8e85b963143d111b13373ea225fe948e316de8e.zip
Set image as wallpaper.
Diffstat (limited to '')
-rw-r--r--app/src/main/res/layout/fragment_set_as_wallpaper_bottom_sheet.xml74
1 files changed, 74 insertions, 0 deletions
diff --git a/app/src/main/res/layout/fragment_set_as_wallpaper_bottom_sheet.xml b/app/src/main/res/layout/fragment_set_as_wallpaper_bottom_sheet.xml
new file mode 100644
index 00000000..b8854ade
--- /dev/null
+++ b/app/src/main/res/layout/fragment_set_as_wallpaper_bottom_sheet.xml
@@ -0,0 +1,74 @@
+<?xml version="1.0" encoding="utf-8"?>
+<androidx.core.widget.NestedScrollView xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:paddingBottom="8dp"
+ android:overScrollMode="never">
+
+ <LinearLayout
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:orientation="vertical">
+
+ <TextView
+ android:id="@+id/home_screen_text_view_set_as_wallpaper_bottom_sheet_fragment"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:gravity="center_vertical"
+ android:paddingTop="16dp"
+ android:paddingBottom="16dp"
+ android:paddingStart="32dp"
+ android:paddingEnd="32dp"
+ android:text="@string/set_to_home_screen"
+ android:textColor="?attr/primaryTextColor"
+ android:textSize="?attr/font_default"
+ android:fontFamily="?attr/font_family"
+ android:drawableStart="@drawable/ic_wallpaper_home_screen_black_24dp"
+ android:drawablePadding="48dp"
+ android:clickable="true"
+ android:focusable="true"
+ android:background="?attr/selectableItemBackground"
+ android:visibility="gone" />
+
+ <TextView
+ android:id="@+id/lock_screen_text_view_set_as_wallpaper_bottom_sheet_fragment"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:gravity="center_vertical"
+ android:paddingTop="16dp"
+ android:paddingBottom="16dp"
+ android:paddingStart="32dp"
+ android:paddingEnd="32dp"
+ android:text="@string/set_to_lock_screen"
+ android:textColor="?attr/primaryTextColor"
+ android:textSize="?attr/font_default"
+ android:fontFamily="?attr/font_family"
+ android:drawableStart="@drawable/ic_wallpaper_lock_screen_black_24dp"
+ android:drawablePadding="48dp"
+ android:clickable="true"
+ android:focusable="true"
+ android:background="?attr/selectableItemBackground"
+ android:visibility="gone" />
+
+ <TextView
+ android:id="@+id/both_text_view_set_as_wallpaper_bottom_sheet_fragment"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:gravity="center_vertical"
+ android:paddingTop="16dp"
+ android:paddingBottom="16dp"
+ android:paddingStart="32dp"
+ android:paddingEnd="32dp"
+ android:text="@string/set_to_both"
+ android:textColor="?attr/primaryTextColor"
+ android:textSize="?attr/font_default"
+ android:fontFamily="?attr/font_family"
+ android:drawableStart="@drawable/ic_wallpaper_both_black_24dp"
+ android:drawablePadding="48dp"
+ android:clickable="true"
+ android:focusable="true"
+ android:background="?attr/selectableItemBackground" />
+
+ </LinearLayout>
+
+</androidx.core.widget.NestedScrollView> \ No newline at end of file