added in version 24.1.0
belongs to Maven artifact com.android.support:preference-v7:28.0.0-alpha1
belongs to Maven artifact com.android.support:preference-v7:28.0.0-alpha1
Summary:
Nested Classes
| Inherited XML Attrs
| Inherited Constants
| Ctors
| Methods
| Protected Methods
| Inherited Methods
| [Expand All]
DialogPreference
public
abstract
class
DialogPreference
extends Preference
java.lang.Object | ||
↳ | android.support.v7.preference.Preference | |
↳ | android.support.v7.preference.DialogPreference |
![]() |
![]() |
A base class for Preference
objects that are
dialog-based. These preferences will, when clicked, open a dialog showing the
actual preference controls.
Summary
Nested classes | |
---|---|
interface |
DialogPreference.TargetFragment
|
Inherited XML attributes | |
---|---|
![]()
android.support.v7.preference.Preference
|
Inherited constants |
---|
![]()
android.support.v7.preference.Preference
|
Public constructors | |
---|---|
DialogPreference(Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes)
|
|
DialogPreference(Context context, AttributeSet attrs, int defStyleAttr)
|
|
DialogPreference(Context context, AttributeSet attrs)
|
|
DialogPreference(Context context)
|
Public methods | |
---|---|
Drawable
|
getDialogIcon()
Returns the icon to be shown on subsequent dialogs. |
int
|
getDialogLayoutResource()
Returns the layout resource that is used as the content View for subsequent dialogs. |
CharSequence
|
getDialogMessage()
Returns the message to be shown on subsequent dialogs. |
CharSequence
|
getDialogTitle()
Returns the title to be shown on subsequent dialogs. |
|