From c265bbecf9b613285de56cd0643ec94e364d4f5e Mon Sep 17 00:00:00 2001 From: Alex Ning Date: Sat, 5 Feb 2022 15:19:18 +0800 Subject: New option: Settings->Interface->Comment->Hide Author Avatar. Fix Application ClassCastException in MainActivity. Don't show the number of child comments in expanded comments. --- app/src/main/res/layout/item_comment_fully_collapsed.xml | 3 ++- app/src/main/res/values/strings.xml | 1 + app/src/main/res/xml/comment_preferences.xml | 5 +++++ 3 files changed, 8 insertions(+), 1 deletion(-) (limited to 'app/src/main/res') diff --git a/app/src/main/res/layout/item_comment_fully_collapsed.xml b/app/src/main/res/layout/item_comment_fully_collapsed.xml index 5bda1d1f..4e0a0d32 100644 --- a/app/src/main/res/layout/item_comment_fully_collapsed.xml +++ b/app/src/main/res/layout/item_comment_fully_collapsed.xml @@ -22,7 +22,8 @@ android:id="@+id/author_icon_image_view_item_comment_fully_collapsed" android:layout_width="24dp" android:layout_height="24dp" - android:layout_gravity="center_vertical" /> + android:layout_gravity="center_vertical" + android:visibility="gone" /> Hide Comment Awards Show Fewer Toolbar Options Starting From Level %1$d + Hide Author Avatar Cannot get the link diff --git a/app/src/main/res/xml/comment_preferences.xml b/app/src/main/res/xml/comment_preferences.xml index b7736545..76738f73 100644 --- a/app/src/main/res/xml/comment_preferences.xml +++ b/app/src/main/res/xml/comment_preferences.xml @@ -32,6 +32,11 @@ app:key="fully_collapse_comment" android:title="@string/settings_fully_collapse_comment_title" /> + +