From: Soren Stoutner Date: Mon, 9 Sep 2024 20:29:58 +0000 (-0700) Subject: Add an option to sort bookmarks alphabetically. https://redmine.stoutner.com/issues... X-Git-Url: https://gitweb.stoutner.com/?a=commitdiff_plain;h=844e1b7b7afbfc0f29823f597647ee5fc9a36963;p=PrivacyBrowserAndroid.git Add an option to sort bookmarks alphabetically. https://redmine.stoutner.com/issues/1142 --- diff --git a/app/src/main/assets/de/about_licenses.html b/app/src/main/assets/de/about_licenses.html index ae111a14..0eca2bfc 100644 --- a/app/src/main/assets/de/about_licenses.html +++ b/app/src/main/assets/de/about_licenses.html @@ -5,7 +5,7 @@ Translation 2016 Aaron Gerlach . Copyright assigned to Soren Stoutner . - This file is part of Privacy Browser Android . + This file is part of Privacy Browser Android . Privacy Browser Android is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -167,6 +167,7 @@

share.

smartphone.

sort.

+

sort_by_alpha_rounded_fill0_weight400_grade0_24px.

style.

subheader_rounded_weight400_grade0_48px.

tab.

diff --git a/app/src/main/assets/en/about_licenses.html b/app/src/main/assets/en/about_licenses.html index 6b53802f..36a2c057 100644 --- a/app/src/main/assets/en/about_licenses.html +++ b/app/src/main/assets/en/about_licenses.html @@ -1,7 +1,7 @@ + + + + + diff --git a/app/src/main/assets/tr/about_licenses.html b/app/src/main/assets/tr/about_licenses.html index 01adbba5..158b8bb8 100644 --- a/app/src/main/assets/tr/about_licenses.html +++ b/app/src/main/assets/tr/about_licenses.html @@ -1,7 +1,7 @@ + + + + . - This file is derived from elements of `folder` and `exit_to_app`, which are part of the Android Material icon set. They are released under the Apache License 2.0. + This file is derived from elements of `folder` and `exit_to_app`, which are part of the Android Material icon set. They are released under the Apache License 2.0 . This file is part of Privacy Browser Android . diff --git a/app/src/main/res/drawable/move_up_disabled.xml b/app/src/main/res/drawable/move_up_disabled.xml index 1c78ff7b..6aa24cc3 100644 --- a/app/src/main/res/drawable/move_up_disabled.xml +++ b/app/src/main/res/drawable/move_up_disabled.xml @@ -1,4 +1,4 @@ - + + . --> + + + + + diff --git a/app/src/main/res/drawable/sort_by_alpha_enabled.xml b/app/src/main/res/drawable/sort_by_alpha_enabled.xml new file mode 100644 index 00000000..e0411894 --- /dev/null +++ b/app/src/main/res/drawable/sort_by_alpha_enabled.xml @@ -0,0 +1,13 @@ + + + + + + diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index a45b6314..230916f6 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -734,6 +734,8 @@ Display additional app bar icons Display icons in the app bar for refreshing the WebView and, if there is room, for opening the bookmarks drawer and toggling cookies. Changing this setting will restart Privacy Browser. + Sort bookmarks alphabetically + Sort the bookmarks alphabetically, with the folders displayed above the bookmarks. This disables manual ordering of bookmarks. App theme System default @@ -798,6 +800,7 @@ scroll_app_bar search_custom_url search + sort_bookmarks_alphabetically swipe_to_refresh tracking_queries ultralist diff --git a/app/src/main/res/xml/preferences.xml b/app/src/main/res/xml/preferences.xml index d2654963..1b21b9da 100644 --- a/app/src/main/res/xml/preferences.xml +++ b/app/src/main/res/xml/preferences.xml @@ -288,6 +288,12 @@ app:summary="@string/display_additional_app_bar_icons_summary" app:defaultValue="false" /> + +