diff options
author | Alex Ning <chineseperson5@gmail.com> | 2020-07-08 04:32:49 +0000 |
---|---|---|
committer | Alex Ning <chineseperson5@gmail.com> | 2020-07-08 04:32:49 +0000 |
commit | 318b11da01ad843ad63d82b4ac87eb1eaa84b9dc (patch) | |
tree | e4cd0a2a589fe8a7425b4a1159e7b7c0be4f10b2 /app/src/main/res | |
parent | 406d82ef52134fd460de5d88278fc131921acef5 (diff) | |
download | infinity-for-reddit-318b11da01ad843ad63d82b4ac87eb1eaa84b9dc.tar infinity-for-reddit-318b11da01ad843ad63d82b4ac87eb1eaa84b9dc.tar.gz infinity-for-reddit-318b11da01ad843ad63d82b4ac87eb1eaa84b9dc.tar.bz2 infinity-for-reddit-318b11da01ad843ad63d82b4ac87eb1eaa84b9dc.tar.lz infinity-for-reddit-318b11da01ad843ad63d82b4ac87eb1eaa84b9dc.tar.xz infinity-for-reddit-318b11da01ad843ad63d82b4ac87eb1eaa84b9dc.tar.zst infinity-for-reddit-318b11da01ad843ad63d82b4ac87eb1eaa84b9dc.zip |
View crash reports in Settings -> About -> Crash Reports.
Diffstat (limited to 'app/src/main/res')
-rw-r--r-- | app/src/main/res/layout/fragment_acknowledgement.xml | 2 | ||||
-rw-r--r-- | app/src/main/res/layout/fragment_crash_reports.xml | 6 | ||||
-rw-r--r-- | app/src/main/res/layout/item_crash_report.xml | 8 | ||||
-rw-r--r-- | app/src/main/res/values/strings.xml | 4 | ||||
-rw-r--r-- | app/src/main/res/xml/about_preferences.xml | 5 |
5 files changed, 24 insertions, 1 deletions
diff --git a/app/src/main/res/layout/fragment_acknowledgement.xml b/app/src/main/res/layout/fragment_acknowledgement.xml index b6d17db9..716c69e8 100644 --- a/app/src/main/res/layout/fragment_acknowledgement.xml +++ b/app/src/main/res/layout/fragment_acknowledgement.xml @@ -3,4 +3,4 @@ android:layout_width="match_parent" android:layout_height="match_parent" android:id="@+id/recycler_view_acknowledgement_fragment" - tools:context="ml.docilealligator.infinityforreddit.Settings.AcknowledgementFragment"/> + tools:context="ml.docilealligator.infinityforreddit.Settings.AcknowledgementFragment" /> 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..2c768908 --- /dev/null +++ b/app/src/main/res/layout/fragment_crash_reports.xml @@ -0,0 +1,6 @@ +<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" + android:id="@+id/recycler_view_crash_reports_fragment" + tools:context="ml.docilealligator.infinityforreddit.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..e8b46fd6 --- /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:textColor="?attr/primaryTextColor" + android:textSize="?attr/font_16" + android:fontFamily="?attr/font_family" />
\ 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 0f53debb..23c3e314 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -425,6 +425,8 @@ <string name="settings_share_title">Share</string> <string name="settings_share_summary">Share this app to other people if you enjoy it</string> <string name="settings_version_title">Infinity For Reddit</string> + <string name="settings_crash_reports_title">Crash Reports</string> + <string name="settings_crash_reports_summary">See the error logs and send them to me when you report bugs</string> <string name="settings_version_summary">Version %s</string> <string name="settings_category_customization_title">Customization</string> <string name="settings_customize_light_theme_title">Light Theme</string> @@ -828,5 +830,7 @@ <string name="load_video_in_redgifs">Try loading the video on Redgifs</string> <string name="top_score">%1$s pts</string> + <!-- TODO: Remove or change this placeholder text --> + <string name="hello_blank_fragment">Hello blank fragment</string> </resources> diff --git a/app/src/main/res/xml/about_preferences.xml b/app/src/main/res/xml/about_preferences.xml index a73f9aaa..6561eec3 100644 --- a/app/src/main/res/xml/about_preferences.xml +++ b/app/src/main/res/xml/about_preferences.xml @@ -46,6 +46,11 @@ app:summary="@string/settings_share_summary" /> <Preference + app:title="@string/settings_crash_reports_title" + app:summary="@string/settings_crash_reports_summary" + app:fragment="ml.docilealligator.infinityforreddit.Settings.CrashReportsFragment" /> + + <Preference android:key="version" app:title="@string/settings_version_title" app:summary="@string/settings_version_summary" /> |