java - Add image on SurfaceView in Android -


i have implement function in android app allow me insert "marker" on surfaceview.

what need simple: when touch on screen, function capture coordinates (x,y) of touch, in moment need show marker in position.

the marker can removed later doing tap on marker (and eliminate through menu)

what best way ?

is possible create programmatically imageview on surfaceview or better draw bitmap canvas?

you can try use tileview, link tileview

does asking


Comments

Popular posts from this blog

qt - QML MouseArea onWheel event not working properly when inside QML Scrollview -

java - is not an enclosing class / new Intent Cannot Resolve Constructor -

python - Error importing VideoFileClip from moviepy : AttributeError: 'PermissionError' object has no attribute 'message' -