1

I have an Activity in which I have several EditTexts and MapFragment , etc. The XML of this activity is a ScrollView. How could I do so that when the user make a long click on the map ( to fix its position) the scroll stop working, and once again done this work? Thank you.

Jan Kundrát
  • 3,700
  • 1
  • 18
  • 29
Rafa
  • 21
  • 6

1 Answers1

0

You have first to check for the click on the map, so set an onClickListener on the Map. Trigger a countdown of 10 sec in this listener. Then i recommand you to implement your Custom ScrollView like this answer shows.

Community
  • 1
  • 1
Amesys
  • 816
  • 2
  • 10
  • 19