Confirmed as a problem in 1.5pre, in my own code on the emulator.

Non-toplevel TabHost (meaning:  embedded in another layout)
will steal the focus from an EditText elsewhere in the layout.  Upon a
keypress, but before the
letter for the depressed key shows up in the EditText -- the focus
jumps back to the first tab.

SR

On Apr 17, 5:36 pm, cvance383 <[email protected]> wrote:
> 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 stealfocusand 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 stealfocus
> 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