Brian Mains
Brian Mains

Reputation: 50728

Showing an Activity or View Over a ListIem

I'm trying to add an overlay to a ListItem in an Xamarin Android ListView control. I was able to easily achieve this in iOS and made it appear like the following, in normal view:

Normal TableView Item Appearance

And then when you click on the item:

enter image description here

It shows an overlay with additional images (which is actually a UIViewController). I was wondering if it's possible to do the same within Android; I would like to keep the same UI WITHOUT using a dialog, which is what all of the responses seem to indicate so far. Seems like it should be possible... Any ideas how to do it with an Activity (I need an activity to respond to the events within the UI as well).

Thanks.

Upvotes: 0

Views: 62

Answers (2)

Vaidehi Deshpande
Vaidehi Deshpande

Reputation: 151

You can implement Quick Actions for this purpose. Quick Actions are not provided in the Android SDK You can find lots of examples on how to create them. Such as here and here.

Although these are not in Xamarin, they can help u in creating them.

Upvotes: 1

Aashir
Aashir

Reputation: 2621

If I understood correctly, then this is what you're looking for: https://github.com/flavienlaurent/poppyview

Upvotes: 1

Related Questions