diff options
author | Hung-ying Tyan <tyanh@google.com> | 2010-12-09 20:35:11 +0800 |
---|---|---|
committer | Hung-ying Tyan <tyanh@google.com> | 2010-12-09 23:27:49 +0800 |
commit | e9fdf5971bae4ebd6c0afe452da0b4e1be79aabb (patch) | |
tree | b8d966191f2f8f59972128ce5bad727d8e71cbb9 /res | |
parent | 587ed2356a337e809095ae44f22b5e85aad54583 (diff) | |
download | packages_apps_LegacyCamera-e9fdf5971bae4ebd6c0afe452da0b4e1be79aabb.zip packages_apps_LegacyCamera-e9fdf5971bae4ebd6c0afe452da0b4e1be79aabb.tar.gz packages_apps_LegacyCamera-e9fdf5971bae4ebd6c0afe452da0b4e1be79aabb.tar.bz2 |
Disable camera/zoom pickers in photo picker mode.
The pickers should be disabled after a photo is taken and re-enabled when
the re-take button is clicked.
Bug: 3258859 (partially; this CL does not cover the settings on the wheel.)
Change-Id: I517728eb84ca6c947f268d58418188475051ab27
Diffstat (limited to 'res')
-rw-r--r-- | res/drawable/camera_toggle.xml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/res/drawable/camera_toggle.xml b/res/drawable/camera_toggle.xml index df5b71e..db56e5e 100644 --- a/res/drawable/camera_toggle.xml +++ b/res/drawable/camera_toggle.xml @@ -16,6 +16,7 @@ <selector xmlns:android="http://schemas.android.com/apk/res/android"> <item android:state_pressed="true" android:drawable="@drawable/ic_rotate_camera_pressed_holo_dark" /> + <item android:state_enabled="false" android:drawable="@drawable/ic_rotate_camera_pressed_holo_dark" /> <item android:drawable="@drawable/ic_rotate_camera_holo_dark" /> </selector> |