i´m new in android development. want create game user needs drag , drop balls finger in screen specific locations in order win. don´t know if can simple imageviews or need use canvas or other thing draw in screen. have tried drag , drop imageview on top of imageview not seem work , i'm hesitating if need drawing figures instead of using imageviews or else. please advice. apreciated. thank you.
imageviews views designed hold image drawables, isn't needed in case - can use simple view color background or implemended ondraw
method, can use imageview well. asfor drag , drop, need view implemented ontouch
method view changes position on screen action_move touch events. if you're interested, have implemented simple frame layout drag , drop functionality. layout requires long-click start drag, can modified won't. check out @ my github page. can clone project , run demo activity see how works, , start there.
Comments
Post a Comment