mrKlar / PagedDragDropGrid

An Android ViewGroup that implements a paged grid with drag'n'drop moveable items
406 stars 185 forks source link

bring child layout in fron #22

Closed pankaj4288 closed 11 years ago

pankaj4288 commented 11 years ago

when I long press a child and hover it over others it is shown beneath those child which are generated before, while I want it to be on top of all. I am using swap on touch up rather than on move, so this become a quite critical. I used .bringtofont() method, but no success.

Please help

mrKlar commented 11 years ago

What do you mean by swap on touch up?

pankaj4288 commented 11 years ago

When I press a image all others start animating, when I go to some other image and release it it gets swapped. This is what I meant by swap on touchUp event. I am swapping in touchUp function instead of touchMove.

Now the problem is that when I drag a image over others, it is sometimes beneath other images and sometimes it is above. I want it to be above every-time. Please help.

pankaj4288 commented 11 years ago

Can you please help me over this ?? If issue is not clear i can send you snapshots.

lkorth commented 11 years ago

Quote from README:

0.2 The dragged view is now in front of the others

pankaj4288 commented 11 years ago

ok...thanks..can you please do me a favour..please tell me the class or function you have added, so that I can add it in my code.

lkorth commented 11 years ago

git pull?

mrKlar commented 11 years ago

Check the branche i did when i developed the feature you will have all i had to do to make it work.

pankaj4288 commented 11 years ago

got it..thanks a lot..