aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res
diff options
context:
space:
mode:
Diffstat (limited to 'app/src/main/res')
-rw-r--r--app/src/main/res/layout/fragment_crash_reports.xml6
-rw-r--r--app/src/main/res/layout/item_crash_report.xml8
-rw-r--r--app/src/main/res/values/strings.xml1
-rw-r--r--app/src/main/res/xml/advanced_preferences.xml4
4 files changed, 19 insertions, 0 deletions
diff --git a/app/src/main/res/layout/fragment_crash_reports.xml b/app/src/main/res/layout/fragment_crash_reports.xml
new file mode 100644
index 00000000..bc87d22c
--- /dev/null
+++ b/app/src/main/res/layout/fragment_crash_reports.xml
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="utf-8"?>
+<androidx.recyclerview.widget.RecyclerView xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:tools="http://schemas.android.com/tools"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ tools:context=".settings.CrashReportsFragment" /> \ No newline at end of file
diff --git a/app/src/main/res/layout/item_crash_report.xml b/app/src/main/res/layout/item_crash_report.xml
new file mode 100644
index 00000000..8b5051ce
--- /dev/null
+++ b/app/src/main/res/layout/item_crash_report.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="utf-8"?>
+<TextView
+ xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:paddingStart="16dp"
+ android:paddingEnd="16dp"
+ android:textColor="?attr/primaryTextColor"
+ android:textSize="?attr/font_default" /> \ No newline at end of file
diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml
index f2c97761..496b787f 100644
--- a/app/src/main/res/values/strings.xml
+++ b/app/src/main/res/values/strings.xml
@@ -556,6 +556,7 @@
<string name="settings_hide_favorite_subreddits_sections_title">Hide Favorite Subreddits Section</string>
<string name="settings_hide_subscribed_subreddits_sections_title">Hide Subscribed Subreddits Section</string>
<string name="settings_default_search_result_tab">Default Search Result Tab</string>
+ <string name="settings_crash_reports_title">Crash Reports</string>
<string name="no_link_available">Cannot get the link</string>
diff --git a/app/src/main/res/xml/advanced_preferences.xml b/app/src/main/res/xml/advanced_preferences.xml
index 0ddef34d..3bc0ce77 100644
--- a/app/src/main/res/xml/advanced_preferences.xml
+++ b/app/src/main/res/xml/advanced_preferences.xml
@@ -46,4 +46,8 @@
app:key="restore_settings"
app:title="@string/settings_restore_settings_title" />
+ <Preference
+ app:title="@string/settings_crash_reports_title"
+ app:fragment="ml.docilealligator.infinityforreddit.settings.CrashReportsFragment" />
+
</PreferenceScreen> \ No newline at end of file