SwitchPreference
Construct a new SwitchPreference with the given style options.
Parameters
The Context that will style this preference
Style attributes that differ from the default
An attribute in the current theme that contains a reference to a style resource that supplies default values for the view. Can be 0 to not look for defaults.
A resource identifier of a style resource that supplies default values for the view, used only if defStyleAttr is 0 or can not be found in the theme. Can be 0 to not look for defaults.
Construct a new SwitchPreference with the given style options.
Parameters
The Context that will style this preference
Style attributes that differ from the default
An attribute in the current theme that contains a reference to a style resource that supplies default values for the view. Can be 0 to not look for defaults.
Construct a new SwitchPreference with the given style options.
Parameters
The Context that will style this preference
Style attributes that differ from the default
Construct a new SwitchPreference with default style options.
Parameters
The Context that will style this preference