diff options
author | Christian Schneppe <christian@pix-art.de> | 2016-11-19 22:50:12 +0100 |
---|---|---|
committer | Christian Schneppe <christian@pix-art.de> | 2016-11-19 22:50:12 +0100 |
commit | 82c15b653c3902a144000079911d69e9b6ce33e0 (patch) | |
tree | 324933be899871debda3692b9b6b34660a46512a /src/main/res/xml/preferences.xml | |
parent | 508e5b589f3e9b8b5208d322b9ff9dc9fff8056a (diff) |
set preference switch to enable, disable or do automatic video compression
automatic = SDK >= Lollipop & video size >= 10 MB (default)
never = never compress videos
always = SDK >= Lollipop
Diffstat (limited to '')
-rw-r--r-- | src/main/res/xml/preferences.xml | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/main/res/xml/preferences.xml b/src/main/res/xml/preferences.xml index 971dd1b2e..d88df7d38 100644 --- a/src/main/res/xml/preferences.xml +++ b/src/main/res/xml/preferences.xml @@ -115,6 +115,13 @@ android:key="picture_compression" android:summary="@string/pref_picture_compression_summary" android:title="@string/pref_picture_compression" /> + <ListPreference + android:defaultValue="auto" + android:entries="@array/video_compression_entries" + android:entryValues="@array/video_compression_values" + android:key="video_compression" + android:summary="@string/pref_video_compression_summary" + android:title="@string/pref_video_compression" /> </PreferenceScreen> <!--status--> <PreferenceScreen @@ -264,5 +271,5 @@ android:icon="@drawable/ic_help_black_24dp" android:summary="@string/pref_about_conversations_summary" android:title="@string/title_activity_about" /> - + </PreferenceScreen> |