Search code examples
javaandroidimageviewcomments

How to place comments on a full screen image?


I'm working on a native android application in java with Android Studio and I want to add comments on full screen images like this. This based upon a feature of "Figma" where you can place comments on prototypes.

I have already made a xml file that normally has an Imageview in full screen. So I probably need to draw a circle on the exact coordinates of the view where I click. So how can I achieve this in java code?

Figma example 1

Figma example 2


Solution

  • use draggable view and when user clicks it display dialog where they can enter a comment, then save the position of the view and the comment to SQLite or wherever you want so the user can retrieve it again whenever they need it