Summary:
Inherited XML Attrs
| Inherited Constants
| Ctors
| Methods
| Protected Methods
| Inherited Methods
EditTextPreference
public
class
EditTextPreference
extends DialogPreference
| java.lang.Object | |||
| ↳ | android.preference.Preference | ||
| ↳ | android.preference.DialogPreference | ||
| ↳ | android.preference.EditTextPreference | ||
This class was deprecated
in API level 29.
Use the AndroidX
Preference Library for consistent behavior across all devices. For more information on
using the AndroidX Preference Library see
Settings.
A Preference that allows for string
input.
It is a subclass of DialogPreference and shows the EditText
in a dialog. This EditText can be modified either programmatically
via getEditText(), or through XML by setting any EditText
attributes on the EditTextPreference.
This preference will store a string into the SharedPreferences.
See EditText Attributes.
Summary
Inherited XML attributes | |
|---|---|