Hi Hari Edo,

You can view the effect I am doing in movie at following youtube link.

http://www.youtube.com/watch?v=TMaMpp8eg4s

It is on the left side a deck of cards when slide up or a fling action
happen they moves upward  at different angles and finally at one stage each
card gets straighten and at this point I have implemented a touch on that
specific card.

I'll study your suggestion and test it if it works.

Thanks & regards,
argongold


On Thu, Jan 20, 2011 at 8:22 PM, Hari Edo <[email protected]> wrote:

>
> It's not clear what effect you're doing, but you will probably need
> the inverse of the drawing transformation to determine the hits.
> That is, if the drawing transformation is dividing by Z for depth
> and perspective, the hit testing function should be multiplying by
> Z to put the touch coordinates back into the button's coordinate
> space.
>
> On Jan 20, 2:45 am, argongold <[email protected]> wrote:
> > Hi,
> >
> > I have developed a custom list with images and these images are
> > displayed with different Z distance ( in 3D) as well as custom x,y and
> > z angles for each image item.
> >
> > My problem is that when I hit an image on screen , the getHitRect()
> > returns a different image hit and not the actual on which I hit on
> > screen. Even though Images are not overlapping each other.
> >
> > Can any one suggest me how can I precisely get the hit of
> > corresponding image.
> >
> > Note. I am using Camera and Matrix classes and
> > getChildStaticTransformation() function to display the images.
> >
> > Thanks in advance .
> >
> > Regards,
> > argongold
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]<android-developers%[email protected]>
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to