diff options
author | Alex Ning <chineseperson5@gmail.com> | 2019-08-22 01:45:27 +0000 |
---|---|---|
committer | Alex Ning <chineseperson5@gmail.com> | 2019-08-22 01:45:27 +0000 |
commit | a2fe95912b00a926f42089bc7e455507306164af (patch) | |
tree | c22a98dd21f4c4b58ea5d0b0fb47f7aaa25ee1e5 /app/src/main/res | |
parent | 9bad5024ff2fe13d9fe366ed40a2ea8662620c18 (diff) | |
download | infinity-for-reddit-a2fe95912b00a926f42089bc7e455507306164af.tar infinity-for-reddit-a2fe95912b00a926f42089bc7e455507306164af.tar.gz infinity-for-reddit-a2fe95912b00a926f42089bc7e455507306164af.tar.bz2 infinity-for-reddit-a2fe95912b00a926f42089bc7e455507306164af.tar.lz infinity-for-reddit-a2fe95912b00a926f42089bc7e455507306164af.tar.xz infinity-for-reddit-a2fe95912b00a926f42089bc7e455507306164af.tar.zst infinity-for-reddit-a2fe95912b00a926f42089bc7e455507306164af.zip |
Enabling or disabling nsfw are now available.
Diffstat (limited to 'app/src/main/res')
-rw-r--r-- | app/src/main/res/layout/activity_search.xml | 4 | ||||
-rw-r--r-- | app/src/main/res/xml/main_preferences.xml | 2 | ||||
-rw-r--r-- | app/src/main/res/xml/notification_preferences.xml | 5 |
3 files changed, 6 insertions, 5 deletions
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"> <TextView android:id="@+id/search_in_text_view_search_activity" diff --git a/app/src/main/res/xml/main_preferences.xml b/app/src/main/res/xml/main_preferences.xml index 5d624d7f..41026a87 100644 --- a/app/src/main/res/xml/main_preferences.xml +++ b/app/src/main/res/xml/main_preferences.xml @@ -18,7 +18,7 @@ app:useSimpleSummaryProvider="true" /> <SwitchPreference - app:defaultValue="true" + app:defaultValue="false" app:key="nsfw" app:title="@string/settings_enable_nsfw_title"/> 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"/> <ListPreference - app:defaultValue="2" + app:defaultValue="1" app:entries="@array/settings_notification_interval" app:entryValues="@array/settings_notification_interval_values" app:key="notificaiton_interval" app:icon="@drawable/ic_outline_access_time_24px" app:title="@string/settings_notification_interval_title" - app:useSimpleSummaryProvider="true" /> + app:useSimpleSummaryProvider="true" + app:isPreferenceVisible="false" /> </androidx.preference.PreferenceScreen>
\ No newline at end of file |