Hi,

call
btn.requestFocus();


Thanks & Regards,
Yousuf Syed
773-719-4786



On Fri, Jan 1, 2010 at 6:40 PM, Roman Romano
<[email protected]>wrote:

> I have declared a LinearLayout consisting of 3 widgets: a button, an
> edittext and a final button.
> Whenever i launch and intent which uses this layout, the edittext is
> always the default 'selected' widget. I want the first button to be
> the first 'selected' or focused widget in the layout.
>
> How can i do this?
>
> many thanks
>
> Roman
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Beginners" group.
>
> NEW! Try asking and tagging your question on Stack Overflow at
> http://stackoverflow.com/questions/tagged/android
>
> To unsubscribe from this group, send email to
> [email protected]<android-beginners%[email protected]>
> For more options, visit this group at
> http://groups.google.com/group/android-beginners?hl=en
>

-- 
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.

NEW! Try asking and tagging your question on Stack Overflow at
http://stackoverflow.com/questions/tagged/android

To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en

Reply via email to