3. Can the gallery actually *accept* the focus? If it can't, then trying to
> give it the focus is probably failing and throwing the focus back where it
> came from - onto the grid. Make sure that you call setFocusable(true) and
> setFocusableInTouchMode(true) on the gallery view.
>

This one helped me doing what I wanted, but only for the first time. After
first dragging, its not working according to me.


4. If all else fails, a dirty trick that might just work is that when the
> grid has no items left, remove it from its parent view and then re-add it,
> if feasible. The act of removing it should make absolutely sure it loses
> the focus, and it *shouldn't* automatically get it back when you re-add it.
> Not really a recommended solution but if it helps with the focus problem...
> then so be it.
>

Its not what I want.

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to