I'm using cwac-touchlist to provide drag-and-drop reordering of buffered updates.
https://github.com/commonsguy/cwac-touchlist
I was having trouble with expanding a space to drop into. Commonsguy just told me on twitter that it wasn't supposed to work that way. BUT IT CAN BE DONE!
The trick is to make your listitem.xml a fixed height, say 100dip, and importantly set the gravity to "bottom"
Secondly, set your TouchListView with a tlv:normal_height and a tlv:expanded_height of DOUBLE the normal height.
It works by expanding the one you're hovering over. With the gravity set to bottom, and the expanded height double, it gives the impression of a space to drop into.
You're welcome! :)
Link to this comment:
All Comments (0)