The editText calls requestLayout every time the text is modified, and
this request flows all of the way up the hierarchy. I would have to
assume that the onMeasure/onLayout functions for the tab are doing
something like clearing the focus, or removing & re-adding your
editText.

Now how to fix this?  I'm not sure. I eagerly await other people's
suggestions!

-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of cvance383
Sent: Saturday, 18 April 2009 7:37 AM
To: Android Developers
Subject: [android-developers] EditText & Tabhost problem


The problem I am having is I have a framelayout with a tabhost (&
widget & tabcontent) then I have another layout over top of the tabs
that looks like a form. It has two editTexts but when I type in the
them, the tabs steal focus and put what i typed in the edittext i have
within the tabcontent. If I remove the tabs from my xml and app, the
top level edittext works fine. Anyone know why the tabs steal focus
when I type in the form in the foreground. Any solutions? I appreciate
any help.




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

Reply via email to