[android-developers] Re: how to create irregular polygon and handle events within its boundary
Processing a click in side a polygon can be difficult task.
There is another solution based on a bitmap where each clickable shape
has its own color.
I have described it in another thread, named "Overlay to make parts of
image clickable"
Let me know if something is not clear.
On Dec 27, 11:51 am, Achie <krishna.acha...@gmail.com> wrote:
> How can we create polygons with shapes other than the normal regular
> rectangle/circle etc? I need to create a image with boundaries and let
> users click within the image. Then I need to highlight the image.
>
> I also need to highlight the image only when the user clicks within
> the boundaries of the shape.
> How can I do this in android?
>
> Thank you.
--
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
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home