aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res/xml
diff options
context:
space:
mode:
authorAlex Ning <chineseperson5@gmail.com>2020-07-08 14:19:08 +0000
committerAlex Ning <chineseperson5@gmail.com>2020-07-08 14:19:08 +0000
commit6f34d854ea7552fadd9b22e934b45cd86ebc162b (patch)
tree9b4c28f6f344d6b9ccf2a277e19d0f05fb7999eb /app/src/main/res/xml
parent318b11da01ad843ad63d82b4ac87eb1eaa84b9dc (diff)
downloadinfinity-for-reddit-6f34d854ea7552fadd9b22e934b45cd86ebc162b.tar
infinity-for-reddit-6f34d854ea7552fadd9b22e934b45cd86ebc162b.tar.gz
infinity-for-reddit-6f34d854ea7552fadd9b22e934b45cd86ebc162b.tar.bz2
infinity-for-reddit-6f34d854ea7552fadd9b22e934b45cd86ebc162b.tar.lz
infinity-for-reddit-6f34d854ea7552fadd9b22e934b45cd86ebc162b.tar.xz
infinity-for-reddit-6f34d854ea7552fadd9b22e934b45cd86ebc162b.tar.zst
infinity-for-reddit-6f34d854ea7552fadd9b22e934b45cd86ebc162b.zip
Setting autoplay videos visible area offset is available. Remove Crashy because it will crash on some devices, such as Pixel Slate.
Diffstat (limited to 'app/src/main/res/xml')
-rw-r--r--app/src/main/res/xml/about_preferences.xml5
-rw-r--r--app/src/main/res/xml/video_preferences.xml14
2 files changed, 14 insertions, 5 deletions
diff --git a/app/src/main/res/xml/about_preferences.xml b/app/src/main/res/xml/about_preferences.xml
index 6561eec3..a73f9aaa 100644
--- a/app/src/main/res/xml/about_preferences.xml
+++ b/app/src/main/res/xml/about_preferences.xml
@@ -46,11 +46,6 @@
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" />
diff --git a/app/src/main/res/xml/video_preferences.xml b/app/src/main/res/xml/video_preferences.xml
index bb690347..e570c478 100644
--- a/app/src/main/res/xml/video_preferences.xml
+++ b/app/src/main/res/xml/video_preferences.xml
@@ -35,4 +35,18 @@
app:key="autoplay_nsfw_videos"
app:title="@string/settings_autoplay_nsfw_videos_title" />
+ <SeekBarPreference
+ app:defaultValue="75"
+ android:max="100"
+ app:key="start_autoplay_visible_area_offset_portrait"
+ app:title="@string/settings_start_autoplay_visible_area_offset_portrait_title"
+ app:singleLineTitle="false" />
+
+ <SeekBarPreference
+ app:defaultValue="50"
+ android:max="100"
+ app:key="start_autoplay_visible_area_offset_landscape"
+ app:title="@string/settings_start_autoplay_visible_area_offset_landscape_title"
+ app:singleLineTitle="false" />
+
</PreferenceScreen> \ No newline at end of file