aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--app/src/main/res/layout/activity_search.xml4
-rw-r--r--app/src/main/res/xml/main_preferences.xml2
-rw-r--r--app/src/main/res/xml/notification_preferences.xml5
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