Keyboard Support

Contact and Search

Keyman.com Homepage

Header bottom

Keyman.com

Other versions
Version 18.0Version 17.0 (current version)Version 16.0Version 15.0Version 14.0Version 13.0Version 12.0Version 11.0Version 10.0Version 2.0

Index

On this page

You are viewing an old version of this documentation. Click here to open the current version, 17.0.

KMManager.showLanguageList()

Summary

The showLanguageList() method displays the language list.

Syntax

KMManager.showLanguageList(Context context)

Parameters

context
The context.

Description

Use this method to display language list. Normally you do not need to call this method explicitly since, by default, Keyman keyboard picker menu calls this method to display the language list whenever '+' button is tapped. Multiple calls to this method is unsafe and may result in multiple instances of language list being displayed at the same time.

Examples

Example: Using showLanguageList()

The following script illustrate the use of showLanguageList():

    final Context context = this;
    ImageButton languageButton = (ImageButton) findViewById(R.id.languageButton);
    languageButton.setOnClickListener(new OnClickListener() {
        @Override
        public void onClick(View v) {
            KMManager.showLanguageList(context);
        }
    });

See also