Issue
In my application, I would like to add zoom functionality to my views. Like in an activity I am displaying LinearLayout
etc. But as of now what I know a view can be zoomed in only in WebView
and not in normal view. After all what I want is to zoom in/zoom out feature similar to WebView
in my normal views.
Thanks in advance.
Solution
Construct a Custom Layout extending Liner Layout or any other. Override its onDraw function and and provide zooming functionality manually. There are many example at SO for zooming. You can follow them.. This might help:
How to apply pinch zoom on Gallery in android?
Answered By - Awais Tariq
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.