From fe370991104ad90b0656d5cc897171cb5cb8780b Mon Sep 17 00:00:00 2001 From: Chung-yih Wang Date: Sat, 3 Sep 2011 11:27:50 +0800 Subject: Fix the draw/layout before initialization. bug:5246857 Change-Id: I8aa96a744cbff414f38e7c886a613cf2c9c7922e --- src/com/android/camera/ui/ZoomControl.java | 3 --- 1 file changed, 3 deletions(-) (limited to 'src/com/android/camera/ui/ZoomControl.java') diff --git a/src/com/android/camera/ui/ZoomControl.java b/src/com/android/camera/ui/ZoomControl.java index 0c8a765..6ab2573 100644 --- a/src/com/android/camera/ui/ZoomControl.java +++ b/src/com/android/camera/ui/ZoomControl.java @@ -80,9 +80,6 @@ public abstract class ZoomControl extends RelativeLayout { public ZoomControl(Context context, AttributeSet attrs) { super(context, attrs); - } - - public void initialize(Context context) { mZoomIn = addImageView(context, R.drawable.ic_zoom_in_holo_light); mZoomSlider = addImageView(context, R.drawable.btn_zoom_slider); mZoomOut = addImageView(context, R.drawable.ic_zoom_out_holo_light); -- cgit v1.1