Question

I have an activity with two imageviews one on another(merged in xml). one is an image and the other is a transparent frame. so i wanted to zoom the image alone and not frame. How do i do that?

Was it helpful?

Solution 2

Creating a custom class extending imageview solved my problem. Following url has a tutorial that was helpful to me: [http://blog.sephiroth.it/2011/04/04/imageview-zoom-and-scroll/][1]

OTHER TIPS

There is no built-in support for that. You can probably achieve this effect yourself by drawing the text using the 2D graphics APIs (Canvas) and touch events. Or, intercept touch events on a TextView and change the font size of the text.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top