diff options
author | mingwax <mingwax@codeaurora.org> | 2017-05-11 11:18:11 +0800 |
---|---|---|
committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2017-08-29 19:26:04 -0700 |
commit | 7050adb7ff6c3eb1e7c7bbf3b3c332c41b20c677 (patch) | |
tree | 983df10c671b4b423db81a4d1a0d58eefa93508a /res/drawable/promode_manual.xml | |
parent | a5eb667e4f654501063ade99f2ce7ededed1515a (diff) | |
download | android_packages_apps_Snap-7050adb7ff6c3eb1e7c7bbf3b3c332c41b20c677.tar.gz android_packages_apps_Snap-7050adb7ff6c3eb1e7c7bbf3b3c332c41b20c677.tar.bz2 android_packages_apps_Snap-7050adb7ff6c3eb1e7c7bbf3b3c332c41b20c677.zip |
SnapdragonCamera: Fix UI Display confusion in ProMode
Refactoring the layout of pro_mode_layout.xml, optimizing layout
files, and reducing performace overhead.
CRs-Fixed: 2027214
Change-Id: I7005b5a38498b6867c0d6b971aef13fcd1359433
Diffstat (limited to 'res/drawable/promode_manual.xml')
-rw-r--r-- | res/drawable/promode_manual.xml | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/res/drawable/promode_manual.xml b/res/drawable/promode_manual.xml new file mode 100644 index 000000000..133b43180 --- /dev/null +++ b/res/drawable/promode_manual.xml @@ -0,0 +1,33 @@ +<?xml version="1.0" encoding="utf-8"?> +<!--Copyright (c) 2017, 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. + --> +<selector xmlns:android="http://schemas.android.com/apk/res/android"> + <item android:state_selected="true" android:state_pressed="false" + android:drawable="@drawable/icon_manual_blue" /> + <item android:drawable="@drawable/icon_manual" /> +</selector> |