diff options
author | Alex Ning <chineseperson5@gmail.com> | 2020-12-31 06:46:19 +0000 |
---|---|---|
committer | Alex Ning <chineseperson5@gmail.com> | 2020-12-31 06:46:19 +0000 |
commit | 321f4da6230fd6197e5e0773db3a8d28b01e5215 (patch) | |
tree | bfb96fa3ba80604f582d6e5cbe415cd5c9216633 /app/src/main/res | |
parent | 1d857eed4738a150f6dd41a1ed4d7df672c60f6a (diff) | |
download | infinity-for-reddit-321f4da6230fd6197e5e0773db3a8d28b01e5215.tar infinity-for-reddit-321f4da6230fd6197e5e0773db3a8d28b01e5215.tar.gz infinity-for-reddit-321f4da6230fd6197e5e0773db3a8d28b01e5215.tar.bz2 infinity-for-reddit-321f4da6230fd6197e5e0773db3a8d28b01e5215.tar.lz infinity-for-reddit-321f4da6230fd6197e5e0773db3a8d28b01e5215.tar.xz infinity-for-reddit-321f4da6230fd6197e5e0773db3a8d28b01e5215.tar.zst infinity-for-reddit-321f4da6230fd6197e5e0773db3a8d28b01e5215.zip |
Long click the url to see more options. Make getRedditUriByPath in LinkResolverActivity private.
Diffstat (limited to 'app/src/main/res')
-rw-r--r-- | app/src/main/res/layout/fragment_sidebar.xml | 5 | ||||
-rw-r--r-- | app/src/main/res/layout/fragment_url_menu_bottom_sheet.xml | 18 | ||||
-rw-r--r-- | app/src/main/res/values/strings.xml | 1 |
3 files changed, 20 insertions, 4 deletions
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" /> </androidx.swiperefreshlayout.widget.SwipeRefreshLayout> 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 @@ -13,10 +13,22 @@ android:orientation="vertical"> <TextView + android:id="@+id/link_text_view_url_menu_bottom_sheet_fragment" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:textColor="?attr/primaryTextColor" + android:textSize="?attr/font_default" + android:fontFamily="?attr/font_family" + android:paddingTop="16dp" + android:paddingBottom="16dp" + android:paddingStart="32dp" + android:paddingEnd="32dp" /> + + <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:text="@string/open_link" android:textColor="?attr/primaryTextColor" android:textSize="?attr/font_default" android:fontFamily="?attr/font_family" @@ -34,7 +46,7 @@ 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:text="@string/copy_link" android:textColor="?attr/primaryTextColor" android:textSize="?attr/font_default" android:fontFamily="?attr/font_family" @@ -52,7 +64,7 @@ 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:text="@string/share_link" android:textColor="?attr/primaryTextColor" android:textSize="?attr/font_default" android:fontFamily="?attr/font_family" diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 1c423672..c34a01ce 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -583,6 +583,7 @@ <string name="copy_gif_link">Copy Gif Link</string> <string name="copy_video_link">Copy Video Link</string> <string name="copy_link">Copy Link</string> + <string name="open_link">Open Link</string> <string name="copy_success">Copied</string> <string name="copy_link_failed">Cannot copy the link</string> |