Hi all,
I was wondering If there is a way for an Activity to be started and,
even if the View contains one or more focusable widgets, no focus is
assigned initially; i.e. the activity view contains two edittext
fields, but when the Activity is started and view inflated, none of
them should have focus: if the user explicitly press directional keys,
the focus is assigned as usual.

Rationale: otherwise, the user sees the first EditText selected, but
there is no oscreen keyboard shown, and could lead to confusion.

Hack: I could create an invisible component that is focusable
initially, and after losing focus becomes unfocusable, and place it on
top of ofter views to get the initial focus. I'm sure there is a
cleaner way to do this.
thanks

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