From a651935fa57d26a9a035d82a3936b198625740bd Mon Sep 17 00:00:00 2001 From: andrewrasch Date: Tue, 21 Sep 2021 20:37:41 -0400 Subject: Added go to top of page option. Added Main + Other Activity bottom bar option to go to the top of a page. --- app/src/main/res/values/arrays.xml | 2 ++ app/src/main/res/values/strings.xml | 1 + 2 files changed, 3 insertions(+) (limited to 'app/src/main/res') diff --git a/app/src/main/res/values/arrays.xml b/app/src/main/res/values/arrays.xml index f8097c33..50c7b6c6 100644 --- a/app/src/main/res/values/arrays.xml +++ b/app/src/main/res/values/arrays.xml @@ -283,6 +283,7 @@ @string/hidden @string/saved @string/gilded + @string/go_to_top @@ -306,6 +307,7 @@ @string/hidden @string/saved @string/gilded + @string/go_to_top diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 68ab820b..b94cac10 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -1190,5 +1190,6 @@ 6 hours 12 hours 24 hours + Go To Top -- cgit v1.2.3 From 97d630392cd8161c1428d1451f1690ee2a667830 Mon Sep 17 00:00:00 2001 From: andrewrasch Date: Tue, 21 Sep 2021 23:29:49 -0400 Subject: Change the go to top icon Changed to use a double up arrow icon --- .../main/res/drawable/ic_keyboard_double_arrow_up_24.xml | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 app/src/main/res/drawable/ic_keyboard_double_arrow_up_24.xml (limited to 'app/src/main/res') diff --git a/app/src/main/res/drawable/ic_keyboard_double_arrow_up_24.xml b/app/src/main/res/drawable/ic_keyboard_double_arrow_up_24.xml new file mode 100644 index 00000000..fd6c2ac9 --- /dev/null +++ b/app/src/main/res/drawable/ic_keyboard_double_arrow_up_24.xml @@ -0,0 +1,13 @@ + + + + -- cgit v1.2.3 From 0ca6bc25af02b52ce7b89b1c895a3d00e307d821 Mon Sep 17 00:00:00 2001 From: andrewrasch Date: Wed, 22 Sep 2021 00:04:21 -0400 Subject: Added link to wiki in subreddit Subreddit details menu now has a link to its wiki. Subs without a wiki will show the "this subreddit has no wiki" page. --- app/src/main/res/menu/view_subreddit_detail_activity.xml | 6 ++++++ app/src/main/res/values/strings.xml | 1 + 2 files changed, 7 insertions(+) (limited to 'app/src/main/res') diff --git a/app/src/main/res/menu/view_subreddit_detail_activity.xml b/app/src/main/res/menu/view_subreddit_detail_activity.xml index c1631814..cb92de44 100644 --- a/app/src/main/res/menu/view_subreddit_detail_activity.xml +++ b/app/src/main/res/menu/view_subreddit_detail_activity.xml @@ -58,4 +58,10 @@ android:orderInCategory="9" android:title="@string/action_share" app:showAsAction="never" /> + + diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 68ab820b..08ce7077 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -1190,5 +1190,6 @@ 6 hours 12 hours 24 hours + Go to Wiki -- cgit v1.2.3