Hi

You're not using a Hero by any chance, are you?

Try putting this into your Manifest for that activity:

android:windowSoftInputMode="stateHidden"

That may, or may not be what you're after, but look at the
documentation for that attribute for further information on
controlling the IME's behaviour.

On Mar 4, 4:38 am, brucko <[email protected]> wrote:
> Does anyone have an idea as to what determines whether the soft
> keyboard will be opened with an EditText.
>
> I have a single Edit Text, in a RelativeLayout, that has an attached
> onEditorActionListener which for some strange reason grabs focus and
> opens the soft keyboard whenever the activity is started. Essentially,
> I do not want the EditText to be focussed or the keyboard opened until
> the user touches it. For a start it steals all my screen real-estate.
>
> I am unable to make any other View take focus away from the EditText
> programatically.
>
> If I make the EditText unfocussable in onCreate() then the keyboard
> does not open. If I make it focussable again later in the code, say
> onResume(),  the keyboard opens. Removing the listener makes no
> difference.
>
> Am I missing something?.
>
> Frankly I am starting to get sick of buggy Android and the constant
> workarounds required.

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