public class SettingEmptyPreference extends SettingPreference
SettingPreference implementation that may be used to present an empty (invisible)
preference in preference screen. This may be useful to fix a problem when view of the first
preference in preference screen is not being animated properly or at all.
SettingPreference
none| Constructor and Description |
|---|
SettingEmptyPreference(android.content.Context context)
Same as
SettingEmptyPreference(Context, AttributeSet) without attributes. |
SettingEmptyPreference(android.content.Context context,
android.util.AttributeSet attrs)
Same as
SettingEmptyPreference(Context, AttributeSet, int) with 0 as
attribute for default style. |
SettingEmptyPreference(android.content.Context context,
android.util.AttributeSet attrs,
int defStyleAttr)
Same as
SettingEmptyPreference(Context, AttributeSet, int, int) with 0 as
default style. |
SettingEmptyPreference(android.content.Context context,
android.util.AttributeSet attrs,
int defStyleAttr,
int defStyleRes)
Creates a new instance of SettingEmptyPreference for the given context.
|
| Modifier and Type | Method and Description |
|---|---|
protected android.view.View |
onCreateView(android.view.ViewGroup parent) |
onBindView, setKeycallChangeListener, compareTo, findPreferenceInHierarchy, getContext, getDependency, getEditor, getExtras, getFragment, getIcon, getIntent, getKey, getLayoutResource, getOnPreferenceChangeListener, getOnPreferenceClickListener, getOrder, getPersistedBoolean, getPersistedFloat, getPersistedInt, getPersistedLong, getPersistedString, getPersistedStringSet, getPreferenceManager, getSharedPreferences, getShouldDisableView, getSummary, getTitle, getTitleRes, getView, getWidgetLayoutResource, hasKey, isEnabled, isPersistent, isSelectable, notifyChanged, notifyDependencyChange, notifyHierarchyChanged, onAttachedToActivity, onAttachedToHierarchy, onClick, onDependencyChanged, onGetDefaultValue, onParentChanged, onPrepareForRemoval, onRestoreInstanceState, onSaveInstanceState, onSetInitialValue, peekExtras, persistBoolean, persistFloat, persistInt, persistLong, persistString, persistStringSet, restoreHierarchyState, saveHierarchyState, setDefaultValue, setDependency, setEnabled, setFragment, setIcon, setIcon, setIntent, setLayoutResource, setOnPreferenceChangeListener, setOnPreferenceClickListener, setOrder, setPersistent, setSelectable, setShouldDisableView, setSummary, setSummary, setTitle, setTitle, setWidgetLayoutResource, shouldCommit, shouldDisableDependents, shouldPersist, toStringpublic SettingEmptyPreference(android.content.Context context)
SettingEmptyPreference(Context, AttributeSet) without attributes.public SettingEmptyPreference(android.content.Context context,
android.util.AttributeSet attrs)
SettingEmptyPreference(Context, AttributeSet, int) with 0 as
attribute for default style.public SettingEmptyPreference(android.content.Context context,
android.util.AttributeSet attrs,
int defStyleAttr)
SettingEmptyPreference(Context, AttributeSet, int, int) with 0 as
default style.public SettingEmptyPreference(android.content.Context context,
android.util.AttributeSet attrs,
int defStyleAttr,
int defStyleRes)
context - Context in which will be the new setting preference presented.attrs - Set of Xml attributes used to configure the new instance of this preference.defStyleAttr - An attribute which contains a reference to a default style resource for
this preference within a theme of the given context.defStyleRes - Resource id of the default style for the new preference.