For example, on the stock Android desktop, the item gets slightly bigger (as if it's "lifted off" the desktop). On Samsung's TouchWiz launcher, the background gets smaller (but gives a similar overall effect).
It will be tricky to alter the size of the Hover view. This will cause issues in the cell switching/drag drop behaviour as it alters the calculations.
It is an interesting thought though, I might experiment with it at some point.
I will probably have to go back and revisit to see if it is even possible to add an indicator to the Hoverview. (Its a bitmap snapshot taken at the time of selection).
(I think the only question left for me is if it handles item captions somehow, or if that's just part of a cell's internal layout.)
That should be part of the cell's layout.
If I try to drag an item to the end (where there's room left empty in the bottom row), it drops the item a slot above (based on its X position).
The only way to actually drop an item at the end is to drop it on the last item, rather than just to the right of the last item (which is where I was aiming originally).
Took me a few tries to figure out how to do this, so perhaps it would be useful to recognise any drop to the right of the last item to be put at the end?
I wouldnt be able to do this (easily). The drag/drop essentially works as a cell switcher. It checks the bounds of each cell and replaces them with one another.
Dragging an item to the end of the grid where there are no other items, it ends up in an invalid position. For e.g. if you added 50 items, but drag the item onto location 53, it immediately thinks this location does not exist.
I have an idea though, I might give it a shot and see what happens.
Is the library available for downloading? If it does what I want (and I think it does), I'm happy to donate.
Again this is a tricky question (and you have many
). The library mainly does what is in the sample, there may be things you assumed were already there, but they arent.
There may even be bugs.
If you want to test it hard, I can send it to you, and then you could give me your feedback, and I will see what I can fix.