FileDocCategorySizeDatePackage
InputMethodSettingsActivity.javaAPI DocAndroid 5.1 API2649Thu Mar 12 22:22:52 GMT 2015com.android.inputmethodcommon

InputMethodSettingsActivity

public abstract class InputMethodSettingsActivity extends android.preference.PreferenceActivity implements InputMethodSettingsInterface
This is a helper class for an IME's settings preference activity. It's recommended for every IME to have its own settings preference activity which inherits this class.

Fields Summary
private final InputMethodSettingsImpl
mSettings
Constructors Summary
Methods Summary
public voidonCreate(android.os.Bundle savedInstanceState)

        super.onCreate(savedInstanceState);
        setPreferenceScreen(getPreferenceManager().createPreferenceScreen(this));
        mSettings.init(this, getPreferenceScreen());
    
public voidonResume()
{@inheritDoc}

        super.onResume();
        mSettings.updateSubtypeEnabler();
    
public voidsetInputMethodSettingsCategoryTitle(int resId)
{@inheritDoc}

        mSettings.setInputMethodSettingsCategoryTitle(resId);
    
public voidsetInputMethodSettingsCategoryTitle(java.lang.CharSequence title)
{@inheritDoc}

        mSettings.setInputMethodSettingsCategoryTitle(title);
    
public voidsetSubtypeEnablerIcon(int resId)
{@inheritDoc}

        mSettings.setSubtypeEnablerIcon(resId);
    
public voidsetSubtypeEnablerIcon(android.graphics.drawable.Drawable drawable)
{@inheritDoc}

        mSettings.setSubtypeEnablerIcon(drawable);
    
public voidsetSubtypeEnablerTitle(int resId)
{@inheritDoc}

        mSettings.setSubtypeEnablerTitle(resId);
    
public voidsetSubtypeEnablerTitle(java.lang.CharSequence title)
{@inheritDoc}

        mSettings.setSubtypeEnablerTitle(title);