[2/2] OmniGears: Screenshot Crop & Share
Change-Id: Ia39b0b253c81b558b56f1cac1b122d0e22b193e0
diff --git a/res/values/custom_strings.xml b/res/values/custom_strings.xml
index 2424d04..e561fc5 100644
--- a/res/values/custom_strings.xml
+++ b/res/values/custom_strings.xml
@@ -326,5 +326,10 @@
<string name="global_actions_summary">Actions shown in power menu</string>
<string name="global_actions_header">Some actions are only visible depending on the setup or only if the device is unlocked</string>
- <string name="font_sample_text">11:57</string>
+ <string name="font_sample_text">11:57</string>
+
+ <string name="screenshot_crop_and_share_title">Screenshot crop & share</string>
+ <string name="screenshot_crop_and_share_summary">Show an editor window after taking a screenshot in order to do some operations like cropping, saving or sharing it</string>
+ <!--<string name="screenshot_crop_behavior_title"></string>
+ <string name="screenshot_crop_behavior_summary"></string>-->
</resources>
diff --git a/res/xml/button_settings.xml b/res/xml/button_settings.xml
index 9aec1fb..63511bb 100644
--- a/res/xml/button_settings.xml
+++ b/res/xml/button_settings.xml
@@ -272,6 +272,13 @@
android:entryValues="@array/button_back_kill_timeout_values"
android:persistent="false"
android:dependency="button_back_kill_enable"/>
+
+ <PreferenceScreen
+ android:key="global_actions"
+ android:title="@string/global_actions_title"
+ android:summary="@string/global_actions_summary"
+ android:fragment="org.omnirom.omnigears.interfacesettings.GlobalActionsSettings" />
+
</PreferenceCategory>
<!-- <PreferenceCategory
diff --git a/res/xml/more_interface_settings.xml b/res/xml/more_interface_settings.xml
index 026bdca..9d9577a 100644
--- a/res/xml/more_interface_settings.xml
+++ b/res/xml/more_interface_settings.xml
@@ -80,12 +80,17 @@
android:summary="@string/dashboard_divider_show_summary"
android:defaultValue="true" />
- <PreferenceScreen
- android:key="global_actions"
- android:title="@string/global_actions_title"
- android:summary="@string/global_actions_summary"
- android:fragment="org.omnirom.omnigears.interfacesettings.GlobalActionsSettings" />
+ <com.android.settings.preference.SystemCheckBoxPreference
+ android:key="screenshot_crop_and_share"
+ android:title="@string/screenshot_crop_and_share_title"
+ android:summary="@string/screenshot_crop_and_share_summary"
+ android:defaultValue="false" />
+ <!--<com.android.settings.preference.SystemCheckBoxPreference
+ android:key="screenshot_crop_behavior"
+ android:title="@string/screenshot_crop_behavior_title"
+ android:summary="@string/screenshot_crop_behavior_summary"
+ android:defaultValue="false" />-->
</PreferenceCategory>
</PreferenceScreen>