public class MaterialEditTextPreference
extends android.preference.EditTextPreference
| Constructor and Description |
|---|
MaterialEditTextPreference(android.content.Context context) |
MaterialEditTextPreference(android.content.Context context,
android.util.AttributeSet attrs) |
MaterialEditTextPreference(android.content.Context context,
android.util.AttributeSet attrs,
int defStyleAttr) |
MaterialEditTextPreference(android.content.Context context,
android.util.AttributeSet attrs,
int defStyleAttr,
int defStyleRes) |
| Modifier and Type | Method and Description |
|---|---|
android.app.Dialog |
getDialog() |
android.widget.EditText |
getEditText() |
void |
onActivityDestroy() |
protected void |
onAddEditTextToDialogView(android.view.View dialogView,
android.widget.EditText editText) |
protected void |
onBindDialogView(android.view.View view) |
protected void |
onDialogClosed(boolean positiveResult) |
void |
onDismiss(android.content.DialogInterface dialog) |
protected void |
onRestoreInstanceState(android.os.Parcelable state) |
protected android.os.Parcelable |
onSaveInstanceState() |
protected void |
showDialog(android.os.Bundle state) |
getText, onGetDefaultValue, onSetInitialValue, setText, shouldDisableDependentsgetDialogIcon, getDialogLayoutResource, getDialogMessage, getDialogTitle, getNegativeButtonText, getPositiveButtonText, onClick, onClick, onCreateDialogView, onPrepareDialogBuilder, setDialogIcon, setDialogIcon, setDialogLayoutResource, setDialogMessage, setDialogMessage, setDialogTitle, setDialogTitle, setNegativeButtonText, setNegativeButtonText, setPositiveButtonText, setPositiveButtonTextcallChangeListener, compareTo, findPreferenceInHierarchy, getContext, getDependency, getEditor, getExtras, getFragment, getIcon, getIntent, getKey, getLayoutResource, getOnPreferenceChangeListener, getOnPreferenceClickListener, getOrder, getPersistedBoolean, getPersistedFloat, getPersistedInt, getPersistedLong, getPersistedString, getPreferenceManager, getSharedPreferences, getShouldDisableView, getSummary, getTitle, getTitleRes, getView, getWidgetLayoutResource, hasKey, isEnabled, isPersistent, isSelectable, notifyChanged, notifyDependencyChange, notifyHierarchyChanged, onAttachedToActivity, onAttachedToHierarchy, onBindView, onCreateView, onDependencyChanged, onParentChanged, onPrepareForRemoval, peekExtras, persistBoolean, persistFloat, persistInt, persistLong, persistString, restoreHierarchyState, saveHierarchyState, setDefaultValue, setDependency, setEnabled, setFragment, setIcon, setIcon, setIntent, setKey, setLayoutResource, setOnPreferenceChangeListener, setOnPreferenceClickListener, setOrder, setPersistent, setSelectable, setShouldDisableView, setSummary, setSummary, setTitle, setTitle, setWidgetLayoutResource, shouldCommit, shouldPersist, toStringpublic MaterialEditTextPreference(android.content.Context context)
public MaterialEditTextPreference(android.content.Context context,
android.util.AttributeSet attrs)
public MaterialEditTextPreference(android.content.Context context,
android.util.AttributeSet attrs,
int defStyleAttr)
public MaterialEditTextPreference(android.content.Context context,
android.util.AttributeSet attrs,
int defStyleAttr,
int defStyleRes)
protected void onAddEditTextToDialogView(@NonNull
android.view.View dialogView,
@NonNull
android.widget.EditText editText)
onAddEditTextToDialogView in class android.preference.EditTextPreferenceprotected void onBindDialogView(@NonNull
android.view.View view)
onBindDialogView in class android.preference.EditTextPreferenceprotected void onDialogClosed(boolean positiveResult)
onDialogClosed in class android.preference.EditTextPreferencepublic android.widget.EditText getEditText()
getEditText in class android.preference.EditTextPreferencepublic android.app.Dialog getDialog()
getDialog in class android.preference.DialogPreferenceprotected void showDialog(android.os.Bundle state)
showDialog in class android.preference.DialogPreferencepublic void onDismiss(android.content.DialogInterface dialog)
onDismiss in interface android.content.DialogInterface.OnDismissListeneronDismiss in class android.preference.DialogPreferencepublic void onActivityDestroy()
onActivityDestroy in interface android.preference.PreferenceManager.OnActivityDestroyListeneronActivityDestroy in class android.preference.DialogPreferenceprotected android.os.Parcelable onSaveInstanceState()
onSaveInstanceState in class android.preference.EditTextPreferenceprotected void onRestoreInstanceState(android.os.Parcelable state)
onRestoreInstanceState in class android.preference.EditTextPreference