My problem is really difficult to explain actually...

I have a ViewAnimator which has some View inside.

Views are custom, and each view has its own background. The background
is a selector, partly taken from Android source, especially the
transition between longpress/normal press (two 9 patch images).

I have a Gesture Listener that triggers when a Fling (Swipe) is
performed and it changes my view with showNext().

The ViewAnimator doesn't have anything as attribute, just
longClickable and focusable to "true".
It passes his states on childs, or better, state are duplicated by
child with the duplicateParentState attribute.

The problem is this:

If I swipe, the Gesture triggers and changes my Views, but the click
state is mantained, as I see the next View already pressed (and by the
way, the background draws an horizontal blue line, take from
nowhere!).

Skipping the blue line part, I think that the problem is on the
ViewAnimator, which holds its pressed (or long pressed) state.

Someone has ever run into this kind of problem? It really bothers me.

Thanks everybody!

-- 
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