From a2fe95912b00a926f42089bc7e455507306164af Mon Sep 17 00:00:00 2001 From: Alex Ning Date: Thu, 22 Aug 2019 09:45:27 +0800 Subject: Enabling or disabling nsfw are now available. --- app/src/main/res/layout/activity_search.xml | 4 ++-- app/src/main/res/xml/main_preferences.xml | 2 +- app/src/main/res/xml/notification_preferences.xml | 5 +++-- 3 files changed, 6 insertions(+), 5 deletions(-) (limited to 'app/src/main/res') diff --git a/app/src/main/res/layout/activity_search.xml b/app/src/main/res/layout/activity_search.xml index b810a849..647ec1ec 100644 --- a/app/src/main/res/layout/activity_search.xml +++ b/app/src/main/res/layout/activity_search.xml @@ -59,10 +59,10 @@ android:id="@+id/subreddit_name_relative_layout_search_activity" android:layout_width="match_parent" android:layout_height="wrap_content" - android:padding="16dp" + android:background="?attr/selectableItemBackground" android:clickable="true" android:focusable="true" - android:background="?attr/selectableItemBackground"> + android:padding="16dp"> diff --git a/app/src/main/res/xml/notification_preferences.xml b/app/src/main/res/xml/notification_preferences.xml index 1bb81106..93956533 100644 --- a/app/src/main/res/xml/notification_preferences.xml +++ b/app/src/main/res/xml/notification_preferences.xml @@ -9,12 +9,13 @@ app:title="@string/settings_notification_enable_notification_title"/> + app:useSimpleSummaryProvider="true" + app:isPreferenceVisible="false" /> \ No newline at end of file -- cgit v1.2.3