Android Question Layout or dialog on top of customlistview

qey

Member
Hello, Im wondering about what are the best way to prompt an image on top of the clv. Some item have an image to display inside the clv. Right now it will display only a small size of the image. I want to make a function where user can click the image and the image will enlarge into a new layout or dialog. Can anyone share your idea on what are the best option to use? Thank you for your help.
 

Attachments

  • Capture.PNG
    Capture.PNG
    21.6 KB · Views: 155

PaulMeuris

Active Member
Licensed User
Hello,
One way of doing this might be to use a dialog.
In the attached zip-file you can find an example.
Some screenshots:
listview.PNG
photo_2.PNG
photo_5.PNG

If you click on 'Foto 2' you get the first photo and if you click on 'Foto 5' you see the second photo.
The photo comes on top of the CustomListView.
I hope you can use this example.
Greetings,
Paul
 

Attachments

  • photodialog.zip
    241.7 KB · Views: 166
Upvote 0
Top