0

I want to create a scrollable map and trigger different actions when the user touches a different areas.

With iPhone, it was easy by putting buttons on top of the image. How do I do it in Android?

I used a custom view to enable scrolling in both directions. Now how do I make different parts of the image trigger different events on click?

Rohith Nandakumar
  • 11,367
  • 11
  • 50
  • 60

1 Answers1

1

Some idea: You could try to use some ImageButtons. Just chop your picture in four parts. See: http://developer.android.com/reference/android/widget/ImageButton.html

Mark
  • 7,507
  • 12
  • 52
  • 88