summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDoris Liu <tianliu@google.com>2013-08-30 23:25:00 (GMT)
committerDoris Liu <tianliu@google.com>2013-08-30 23:25:00 (GMT)
commitde84c22cf14f8005002af473f19ff0244d520f6c (patch)
tree1a75e2a42030567fd07ba8ea4482ca55057743e3
parent8de13111cc4e62da3462ea321d18c7951282e0d0 (diff)
downloadandroid_packages_apps_Snap-de84c22cf14f8005002af473f19ff0244d520f6c.zip
android_packages_apps_Snap-de84c22cf14f8005002af473f19ff0244d520f6c.tar.gz
android_packages_apps_Snap-de84c22cf14f8005002af473f19ff0244d520f6c.tar.bz2
Measure all children to ensure correct layout position
Bug: 10412775 Change-Id: Ia64d6d4d0d023b208edb70066b4d4670e4ad2bbb
-rw-r--r--src/com/android/camera/ui/CameraControls.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/com/android/camera/ui/CameraControls.java b/src/com/android/camera/ui/CameraControls.java
index ed28139..d211f4e 100644
--- a/src/com/android/camera/ui/CameraControls.java
+++ b/src/com/android/camera/ui/CameraControls.java
@@ -37,10 +37,12 @@ public class CameraControls extends RotatableLayout {
public CameraControls(Context context, AttributeSet attrs) {
super(context, attrs);
+ setMeasureAllChildren(true);
}
public CameraControls(Context context) {
super(context);
+ setMeasureAllChildren(true);
}
@Override