InputMethodManager inputManager = (InputMethodManager)

getContext().getSystemService(Context.INPUT_METHOD_SERVICE);

Then call one of the hide*() methods on inputManager.

On Tue, May 12, 2009 at 10:18 AM, Teo <[email protected]> wrote:
>
> Is there a way to make it disappear from code?
>
> On May 12, 4:18 am, Dianne Hackborn <[email protected]> wrote:
>> The user always has the option to dismiss it.
>>
>> On Sun, May 10, 2009 at 10:48 AM, Joerg Pleumann
>> <[email protected]>wrote:
>>
>>
>>
>> > Hello,
>>
>> > is there a way to enforce the soft keyboard throughout the lifetime of
>> > an Activity? I tried setting stateAlwaysVisible in the Manifest.xml as
>> > well as the counterpart
>> > WindowManager.LayoutParams.SOFT_INPUT_STATE_ALWAYS_VISIBLE at runtime,
>> > but to no avail.
>>
>> > Cheers,
>> > Joerg
>>
>> --
>> Dianne Hackborn
>> Android framework engineer
>> [email protected]
>>
>> Note: please don't send private questions to me, as I don't have time to
>> provide private support, and so won't reply to such e-mails.  All such
>> questions should be posted on public forums, where I and others can see and
>> answer them.
> >
>



-- 
Romain Guy
Android framework engineer
[email protected]

Note: please don't send private questions to me, as I don't have time
to provide private support.  All such questions should be posted on
public forums, where I and others can see and answer them

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