diff options
author | Hung-ying Tyan <tyanh@google.com> | 2010-12-08 12:59:50 +0800 |
---|---|---|
committer | Hung-ying Tyan <tyanh@google.com> | 2010-12-08 14:39:51 +0800 |
commit | 5030bd7b700869feb50083571a680fa55730229b (patch) | |
tree | f78f7d4ee46f30758393ee5ef6c30b465020d2fa /res/drawable-xlarge/btn_zoom_out.xml | |
parent | 68c7128fb60ed5b83f7af13c02111b079218879a (diff) | |
download | LegacyCamera-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/btn_zoom_out.xml')
-rw-r--r-- | res/drawable-xlarge/btn_zoom_out.xml | 1 |
1 files changed, 1 insertions, 0 deletions
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> |