diff options
author | Likai Ding <likaid@codeaurora.org> | 2015-08-21 22:36:03 +0800 |
---|---|---|
committer | Likai Ding <likaid@codeaurora.org> | 2015-08-21 22:36:03 +0800 |
commit | 619f8731438891af6ad9617fef568e1466aa0dd6 (patch) | |
tree | 5c398fc125106cd6275bb07b241fe87d06109ebd /res/drawable | |
parent | 17f3dcbb3faf9d9378899e5f4b0b0042834bf26a (diff) | |
download | android_packages_apps_Snap-619f8731438891af6ad9617fef568e1466aa0dd6.tar.gz android_packages_apps_Snap-619f8731438891af6ad9617fef568e1466aa0dd6.tar.bz2 android_packages_apps_Snap-619f8731438891af6ad9617fef568e1466aa0dd6.zip |
SnapdragonCamera: add button border
Add border for "All in Focus" button. Also some tweaks to meet UI
spec.
Change-Id: I56c458a420e503321cc9a3255a7dd4ae0a6d4637
Diffstat (limited to 'res/drawable')
-rw-r--r-- | res/drawable/refocus_button_disable.xml | 35 | ||||
-rw-r--r-- | res/drawable/refocus_button_enable.xml | 35 |
2 files changed, 70 insertions, 0 deletions
diff --git a/res/drawable/refocus_button_disable.xml b/res/drawable/refocus_button_disable.xml new file mode 100644 index 000000000..bae9d9ff7 --- /dev/null +++ b/res/drawable/refocus_button_disable.xml @@ -0,0 +1,35 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- +Copyright (c) 2015, 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. +--> +<shape xmlns:android="http://schemas.android.com/apk/res/android" + android:shape="rectangle"> + <stroke + android:width="1dp" + android:color="#ffffff" /> +</shape> diff --git a/res/drawable/refocus_button_enable.xml b/res/drawable/refocus_button_enable.xml new file mode 100644 index 000000000..081dd898b --- /dev/null +++ b/res/drawable/refocus_button_enable.xml @@ -0,0 +1,35 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- +Copyright (c) 2015, 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. +--> +<shape xmlns:android="http://schemas.android.com/apk/res/android" + android:shape="rectangle"> + <stroke + android:width="1dp" + android:color="#29b6f6" /> +</shape> |