Andrew Nodermann
Andrew Nodermann

Reputation: 680

How I can add the menu between the items of listview?

I have question, How I can add the menu between the items of listview? Something like this:

enter image description here

Upvotes: 1

Views: 149

Answers (2)

nicholas.hauschild
nicholas.hauschild

Reputation: 42849

My guess is that you would have to make a custom ListView to do this. You would certainly benefit from reading this bit on Creating Custom Components and this specific custom ListView.

The approach I would take is to dynamically add a new list element underneath the element that was touched. Obviously this element would be rendered differently, and that is where the links from above will be helpful. When a different element is touched, I would remove the current menu element and insert it into the new location (under the most recently touched element).

Upvotes: 1

QED
QED

Reputation: 9913

Your best bet is to make your menu an item of the list and put it where you want.

Upvotes: 0

Related Questions