"Android" human body pictures, map pictures, thermal map, how to achieve the click on different parts to perform different operations?

Source: Internet
Author: User
How does Android add a click event to each part of a picture or images?

1, If you are not a lot of words can be the entire UI with the GridView and then through the GridView Pointtoposition method to obtain this item

2, can be added to the picture in the linerlayout through the coordinates after the judge is that part

3, rewrite ImageView http://snowcoal.com/article/520.html

4, Android image area click (Image Hot Zone), image hot Zone click on the second (Boundary Bounce, zoom, move)

5, write a method of their own, the background map cut Cheng N block (as to how much to see your own specific situation), and then line up. Put a few more buttons on the specified piece.

"Android" human body pictures, map pictures, thermal map, how to achieve the click on different parts to perform different operations?

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.