Thursday, June 2, 2011

[android-developers] view in background receiving input

An app I'm currently developing shows strange behaviour: a view in
background receives input.
In a FrameLayout, I put a view on top of another (detail view open
when an item of a list is selected).
Visually, everything looks as expected. But when touching anything
with the detail view in foreground, events of the list in background
are triggered (which means that another detail view opens on top of
the first one, and then another one etc.).

The FrameLayout is the content window of a TabWidget.
The list view is created by a FragmentActivity, the detail view by a
Fragment.

A more detailled description with some code is here:
http://stackoverflow.com/questions/6190573/listview-in-background-receives-input-fragment-api

I have no idea on how to approach this issue and would be thankful for
any advice or hint.

--
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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

No comments:

Post a Comment