From e16b131e9303496e236a3152cb31d0cdfaad1dad Mon Sep 17 00:00:00 2001 From: Jesse Chan Date: Sun, 17 May 2020 22:43:17 +0800 Subject: [PATCH] Cherish:Implement click to take partial screenshot [2/2] MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I187cb68947f6967e2993096108310648e1dc1b68 Signed-off-by: Jesse Chan Signed-off-by: Hưng Phan --- res/drawable/ic_partial_screenshot.xml | 7 +++++++ res/values/cherish_strings.xml | 3 +++ res/xml/cherish_settings_misc.xml | 7 +++++++ 3 files changed, 17 insertions(+) create mode 100644 res/drawable/ic_partial_screenshot.xml diff --git a/res/drawable/ic_partial_screenshot.xml b/res/drawable/ic_partial_screenshot.xml new file mode 100644 index 0000000..2a3eb67 --- /dev/null +++ b/res/drawable/ic_partial_screenshot.xml @@ -0,0 +1,7 @@ + + + \ No newline at end of file diff --git a/res/values/cherish_strings.xml b/res/values/cherish_strings.xml index f094d39..02ca748 100644 --- a/res/values/cherish_strings.xml +++ b/res/values/cherish_strings.xml @@ -726,4 +726,7 @@ Charging animation Display an animation when the device is plugged in + Click to partial screenshot + Short click Volume Down and Power to take partial screenshot + diff --git a/res/xml/cherish_settings_misc.xml b/res/xml/cherish_settings_misc.xml index 11122f4..dde60b5 100644 --- a/res/xml/cherish_settings_misc.xml +++ b/res/xml/cherish_settings_misc.xml @@ -49,6 +49,13 @@ android:title="@string/screenshot_type_title" android:defaultValue="0" /> + +