diff options
author | Andrew Dolgov <[email protected]> | 2019-08-12 19:19:25 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2019-08-12 19:19:25 +0300 |
commit | f61bde19f54b95a9676b7dc2b398b9d4f7dca115 (patch) | |
tree | b79d1107827ac3c26fe8277ea283ed25816d4230 /org.fox.ttrss/src/main/res | |
parent | 9b99e94c9d363d3689021e19358f1a7f3135b51f (diff) |
add prefs options for image downsampling
Diffstat (limited to 'org.fox.ttrss/src/main/res')
-rwxr-xr-x | org.fox.ttrss/src/main/res/values/strings.xml | 2 | ||||
-rwxr-xr-x | org.fox.ttrss/src/main/res/xml/preferences.xml | 6 |
2 files changed, 8 insertions, 0 deletions
diff --git a/org.fox.ttrss/src/main/res/values/strings.xml b/org.fox.ttrss/src/main/res/values/strings.xml index 56bc64c0..b73a3394 100755 --- a/org.fox.ttrss/src/main/res/values/strings.xml +++ b/org.fox.ttrss/src/main/res/values/strings.xml @@ -277,4 +277,6 @@ <string name="prefs_headline_images_wifi_only">Show images on Wi-Fi only</string> <string name="prefs_headline_images_wifi_only_long">Overrides previous setting</string> <string name="prefs_inline_video_player">Experimental. Long tap to open separate player</string> + <string name="prefs_enable_image_downsampling">Auto-resize images</string> + <string name="prefs_enable_image_downsampling_long">Asks backend to downsample images if not on Wi-Fi. Needs a plugin (ttrss-api-resize).</string> </resources> diff --git a/org.fox.ttrss/src/main/res/xml/preferences.xml b/org.fox.ttrss/src/main/res/xml/preferences.xml index 40e327cf..f6f9b9bc 100755 --- a/org.fox.ttrss/src/main/res/xml/preferences.xml +++ b/org.fox.ttrss/src/main/res/xml/preferences.xml @@ -122,6 +122,12 @@ <org.fox.ttrss.util.LessBrokenSwitchPreference android:defaultValue="false" + android:key="enable_image_downsampling" + android:title="@string/prefs_enable_image_downsampling" + android:summary="@string/prefs_enable_image_downsampling_long" /> + + <org.fox.ttrss.util.LessBrokenSwitchPreference + android:defaultValue="false" android:key="inline_video_player" android:summary="@string/prefs_inline_video_player" android:title="Inline video player" /> |