diff options
author | Alex Ning <chineseperson5@gmail.com> | 2020-04-30 07:29:56 +0000 |
---|---|---|
committer | Alex Ning <chineseperson5@gmail.com> | 2020-04-30 07:29:56 +0000 |
commit | 4678caa92bad919201b53000e8d4100bf253c497 (patch) | |
tree | 4f8bc00995dd35881103083568f5e0caba500b53 /app/src/main/res/xml | |
parent | 5c053501192e0d9da87d7823c910e79d01cddafc (diff) | |
download | infinity-for-reddit-4678caa92bad919201b53000e8d4100bf253c497.tar infinity-for-reddit-4678caa92bad919201b53000e8d4100bf253c497.tar.gz infinity-for-reddit-4678caa92bad919201b53000e8d4100bf253c497.tar.bz2 infinity-for-reddit-4678caa92bad919201b53000e8d4100bf253c497.tar.lz infinity-for-reddit-4678caa92bad919201b53000e8d4100bf253c497.tar.xz infinity-for-reddit-4678caa92bad919201b53000e8d4100bf253c497.tar.zst infinity-for-reddit-4678caa92bad919201b53000e8d4100bf253c497.zip |
Add an option for video autoplay. Rewrite some viewholders in PostRecyclerViewAdapter.
Diffstat (limited to 'app/src/main/res/xml')
-rw-r--r-- | app/src/main/res/xml/main_preferences.xml | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/app/src/main/res/xml/main_preferences.xml b/app/src/main/res/xml/main_preferences.xml index 8622a87f..1074a90e 100644 --- a/app/src/main/res/xml/main_preferences.xml +++ b/app/src/main/res/xml/main_preferences.xml @@ -28,6 +28,14 @@ app:key="open_link_in_app" app:title="@string/settings_open_link_in_app_title" /> + <ListPreference + app:defaultValue="0" + android:entries="@array/settings_video_autoplay" + app:entryValues="@array/settings_video_autoplay_values" + app:key="video_autoplay" + app:title="@string/settings_video_autoplay_title" + app:useSimpleSummaryProvider="true" /> + <SwitchPreference app:defaultValue="false" app:key="mute_video" |