1

Hi I have a one LinearLayout that would be contain some other views. I would like to have the ability to zoomIn and zoomOut(ONLY HORIZONTAL ZOOM OUT/IN) on the actual LinearLayout as a whole. Is there a way to do that?

Here am use screen shorts once look at this.

1)This IS general Image

enter image description here

NOTE: Without Effecting remaining viws

NagarjunaReddy
  • 8,591
  • 10
  • 62
  • 96

1 Answers1

2

On touch zoom of View is described in documentation. And if you like zoom on gesture, i think this post be useful.

Community
  • 1
  • 1
anil
  • 1,981
  • 19
  • 35
  • ZoomView is FrameLayout, you can use it instead of LinearLayout: https://github.com/Polidea/android-zoom-view or scale in OnDraw just in this sample: http://stackoverflow.com/questions/5216658/pinch-zoom-for-custom-view – anil Jun 20 '14 at 05:54