summaryrefslogtreecommitdiffstats
path: root/res/layout-land
diff options
context:
space:
mode:
authorDoris Liu <tianliu@google.com>2013-06-24 11:30:24 -0700
committerDoris Liu <tianliu@google.com>2013-08-05 19:04:33 -0700
commitae7ef761a14a4f84b3a196fc0c71069c8fd3fa56 (patch)
tree339a46648189f43b23ca52d1ed7741d2b7f72b69 /res/layout-land
parent077e718ecb6eb07997ad7c458d38eb21b3b2e6f9 (diff)
downloadandroid_packages_apps_Gallery2-ae7ef761a14a4f84b3a196fc0c71069c8fd3fa56.tar.gz
android_packages_apps_Gallery2-ae7ef761a14a4f84b3a196fc0c71069c8fd3fa56.tar.bz2
android_packages_apps_Gallery2-ae7ef761a14a4f84b3a196fc0c71069c8fd3fa56.zip
Implement capture animation
Also fix the thumb view by using real jpeg data rather than a preview frame Bug: 10074619 Change-Id: Ie38884b30977c350b2ca0e0671bd9f5b10d3681e
Diffstat (limited to 'res/layout-land')
-rw-r--r--res/layout-land/camera_controls.xml3
1 files changed, 2 insertions, 1 deletions
diff --git a/res/layout-land/camera_controls.xml b/res/layout-land/camera_controls.xml
index 432ae9ebd..d1772401e 100644
--- a/res/layout-land/camera_controls.xml
+++ b/res/layout-land/camera_controls.xml
@@ -59,11 +59,12 @@
android:scaleType="center"
android:src="@drawable/btn_new_shutter" />
- <View
+ <ImageView
android:id="@+id/preview_thumb"
android:visibility="invisible"
android:layout_width="@dimen/capture_size"
android:layout_height="@dimen/capture_size"
+ android:scaleType="centerInside"
android:layout_gravity="top|right" />
</com.android.camera.ui.CameraControls>