aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res/layout
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--app/src/main/res/layout/fragment_copy_text_bottom_sheet.xml2
-rw-r--r--app/src/main/res/layout/fragment_post_comment_sort_type_bottom_sheet.xml2
-rw-r--r--app/src/main/res/layout/fragment_post_layot_bottom_sheet.xml2
-rw-r--r--app/src/main/res/layout/fragment_sort_time_bottom_sheet.xml2
-rw-r--r--app/src/main/res/layout/fragment_url_menu_bottom_sheet.xml68
5 files changed, 72 insertions, 4 deletions
diff --git a/app/src/main/res/layout/fragment_copy_text_bottom_sheet.xml b/app/src/main/res/layout/fragment_copy_text_bottom_sheet.xml
index 3d82d549..1e1e5394 100644
--- a/app/src/main/res/layout/fragment_copy_text_bottom_sheet.xml
+++ b/app/src/main/res/layout/fragment_copy_text_bottom_sheet.xml
@@ -5,7 +5,7 @@
android:layout_height="wrap_content"
android:paddingBottom="8dp"
android:overScrollMode="never"
- tools:context=".Fragment.SortTimeBottomSheetFragment">
+ tools:context=".BottomSheetFragment.CopyTextBottomSheetFragment">
<LinearLayout
android:layout_width="match_parent"
diff --git a/app/src/main/res/layout/fragment_post_comment_sort_type_bottom_sheet.xml b/app/src/main/res/layout/fragment_post_comment_sort_type_bottom_sheet.xml
index 23efa55e..1bbf20a0 100644
--- a/app/src/main/res/layout/fragment_post_comment_sort_type_bottom_sheet.xml
+++ b/app/src/main/res/layout/fragment_post_comment_sort_type_bottom_sheet.xml
@@ -4,7 +4,7 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:overScrollMode="never"
- tools:context=".Fragment.PostCommentSortTypeBottomSheetFragment">
+ tools:context=".BottomSheetFragment.PostCommentSortTypeBottomSheetFragment">
<LinearLayout
android:layout_width="match_parent"
diff --git a/app/src/main/res/layout/fragment_post_layot_bottom_sheet.xml b/app/src/main/res/layout/fragment_post_layot_bottom_sheet.xml
index bfe273f5..d5844678 100644
--- a/app/src/main/res/layout/fragment_post_layot_bottom_sheet.xml
+++ b/app/src/main/res/layout/fragment_post_layot_bottom_sheet.xml
@@ -5,7 +5,7 @@
android:layout_height="wrap_content"
android:paddingBottom="8dp"
android:overScrollMode="never"
- tools:context=".Fragment.PostLayoutBottomSheetFragment">
+ tools:context=".BottomSheetFragment.PostLayoutBottomSheetFragment">
<LinearLayout
android:layout_width="match_parent"
diff --git a/app/src/main/res/layout/fragment_sort_time_bottom_sheet.xml b/app/src/main/res/layout/fragment_sort_time_bottom_sheet.xml
index 1c0ab47b..23650b68 100644
--- a/app/src/main/res/layout/fragment_sort_time_bottom_sheet.xml
+++ b/app/src/main/res/layout/fragment_sort_time_bottom_sheet.xml
@@ -5,7 +5,7 @@
android:layout_height="wrap_content"
android:paddingBottom="8dp"
android:overScrollMode="never"
- tools:context=".Fragment.SortTimeBottomSheetFragment">
+ tools:context=".BottomSheetFragment.SortTimeBottomSheetFragment">
<LinearLayout
android:layout_width="match_parent"
diff --git a/app/src/main/res/layout/fragment_url_menu_bottom_sheet.xml b/app/src/main/res/layout/fragment_url_menu_bottom_sheet.xml
new file mode 100644
index 00000000..05ea66c9
--- /dev/null
+++ b/app/src/main/res/layout/fragment_url_menu_bottom_sheet.xml
@@ -0,0 +1,68 @@
+<?xml version="1.0" encoding="utf-8"?>
+<androidx.core.widget.NestedScrollView 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:paddingBottom="8dp"
+ android:overScrollMode="never"
+ tools:context=".BottomSheetFragment.UrlMenuBottomSheetFragment">
+
+ <LinearLayout
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:orientation="vertical">
+
+ <TextView
+ android:id="@+id/open_link_text_view_url_menu_bottom_sheet_fragment"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:text="@string/copy_raw_text"
+ android:textColor="?attr/primaryTextColor"
+ android:textSize="?attr/font_default"
+ android:paddingTop="16dp"
+ android:paddingBottom="16dp"
+ android:paddingStart="32dp"
+ android:paddingEnd="32dp"
+ android:drawableStart="@drawable/ic_open_link_24dp"
+ android:drawablePadding="48dp"
+ android:clickable="true"
+ android:focusable="true"
+ android:background="?attr/selectableItemBackground" />
+
+ <TextView
+ android:id="@+id/copy_link_text_view_url_menu_bottom_sheet_fragment"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:text="@string/copy_markdown"
+ android:textColor="?attr/primaryTextColor"
+ android:textSize="?attr/font_default"
+ android:paddingTop="16dp"
+ android:paddingBottom="16dp"
+ android:paddingStart="32dp"
+ android:paddingEnd="32dp"
+ android:drawableStart="@drawable/ic_copy_24dp"
+ android:drawablePadding="48dp"
+ android:clickable="true"
+ android:focusable="true"
+ android:background="?attr/selectableItemBackground" />
+
+ <TextView
+ android:id="@+id/share_link_text_view_url_menu_bottom_sheet_fragment"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:text="@string/copy_all_raw_text"
+ android:textColor="?attr/primaryTextColor"
+ android:textSize="?attr/font_default"
+ android:paddingTop="16dp"
+ android:paddingBottom="16dp"
+ android:paddingStart="32dp"
+ android:paddingEnd="32dp"
+ android:drawableStart="@drawable/ic_share_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