Hello
i want user be able add button in page and resize and drag in app!
how do it ? xamarin android
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Ali M30 reputationPosted Aug 4, 2017, 8:04 AM EDT
Suthahar JegatheesanRank #162 · 14.5K reputationPosted Aug 22, 2017, 3:12 AM EDT
You need to implement OnTouchListener. Listen OnTouch events for the button and update the Layout of the button accordingly in Move Event .
Refer here for more details
https://developer.xamarin.com/recipes/android/other_ux/gestures/detect_a_touch/
http://pumpingco.de/adding-drag-and-drop-to-your-android-application-with-xamarin/
I believe this will help you ,if any please reply same
Thanks
Suthahar.J
Gokhul VarmanRank #1,505 · 1.1K reputationPosted Aug 4, 2017, 7:45 AM EDT