From 321f4da6230fd6197e5e0773db3a8d28b01e5215 Mon Sep 17 00:00:00 2001 From: Alex Ning Date: Thu, 31 Dec 2020 14:46:19 +0800 Subject: Long click the url to see more options. Make getRedditUriByPath in LinkResolverActivity private. --- app/src/main/res/layout/fragment_sidebar.xml | 5 ++++- .../main/res/layout/fragment_url_menu_bottom_sheet.xml | 18 +++++++++++++++--- app/src/main/res/values/strings.xml | 1 + 3 files changed, 20 insertions(+), 4 deletions(-) (limited to 'app/src/main/res') diff --git a/app/src/main/res/layout/fragment_sidebar.xml b/app/src/main/res/layout/fragment_sidebar.xml index a0773c9c..0b0e5ace 100644 --- a/app/src/main/res/layout/fragment_sidebar.xml +++ b/app/src/main/res/layout/fragment_sidebar.xml @@ -16,7 +16,10 @@ android:id="@+id/markdown_recycler_view_sidebar_fragment" android:layout_width="match_parent" android:layout_height="match_parent" - android:padding="8dp" + android:paddingTop="8dp" + android:paddingBottom="144dp" + android:paddingStart="8dp" + android:paddingEnd="8dp" android:clipToPadding="false" /> 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 index 852c53ed..65dacae2 100644 --- a/app/src/main/res/layout/fragment_url_menu_bottom_sheet.xml +++ b/app/src/main/res/layout/fragment_url_menu_bottom_sheet.xml @@ -12,11 +12,23 @@ android:layout_height="wrap_content" android:orientation="vertical"> + + Copy Gif Link Copy Video Link Copy Link + Open Link Copied Cannot copy the link -- cgit v1.2.3