public abstract class AbstractPreferenceFragment
extends PreferenceFragmentCompat
| Constructor and Description |
|---|
AbstractPreferenceFragment() |
| Modifier and Type | Method and Description |
|---|---|
int |
getDividerColor()
Returns the color of the dividers, which are shown above preference categories.
|
void |
onCreate(android.os.Bundle savedInstanceState) |
protected <any> |
onCreateAdapter(PreferenceScreen preferenceScreen) |
protected PreferenceAdapter |
onCreatePreferenceAdapter(PreferenceScreen preferenceScreen)
The method, which is invoked in order to create the adapter, which is used to manage the
fragment's preferences.
|
android.view.View |
onCreateView(android.view.LayoutInflater inflater,
android.view.ViewGroup parent,
android.os.Bundle savedInstanceState) |
void |
setDividerColor(int color)
Sets the color of the dividers, which are shown above preference categories.
|
public final int getDividerColor()
Integer valuepublic final void setDividerColor(int color)
color - The color, which should be set, as an Integer valueprotected PreferenceAdapter onCreatePreferenceAdapter(PreferenceScreen preferenceScreen)
preferenceScreen - The preference screen, which contains the preferences, which should be managed by the
adapter, as an instance of the class PreferenceScreen. The preference screen may not
be nullPreferenceAdapter. The adapter may not be nullpublic void onCreate(android.os.Bundle savedInstanceState)
public android.view.View onCreateView(android.view.LayoutInflater inflater,
android.view.ViewGroup parent,
android.os.Bundle savedInstanceState)
protected final <any> onCreateAdapter(PreferenceScreen preferenceScreen)