From 568aa7a78f37f7dd4c4c027e9701467887da799f Mon Sep 17 00:00:00 2001 From: Alex Ning Date: Tue, 20 Jul 2021 20:13:11 +0800 Subject: New option: Default Link Post Layout. --- app/src/main/res/values/arrays.xml | 16 ++++++++++++++++ app/src/main/res/values/strings.xml | 2 ++ app/src/main/res/xml/post_preferences.xml | 8 ++++++++ 3 files changed, 26 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 38370d05..a22e1f60 100644 --- a/app/src/main/res/values/arrays.xml +++ b/app/src/main/res/values/arrays.xml @@ -55,6 +55,22 @@ 2 + + @string/link_post_layout_auto + @string/post_layout_card + @string/post_layout_card_2 + @string/post_layout_compact + @string/post_layout_gallery + + + + -1 + 0 + 3 + 1 + 2 + + @string/always_on @string/only_on_wifi diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index f44c7c92..b0cf0dde 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -401,6 +401,7 @@ Time Format Post Default Post Layout + Default Link Post Layout Show Divider Show Thumbnail on the Left The Number of Columns in Post Feed @@ -619,6 +620,7 @@ Favorites All + Auto Card Layout Compact Layout Gallery Layout diff --git a/app/src/main/res/xml/post_preferences.xml b/app/src/main/res/xml/post_preferences.xml index 7ea526a5..55f9f5c2 100644 --- a/app/src/main/res/xml/post_preferences.xml +++ b/app/src/main/res/xml/post_preferences.xml @@ -10,6 +10,14 @@ app:title="@string/settings_default_post_layout" app:useSimpleSummaryProvider="true" /> + + -- cgit v1.2.3