aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/res
diff options
context:
space:
mode:
authorChristian Schneppe <christian@pix-art.de>2017-03-24 18:17:05 +0100
committerChristian Schneppe <christian@pix-art.de>2017-03-24 18:17:05 +0100
commite2da73cf6faaa4f292df1852140b95d84728d038 (patch)
treefa04a9611111cc6c5b98a3f9b146f6610b323139 /src/main/res
parent0e15f9f4b39db73b3bd733577bd3872f3f95d95c (diff)
make auto media rotation in fullscreen configurable
Diffstat (limited to '')
-rw-r--r--src/main/res/values/strings.xml2
-rw-r--r--src/main/res/xml/preferences.xml5
2 files changed, 7 insertions, 0 deletions
diff --git a/src/main/res/values/strings.xml b/src/main/res/values/strings.xml
index 3b14c23a4..526f92c80 100644
--- a/src/main/res/values/strings.xml
+++ b/src/main/res/values/strings.xml
@@ -759,4 +759,6 @@
<string name="presence_offline">Offline</string>
<string name="block_stranger">Block stranger</string>
<string name="block_entire_domain">Block entire domain</string>
+ <string name="pref_use_auto_rotate_summary">Rotate images and videos in fullscreen to fit screensize</string>
+ <string name="pref_use_auto_rotate">rotate media in fullscreen</string>
</resources>
diff --git a/src/main/res/xml/preferences.xml b/src/main/res/xml/preferences.xml
index 70b28c999..dd5dab37d 100644
--- a/src/main/res/xml/preferences.xml
+++ b/src/main/res/xml/preferences.xml
@@ -33,6 +33,11 @@
android:key="use_max_brightness"
android:summary="@string/pref_use_max_brightness_summary"
android:title="@string/pref_use_max_brightness" />
+ <CheckBoxPreference
+ android:defaultValue="true"
+ android:key="use_auto_rotate"
+ android:summary="@string/pref_use_auto_rotate_summary"
+ android:title="@string/pref_use_auto_rotate" />
</PreferenceScreen>
<!--Notifications-->
<PreferenceScreen