From f917bdda96e6a5198283e8c50489b8839e1caf0b Mon Sep 17 00:00:00 2001 From: Alex Cruz Date: Thu, 13 Sep 2018 21:34:08 +0530 Subject: [PATCH] Cherish:Optional screenshot type [1/2] MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Hưng Phan --- res/values/cherish_arrays.xml | 11 +++++++++++ res/values/cherish_strings.xml | 7 +++++++ res/xml/cherish_settings_misc.xml | 8 ++++++++ src/com/cherish/settings/fragments/MiscSettings.java | 2 +- 4 files changed, 27 insertions(+), 1 deletion(-) diff --git a/res/values/cherish_arrays.xml b/res/values/cherish_arrays.xml index 6882e26..147130a 100644 --- a/res/values/cherish_arrays.xml +++ b/res/values/cherish_arrays.xml @@ -278,4 +278,15 @@ 0 1 + + + + @string/screenshot_type_fullscreen + @string/screenshot_type_partial + + + + 0 + 1 + diff --git a/res/values/cherish_strings.xml b/res/values/cherish_strings.xml index 776e199..3164bfa 100644 --- a/res/values/cherish_strings.xml +++ b/res/values/cherish_strings.xml @@ -368,4 +368,11 @@ Horizontal Vertical Fonts + + + Screenshot type + Take fullscreen screenshots + Drag selection on the area you want to take as a screenshot + Screenshot options + Customize screenshot attributes like time, delay,type etc diff --git a/res/xml/cherish_settings_misc.xml b/res/xml/cherish_settings_misc.xml index 1d329ad..7e493dc 100644 --- a/res/xml/cherish_settings_misc.xml +++ b/res/xml/cherish_settings_misc.xml @@ -24,4 +24,12 @@ android:title="@string/wakeup_when_plugged_unplugged_title" android:summary="@string/wakeup_when_plugged_unplugged_summary" android:defaultValue="true" /> + + diff --git a/src/com/cherish/settings/fragments/MiscSettings.java b/src/com/cherish/settings/fragments/MiscSettings.java index cb450a4..c5b7658 100644 --- a/src/com/cherish/settings/fragments/MiscSettings.java +++ b/src/com/cherish/settings/fragments/MiscSettings.java @@ -30,7 +30,7 @@ import java.util.HashSet; import com.android.settings.SettingsPreferenceFragment; import com.cherish.settings.preferences.SystemSettingMasterSwitchPreference; - +import com.cherish.settings.preferences.SystemSettingListPreference public class MiscSettings extends SettingsPreferenceFragment implements OnPreferenceChangeListener {