diff options
author | Owen Lin <owenlin@google.com> | 2009-07-30 09:46:16 +0800 |
---|---|---|
committer | Owen Lin <owenlin@google.com> | 2009-07-30 09:55:36 +0800 |
commit | 62f1a2287bcbc2a6928235f4e3cb8c8cefbbe6e4 (patch) | |
tree | c1e14214a4aeb620a042281b3a028f5a7218a701 /src/com/android/camera/ViewImage.java | |
parent | 012d0f38e1fd547436675257c5cd5c62928e2ed5 (diff) | |
download | LegacyCamera-62f1a2287bcbc2a6928235f4e3cb8c8cefbbe6e4.zip LegacyCamera-62f1a2287bcbc2a6928235f4e3cb8c8cefbbe6e4.tar.gz LegacyCamera-62f1a2287bcbc2a6928235f4e3cb8c8cefbbe6e4.tar.bz2 |
Revert "Use revised zoom widget, on the right in Gallery."
Diffstat (limited to 'src/com/android/camera/ViewImage.java')
-rw-r--r-- | src/com/android/camera/ViewImage.java | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/src/com/android/camera/ViewImage.java b/src/com/android/camera/ViewImage.java index 6486d2d..bab65a4 100644 --- a/src/com/android/camera/ViewImage.java +++ b/src/com/android/camera/ViewImage.java @@ -33,19 +33,16 @@ import android.provider.MediaStore; import android.util.AttributeSet; import android.util.Log; import android.view.GestureDetector; -import android.view.Gravity; import android.view.KeyEvent; import android.view.Menu; import android.view.MenuItem; import android.view.MotionEvent; import android.view.View; -import android.view.ViewGroup; import android.view.Window; import android.view.WindowManager; import android.view.animation.AlphaAnimation; import android.view.animation.Animation; import android.view.animation.AnimationUtils; -import android.widget.FrameLayout; import android.widget.Toast; import android.widget.ZoomButtonsController; @@ -263,15 +260,6 @@ public class ViewImage extends Activity implements View.OnClickListener { mZoomButtonsController = new ZoomButtonsController(rootView); mZoomButtonsController.setAutoDismissed(false); mZoomButtonsController.setZoomSpeed(100); - - View controls = mZoomButtonsController.getZoomControls(); - ViewGroup.LayoutParams params = controls.getLayoutParams(); - if (params instanceof FrameLayout.LayoutParams) { - FrameLayout.LayoutParams frameParams = - (FrameLayout.LayoutParams) params; - frameParams.gravity = Gravity.RIGHT; - } - mZoomButtonsController.setOnZoomListener( new ZoomButtonsController.OnZoomListener() { public void onVisibilityChanged(boolean visible) { |