FileDocCategorySizeDatePackage
InputMethodSettingsFragment.javaAPI DocAndroid 5.1 API2698Thu Mar 12 22:22:52 GMT 2015com.android.inputmethodcommon

InputMethodSettingsFragment

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

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

    
        
        super.onCreate(savedInstanceState);
        final Context context = getActivity();
        setPreferenceScreen(getPreferenceManager().createPreferenceScreen(context));
        mSettings.init(context, 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);