You need to scale your hit areas to match the canvas scaling. If you zoom in 2x on the canvas your hit area is now twice the size likewise if you zoomed out 2x then your hit area is half the size.
On May 11, 2:52 pm, Jonathan <[email protected]> wrote: > I am scaling the canvas of a linear layout on draw, but this throws > off all the hit areas of my views inside of this layout. They respond > as if there was no scaling taking place. What do I have to do to get > themselves to re-register their hit areas? > > Thanks > > Jonathan > > -- > 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 > athttp://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

