summaryrefslogtreecommitdiffstats
path: root/res/drawable-xlarge
diff options
context:
space:
mode:
authorHung-ying Tyan <tyanh@google.com>2010-12-08 12:59:50 +0800
committerHung-ying Tyan <tyanh@google.com>2010-12-08 14:39:51 +0800
commit5030bd7b700869feb50083571a680fa55730229b (patch)
treef78f7d4ee46f30758393ee5ef6c30b465020d2fa /res/drawable-xlarge
parent68c7128fb60ed5b83f7af13c02111b079218879a (diff)
downloadLegacyCamera-5030bd7b700869feb50083571a680fa55730229b.zip
LegacyCamera-5030bd7b700869feb50083571a680fa55730229b.tar.gz
LegacyCamera-5030bd7b700869feb50083571a680fa55730229b.tar.bz2
Disable camera zoom control in video mode
instead of removing, and other fixes. + Add images for disabled state. + Remove zoom stub. + In ZoomPicker, increase transition period from pressed to long pressed state to 300ms. 200ms is too short for single press and showing images in pressed state. + In ZoomPicker, restore image to state list instead of normal-state image. Bug: 3252995 Change-Id: Id9484d6e0580c023671cf96e60a099512075f656
Diffstat (limited to 'res/drawable-xlarge')
-rw-r--r--res/drawable-xlarge/btn_zoom_in.xml1
-rw-r--r--res/drawable-xlarge/btn_zoom_out.xml1
2 files changed, 2 insertions, 0 deletions
diff --git a/res/drawable-xlarge/btn_zoom_in.xml b/res/drawable-xlarge/btn_zoom_in.xml
index 1ae7aeb..d798b5a 100644
--- a/res/drawable-xlarge/btn_zoom_in.xml
+++ b/res/drawable-xlarge/btn_zoom_in.xml
@@ -16,5 +16,6 @@
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:state_pressed="true" android:drawable="@drawable/button_zoom_in_pressed_holo" />
+ <item android:state_enabled="false" android:drawable="@drawable/button_zoom_in_disabled_holo" />
<item android:drawable="@drawable/button_zoom_in_holo" />
</selector>
diff --git a/res/drawable-xlarge/btn_zoom_out.xml b/res/drawable-xlarge/btn_zoom_out.xml
index 92370c1..925327d 100644
--- a/res/drawable-xlarge/btn_zoom_out.xml
+++ b/res/drawable-xlarge/btn_zoom_out.xml
@@ -16,5 +16,6 @@
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:state_pressed="true" android:drawable="@drawable/button_zoom_out_pressed_holo" />
+ <item android:state_enabled="false" android:drawable="@drawable/button_zoom_out_disabled_holo" />
<item android:drawable="@drawable/button_zoom_out_holo" />
</selector>