diff options
author | Zhang Fang <zfang@codeaurora.org> | 2014-01-08 23:03:21 +0800 |
---|---|---|
committer | Adnan Begovic <adnan@cyngn.com> | 2015-10-29 17:36:29 -0700 |
commit | 853513841512a0fbf15dc22c7164a98d0a2de80b (patch) | |
tree | 69fb124b302ca8f5f96be0695df04764c9581190 /res/menu | |
parent | d4ebf3a59930db25be8296c88b40c3ee4330768f (diff) | |
download | packages_apps_Settings-853513841512a0fbf15dc22c7164a98d0a2de80b.zip packages_apps_Settings-853513841512a0fbf15dc22c7164a98d0a2de80b.tar.gz packages_apps_Settings-853513841512a0fbf15dc22c7164a98d0a2de80b.tar.bz2 |
Settings: Add screen color settings
Add "Screen Color" item in settings.
This function support set Hue, Saturation, Contrast and Intensity value,
and screen color will be changed by this settings.
Change-Id: If6f6e7ee7f28862476a8b955cd3252175fefa2a1
Settings : Fix CustomScreenColor when picking an image
Change-Id: I510b562eb0e9fb9b558380db5c5d6e818ba17d12
Settings: Start service as explicit intent
Needed for API level 21. Add some ressource bits, set text color to
white.
Change-Id: I9c4a9139be69fa5c6d6c74055b5475f0d930c93a
Diffstat (limited to 'res/menu')
-rw-r--r-- | res/menu/screencolor_more.xml | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/res/menu/screencolor_more.xml b/res/menu/screencolor_more.xml new file mode 100644 index 0000000..dc914b4 --- /dev/null +++ b/res/menu/screencolor_more.xml @@ -0,0 +1,46 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- + Copyright (c) 2014, The Linux Foundation. All Rights Reserved. +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are +met: + * Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above + copyright notice, this list of conditions and the following + disclaimer in the documentation and/or other materials provided + with the distribution. + * Neither the name of The Linux Foundation nor the names of its + contributors may be used to endorse or promote products derived + from this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED +WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS +BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR +BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE +OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +--> +<menu xmlns:android="http://schemas.android.com/apk/res/android"> + <item + android:id="@+id/restore_preview" + android:title="@string/restore_preview" + /> + <item + android:id="@+id/selectnewfile_menu" + android:title="@string/selectnewfile_menu" + /> + <item + android:id="@+id/selectfile_menu" + android:title="@string/selectfile_menu" + /> + <item + android:id="@+id/restore_default_str" + android:title="@string/restore_default_str" + /> +</menu> |