the scaling for you:
@Override
public void draw(Canvas canvas) {
super.draw(canvas);
canvas.translate(dx, dy); //for dragging
canvas.scale(scale, scale,screenDim/2,screenDim/2); //zoom in and
zoom out
}
Jeff
Visit Trackaroo.com!
Trackmaster - Motorsports Lap Timer
Dynomaster - Performance Dyno
On Jul 28, 10:33 pm, Sohan badaya <sohan.bad...@gmail.com> wrote:
> Hi,
>
> Thanks for reply.
> But i think it is possible, because it is already done in Gallery
> application. When we click on any image in gallery, it zooms.
> But i don't have that code. If anyone have any idea, please help me.
>
> Thanks
> Sohan Badaya
>
> On Thu, Jul 29, 2010 at 12:56 AM, Loki117 <thomas.sheppar...@gmail.com>wrote:
>
>
>
> > hBase
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
No comments:
Post a Comment