aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res
diff options
context:
space:
mode:
authorAlex Ning <chineseperson5@gmail.com>2021-04-08 15:42:45 +0000
committerAlex Ning <chineseperson5@gmail.com>2021-04-08 15:42:45 +0000
commit73025a5a13de21c07b6a2cb45d4df3d5475deb37 (patch)
treea1a7c1d3eb46c48d372ff9e6bc3276991b3934e2 /app/src/main/res
parente65944ceb0207044081cc94220c2ba2a53673c74 (diff)
downloadinfinity-for-reddit-73025a5a13de21c07b6a2cb45d4df3d5475deb37.tar
infinity-for-reddit-73025a5a13de21c07b6a2cb45d4df3d5475deb37.tar.gz
infinity-for-reddit-73025a5a13de21c07b6a2cb45d4df3d5475deb37.tar.bz2
infinity-for-reddit-73025a5a13de21c07b6a2cb45d4df3d5475deb37.tar.lz
infinity-for-reddit-73025a5a13de21c07b6a2cb45d4df3d5475deb37.tar.xz
infinity-for-reddit-73025a5a13de21c07b6a2cb45d4df3d5475deb37.tar.zst
infinity-for-reddit-73025a5a13de21c07b6a2cb45d4df3d5475deb37.zip
Copying multireddit's path is now available.
Diffstat (limited to '')
-rw-r--r--app/src/main/res/layout/fragment_multi_reddit_options_bottom_sheet.xml19
-rw-r--r--app/src/main/res/values/strings.xml2
2 files changed, 21 insertions, 0 deletions
diff --git a/app/src/main/res/layout/fragment_multi_reddit_options_bottom_sheet.xml b/app/src/main/res/layout/fragment_multi_reddit_options_bottom_sheet.xml
index 7a0409b9..407390b5 100644
--- a/app/src/main/res/layout/fragment_multi_reddit_options_bottom_sheet.xml
+++ b/app/src/main/res/layout/fragment_multi_reddit_options_bottom_sheet.xml
@@ -11,6 +11,25 @@
android:orientation="vertical">
<TextView
+ android:id="@+id/copy_multi_reddit_path_text_view_multi_reddit_options_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/copy_multi_reddit_path"
+ android:textColor="?attr/primaryTextColor"
+ android:textSize="?attr/font_default"
+ android:fontFamily="?attr/font_family"
+ android:drawableStart="@drawable/ic_copy_24dp"
+ android:drawablePadding="48dp"
+ android:clickable="true"
+ android:focusable="true"
+ android:background="?attr/selectableItemBackground" />
+
+ <TextView
android:id="@+id/edit_multi_reddit_text_view_multi_reddit_options_bottom_sheet_fragment"
android:layout_width="match_parent"
android:layout_height="wrap_content"
diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml
index f0a595d7..b10909a0 100644
--- a/app/src/main/res/values/strings.xml
+++ b/app/src/main/res/values/strings.xml
@@ -897,6 +897,8 @@
<string name="author_flair_preview">Author Flair</string>
<string name="comment_content_preview">I got my girlfriend a “Get better soon” card.\nShe\'s not ill or anything, but she could definitely get better.</string>
+ <string name="copy_multi_reddit_path">Copy Multireddit\'s Path</string>
+ <string name="copy_multi_reddit_path_failed">Unable to copy multireddit\'s path</string>
<string name="edit_multi_reddit">Edit Multireddit</string>
<string name="delete_multi_reddit">Delete Multireddit</string>