Android Programming Press on the image to return to the main documentation page.

Preferences

Written by Markus Stipp

List of types:

CheckBoxPreference
ColorPreference
EditTextPreference
ListPreference
Preference
PreferenceCategory
PreferenceManager
PreferenceView
RingTonePreference
SeekBarDialogPreference
SeekBarPreference
SimplePreference
SwitchPreference

CheckBoxPreference


This is an 'Activity Object', it cannot be declared under Sub Process_Globals.

Events:

PreferenceChanged (Preference As Preference, NewValue As Object)
PreferenceClicked (Preference As Preference)

Members:


  Checked As Boolean

  DefaultValue As Object [write only]

  Dependency As String

  DisableDependentsState As Boolean

  Enabled As Boolean

  Icon As android.graphics.drawable.Drawable

  IconPaddingEnabled As Boolean [write only]

  IconTintEnabled As Boolean [write only]

  Initialize (PreferenceView As PreferenceView, EventName As String, Key As String, DefaultValue As Object)

  Intent As android.content.Intent

  IsInitialized As Boolean

  Key As String

  Order As Int

  Persistent As Boolean

  Selectable As Boolean

  Summary As String

  SummaryOffText As CharSequence

  SummaryOnText As CharSequence

  SummaryTextColor As Int [write only]

  Title As String

  TitleTextColor As Int [write only]

  Visible As Boolean

Members description:

Checked As Boolean
DefaultValue As Object [write only]
Dependency As String
DisableDependentsState As Boolean
Enabled As Boolean
Icon As android.graphics.drawable.Drawable
IconPaddingEnabled As Boolean [write only]
IconTintEnabled As Boolean [write only]
Initialize (PreferenceView As PreferenceView, EventName As String, Key As String, DefaultValue As Object)
Initializes the object
Intent As android.content.Intent
IsInitialized As Boolean
Key As String
Order As Int
Persistent As Boolean
Selectable As Boolean
Summary As String
SummaryOffText As CharSequence
SummaryOnText As CharSequence
SummaryTextColor As Int [write only]
Title As String
TitleTextColor As Int [write only]
Visible As Boolean

ColorPreference


This is an 'Activity Object', it cannot be declared under Sub Process_Globals.

Events:

PreferenceChanged (Preference As Preference, NewValue As Object)
PreferenceClicked (Preference As Preference)

Members:


  Color As Int

  ColorNames() As CharSequence

  ColorValues() As Int

  ColumnCount As Int

  DefaultValue As Object [write only]

  Dependency As String

  DialogIcon As android.graphics.drawable.Drawable

  DialogIconTintEnabled As Boolean [write only]

  DialogMessage As CharSequence

  DialogTitle As CharSequence

  Enabled As Boolean

  GetNameForColor (Color As Int) As CharSequence

  Icon As android.graphics.drawable.Drawable

  IconPaddingEnabled As Boolean [write only]

  IconTintEnabled As Boolean [write only]

  Initialize (PreferenceView As PreferenceView, EventName As String, Key As String, DefaultValue As Object)

  Intent As android.content.Intent

  IsInitialized As Boolean

  Key As String

  NegativeButtonText As CharSequence

  Order As Int

  Persistent As Boolean

  PositiveButtonText As CharSequence

  Selectable As Boolean

  Summary As String

  SummaryTextColor As Int [write only]

  SwatchSize As Int

  Title As String

  TitleTextColor As Int [write only]

  Visible As Boolean

Members description:

Color As Int
ColorNames() As CharSequence
ColorValues() As Int
ColumnCount As Int
DefaultValue As Object [write only]
Dependency As String
DialogIcon As android.graphics.drawable.Drawable
DialogIconTintEnabled As Boolean [write only]
DialogMessage As CharSequence
DialogTitle As CharSequence
Enabled As Boolean
GetNameForColor (Color As Int) As CharSequence
Icon As android.graphics.drawable.Drawable
IconPaddingEnabled As Boolean [write only]
IconTintEnabled As Boolean [write only]
Initialize (PreferenceView As PreferenceView, EventName As String, Key As String, DefaultValue As Object)
Initializes the object
Intent As android.content.Intent
IsInitialized As Boolean
Key As String
NegativeButtonText As CharSequence
Order As Int
Persistent As Boolean
PositiveButtonText As CharSequence
Selectable As Boolean
Summary As String
SummaryTextColor As Int [write only]
SwatchSize As Int
Title As String
TitleTextColor As Int [write only]
Visible As Boolean

EditTextPreference


This is an 'Activity Object', it cannot be declared under Sub Process_Globals.

Events:

EditTextCreated (Edit As EditText)
PreferenceChanged (Preference As Preference, NewValue As Object)
PreferenceClicked (Preference As Preference)

Members:


  DefaultValue As Object [write only]

  Dependency As String

  DialogIcon As android.graphics.drawable.Drawable

  DialogIconTintEnabled As Boolean [write only]

  DialogMessage As CharSequence

  DialogTitle As CharSequence

  Enabled As Boolean

  Icon As android.graphics.drawable.Drawable

  IconPaddingEnabled As Boolean [write only]

  IconTintEnabled As Boolean [write only]

  Initialize (PreferenceView As PreferenceView, EventName As String, Key As String, DefaultValue As Object)

  Intent As android.content.Intent

  IsInitialized As Boolean

  Key As String

  NegativeButtonText As CharSequence

  Order As Int

  Persistent As Boolean

  PositiveButtonText As CharSequence

  Selectable As Boolean

  Summary As String

  SummaryTextColor As Int [write only]

  Text As String

  Title As String

  TitleTextColor As Int [write only]

  Visible As Boolean

Members description:

DefaultValue As Object [write only]
Dependency As String
DialogIcon As android.graphics.drawable.Drawable
DialogIconTintEnabled As Boolean [write only]
DialogMessage As CharSequence
DialogTitle As CharSequence
Enabled As Boolean
Icon As android.graphics.drawable.Drawable
IconPaddingEnabled As Boolean [write only]
IconTintEnabled As Boolean [write only]
Initialize (PreferenceView As PreferenceView, EventName As String, Key As String, DefaultValue As Object)
Initializes the object
Intent As android.content.Intent
IsInitialized As Boolean
Key As String
NegativeButtonText As CharSequence
Order As Int
Persistent As Boolean
PositiveButtonText As CharSequence
Selectable As Boolean
Summary As String
SummaryTextColor As Int [write only]
Text As String
Title As String
TitleTextColor As Int [write only]
Visible As Boolean

ListPreference


This is an 'Activity Object', it cannot be declared under Sub Process_Globals.

Events:

PreferenceChanged (Preference As Preference, NewValue As Object)
PreferenceClicked (Preference As Preference)

Members:


  DefaultValue As Object [write only]

  Dependency As String

  DialogIcon As android.graphics.drawable.Drawable

  DialogIconTintEnabled As Boolean [write only]

  DialogMessage As CharSequence

  DialogTitle As CharSequence

  Enabled As Boolean

  Entries As Map [write only]

  Icon As android.graphics.drawable.Drawable

  IconPaddingEnabled As Boolean [write only]

  IconTintEnabled As Boolean [write only]

  Initialize (PreferenceView As PreferenceView, EventName As String, Key As String, DefaultValue As Object)

  Intent As android.content.Intent

  IsInitialized As Boolean

  Key As String

  MENU_MODE_DIALOG As Int

  MENU_MODE_SIMPLE_ADAPTIVE As Int

  MENU_MODE_SIMPLE_DIALOG As Int

  MENU_MODE_SIMPLE_MENU As Int

  MenuMode As Int

  NegativeButtonText As CharSequence

  Order As Int

  Persistent As Boolean

  PositiveButtonText As CharSequence

  Selectable As Boolean

  SimpleMenuPreferredWidthUnit As Float

  Summary As String

  SummaryTextColor As Int [write only]

  Title As String

  TitleTextColor As Int [write only]

  Value As String

  Visible As Boolean

Members description:

DefaultValue As Object [write only]
Dependency As String
DialogIcon As android.graphics.drawable.Drawable
DialogIconTintEnabled As Boolean [write only]
DialogMessage As CharSequence
DialogTitle As CharSequence
Enabled As Boolean
Entries As Map [write only]
Icon As android.graphics.drawable.Drawable
IconPaddingEnabled As Boolean [write only]
IconTintEnabled As Boolean [write only]
Initialize (PreferenceView As PreferenceView, EventName As String, Key As String, DefaultValue As Object)
Initializes the object
Intent As android.content.Intent
IsInitialized As Boolean
Key As String
MENU_MODE_DIALOG As Int
MENU_MODE_SIMPLE_ADAPTIVE As Int
MENU_MODE_SIMPLE_DIALOG As Int
MENU_MODE_SIMPLE_MENU As Int
MenuMode As Int
NegativeButtonText As CharSequence
Order As Int
Persistent As Boolean
PositiveButtonText As CharSequence
Selectable As Boolean
SimpleMenuPreferredWidthUnit As Float
Summary As String
SummaryTextColor As Int [write only]
Title As String
TitleTextColor As Int [write only]
Value As String
Visible As Boolean

Preference


This is an 'Activity Object', it cannot be declared under Sub Process_Globals.

Events:

PreferenceChanged (Preference As Preference, NewValue As Object)
PreferenceClicked (Preference As Preference)

Members:


  DefaultValue As Object [write only]

  Dependency As String

  Enabled As Boolean

  Icon As android.graphics.drawable.Drawable

  Initialize (PreferenceView As PreferenceView, EventName As String, Key As String, DefaultValue As Object)

  Intent As android.content.Intent

  IsInitialized As Boolean

  Key As String

  Order As Int

  Persistent As Boolean

  Selectable As Boolean

  Summary As String

  Title As String

  Visible As Boolean

Members description:

DefaultValue As Object [write only]
Dependency As String
Enabled As Boolean
Icon As android.graphics.drawable.Drawable
Initialize (PreferenceView As PreferenceView, EventName As String, Key As String, DefaultValue As Object)
Initializes the object
Intent As android.content.Intent
IsInitialized As Boolean
Key As String
Order As Int
Persistent As Boolean
Selectable As Boolean
Summary As String
Title As String
Visible As Boolean

PreferenceCategory


This is an 'Activity Object', it cannot be declared under Sub Process_Globals.

Events:

PreferenceChanged (Preference As Preference, NewValue As Object)
PreferenceClicked (Preference As Preference)

Members:


  AddCategory (EventName As String, Key As String, Title As String) As PreferenceCategory

  AddCheckBoxPreference (EventName As String, Key As String, Title As String, SummaryOn As String, SummaryOff As String, Default As Boolean) As CheckBoxPreference

  AddColorPreference (EventName As String, Key As String, Title As String, Summary As String, Default As Int, Colors() As Int, Names() As String) As ColorPreference

  AddEditTextPreference (EventName As String, Key As String, Title As String, Summary As String, Default As String) As EditTextPreference

  AddListPreference (EventName As String, Key As String, Title As String, Summary As String, Default As String, Values() As String, Texts() As String) As ListPreference

  AddPreference (Pref As android.support.v7.preference.Preference) As Boolean

  AddRingTonePreference (EventName As String, Key As String, Title As String, Summary As String, Default As String) As RingTonePreference

  AddSeekBarDialogPreference (EventName As String, Key As String, Title As String, Summary As String, Default As Int, Min As Int, Max As Int) As SeekBarDialogPreference

  AddSeekBarPreference (EventName As String, Key As String, Title As String, Summary As String, Default As Int, Min As Int, Max As Int) As SeekBarPreference

  AddSimplePreference (EventName As String, Key As String, Title As String, Summary As String, Default As String) As SimplePreference

  AddSwitchPreference (EventName As String, Key As String, Title As String, SummaryOn As String, SummaryOff As String, Default As Boolean) As SwitchPreference

  DefaultValue As Object [write only]

  Dependency As String

  Enabled As Boolean

  FindPreference (Key As String) As android.support.v7.preference.Preference

  GetPreference (Index As Int) As android.support.v7.preference.Preference

  Icon As android.graphics.drawable.Drawable

  IconPaddingEnabled As Boolean [write only]

  IconTintEnabled As Boolean [write only]

  Initialize (PreferenceView As PreferenceView, EventName As String, Key As String, DefaultValue As Object)

  Intent As android.content.Intent

  IsInitialized As Boolean

  Key As String

  Order As Int

  Persistent As Boolean

  PreferenceCount As Int [read only]

  RemoveAll

  RemovePreference (Pref As android.support.v7.preference.Preference)

  Selectable As Boolean

  Summary As String

  SummaryTextColor As Int [write only]

  Title As String

  TitleTextColor As Int [write only]

  Visible As Boolean

Members description:

AddCategory (EventName As String, Key As String, Title As String) As PreferenceCategory
AddCheckBoxPreference (EventName As String, Key As String, Title As String, SummaryOn As String, SummaryOff As String, Default As Boolean) As CheckBoxPreference
AddColorPreference (EventName As String, Key As String, Title As String, Summary As String, Default As Int, Colors() As Int, Names() As String) As ColorPreference
AddEditTextPreference (EventName As String, Key As String, Title As String, Summary As String, Default As String) As EditTextPreference
AddListPreference (EventName As String, Key As String, Title As String, Summary As String, Default As String, Values() As String, Texts() As String) As ListPreference
AddPreference (Pref As android.support.v7.preference.Preference) As Boolean
AddRingTonePreference (EventName As String, Key As String, Title As String, Summary As String, Default As String) As RingTonePreference
AddSeekBarDialogPreference (EventName As String, Key As String, Title As String, Summary As String, Default As Int, Min As Int, Max As Int) As SeekBarDialogPreference
AddSeekBarPreference (EventName As String, Key As String, Title As String, Summary As String, Default As Int, Min As Int, Max As Int) As SeekBarPreference
AddSimplePreference (EventName As String, Key As String, Title As String, Summary As String, Default As String) As SimplePreference
AddSwitchPreference (EventName As String, Key As String, Title As String, SummaryOn As String, SummaryOff As String, Default As Boolean) As SwitchPreference
DefaultValue As Object [write only]
Dependency As String
Enabled As Boolean
FindPreference (Key As String) As android.support.v7.preference.Preference
GetPreference (Index As Int) As android.support.v7.preference.Preference
Icon As android.graphics.drawable.Drawable
IconPaddingEnabled As Boolean [write only]
IconTintEnabled As Boolean [write only]
Initialize (PreferenceView As PreferenceView, EventName As String, Key As String, DefaultValue As Object)
Initializes the object
Intent As android.content.Intent
IsInitialized As Boolean
Key As String
Order As Int
Persistent As Boolean
PreferenceCount As Int [read only]
RemoveAll
RemovePreference (Pref As android.support.v7.preference.Preference)
Selectable As Boolean
Summary As String
SummaryTextColor As Int [write only]
Title As String
TitleTextColor As Int [write only]
Visible As Boolean

PreferenceManager

Provides access to the saved settings. Using PreferenceManager you can get the stored values and modify them.

Events:

None

Members:


  ClearAll

  GetAll As Map

  GetBoolean (Key As String) As Boolean

  GetBoolean2 (Key As String, Default As Boolean) As Boolean

  GetInt (Key As String) As Int

  GetInt2 (Key As String, Default As Int) As Int

  GetLong (Key As String) As Long

  GetLong2 (Key As String, Default As Long) As Long

  GetString (Key As String) As String

  GetString2 (Key As String, Default As String) As String

  GetUpdatedKeys As List

  SetBoolean (Key As String, Value As Boolean)

  SetInt (Key As String, Value As Int)

  SetLong (Key As String, Value As Long)

  SetString (Key As String, Value As String)

Members description:

ClearAll
Clears all stored entries.
GetAll As Map
Returns a Map with all the Keys and Values. Note that changes to this map will not affect the stored values.
GetBoolean (Key As String) As Boolean
Returns the Boolean value mapped to the given key. Returns False if the key is not found.
GetBoolean2 (Key As String, Default As Boolean) As Boolean
Returns the Boolean value mapped to the given key. Returns the default value if the key is not found.
GetInt (Key As String) As Int
GetInt2 (Key As String, Default As Int) As Int
GetLong (Key As String) As Long
Returns the Long value mapped to the given key. Returns -1 if the key is not found.
GetLong2 (Key As String, Default As Long) As Long
Returns the Long value mapped to the given key. Returns the default value if the key is not found.
GetString (Key As String) As String
Returns the String value mapped to the given key. Returns an empty string if the key is not found.
GetString2 (Key As String, Default As String) As String
Return the String value mapped to the given key. Returns the default value if the key is not found.
GetUpdatedKeys As List
Returns a list with the keys that were updated since the last call to GetUpdatedKeys.
Note that the updated keys may include keys with unchanged values.
SetBoolean (Key As String, Value As Boolean)
Maps the given key to the given Boolean value.
SetInt (Key As String, Value As Int)
SetLong (Key As String, Value As Long)
Maps the given key to the given Long value.
SetString (Key As String, Value As String)
Maps the given key to the given String value.

PreferenceView


This is an 'Activity Object', it cannot be declared under Sub Process_Globals.

Events:

Ready (Preference As PreferenceView)

Members:


  AddCategory (EventName As String, Key As String, Title As String) As PreferenceCategory

  AddCheckBoxPreference (EventName As String, Key As String, Title As String, SummaryOn As String, SummaryOff As String, Default As Boolean) As CheckBoxPreference

  AddColorPreference (EventName As String, Key As String, Title As String, Summary As String, Default As Int, Colors() As Int, Names() As String) As ColorPreference

  AddEditTextPreference (EventName As String, Key As String, Title As String, Summary As String, Default As String) As EditTextPreference

  AddListPreference (EventName As String, Key As String, Title As String, Summary As String, Default As String, Values() As String, Texts() As String) As ListPreference

  AddPreference (Pref As net.xpece.android.support.preference.Preference)

  AddRingTonePreference (EventName As String, Key As String, Title As String, Summary As String, Default As String) As RingTonePreference

  AddSeekBarDialogPreference (EventName As String, Key As String, Title As String, Summary As String, Default As Int, Min As Int, Max As Int) As SeekBarDialogPreference

  AddSeekBarPreference (EventName As String, Key As String, Title As String, Summary As String, Default As Int, Min As Int, Max As Int) As SeekBarPreference

  AddSimplePreference (EventName As String, Key As String, Title As String, Summary As String, Default As String) As SimplePreference

  AddSwitchPreference (EventName As String, Key As String, Title As String, SummaryOn As String, SummaryOff As String, Default As Boolean) As SwitchPreference

  DesignerCreateView (base As PanelWrapper, lw As LabelWrapper, props As Map)

  Initialize (EventName As String, Parent As android.view.ViewGroup)

Members description:

AddCategory (EventName As String, Key As String, Title As String) As PreferenceCategory
AddCheckBoxPreference (EventName As String, Key As String, Title As String, SummaryOn As String, SummaryOff As String, Default As Boolean) As CheckBoxPreference
AddColorPreference (EventName As String, Key As String, Title As String, Summary As String, Default As Int, Colors() As Int, Names() As String) As ColorPreference
AddEditTextPreference (EventName As String, Key As String, Title As String, Summary As String, Default As String) As EditTextPreference
AddListPreference (EventName As String, Key As String, Title As String, Summary As String, Default As String, Values() As String, Texts() As String) As ListPreference
AddPreference (Pref As net.xpece.android.support.preference.Preference)
AddRingTonePreference (EventName As String, Key As String, Title As String, Summary As String, Default As String) As RingTonePreference
AddSeekBarDialogPreference (EventName As String, Key As String, Title As String, Summary As String, Default As Int, Min As Int, Max As Int) As SeekBarDialogPreference
AddSeekBarPreference (EventName As String, Key As String, Title As String, Summary As String, Default As Int, Min As Int, Max As Int) As SeekBarPreference
AddSimplePreference (EventName As String, Key As String, Title As String, Summary As String, Default As String) As SimplePreference
AddSwitchPreference (EventName As String, Key As String, Title As String, SummaryOn As String, SummaryOff As String, Default As Boolean) As SwitchPreference
DesignerCreateView (base As PanelWrapper, lw As LabelWrapper, props As Map)
Initialize (EventName As String, Parent As android.view.ViewGroup)

RingTonePreference


This is an 'Activity Object', it cannot be declared under Sub Process_Globals.

Events:

PreferenceChanged (Preference As Preference, NewValue As Object)
PreferenceClicked (Preference As Preference)

Members:


  DefaultValue As Object [write only]

  Dependency As String

  DialogIcon As android.graphics.drawable.Drawable

  DialogIconTintEnabled As Boolean [write only]

  DialogMessage As CharSequence

  DialogTitle As CharSequence

  Enabled As Boolean

  Icon As android.graphics.drawable.Drawable

  IconPaddingEnabled As Boolean [write only]

  IconTintEnabled As Boolean [write only]

  Initialize (PreferenceView As PreferenceView, EventName As String, Key As String, DefaultValue As Object)

  Intent As android.content.Intent

  IsInitialized As Boolean

  Key As String

  NegativeButtonText As CharSequence

  Order As Int

  Persistent As Boolean

  PositiveButtonText As CharSequence

  RINGTONE_TYPE_ALARM As Int

  RINGTONE_TYPE_ALL As Int

  RINGTONE_TYPE_NOTIFICATION As Int

  RINGTONE_TYPE_RINGTONE As Int

  RingToneType As Int

  Selectable As Boolean

  ShowDefault As Boolean

  ShowSilent As Boolean

  Summary As String

  SummaryTextColor As Int [write only]

  Title As String

  TitleTextColor As Int [write only]

  Visible As Boolean

Members description:

DefaultValue As Object [write only]
Dependency As String
DialogIcon As android.graphics.drawable.Drawable
DialogIconTintEnabled As Boolean [write only]
DialogMessage As CharSequence
DialogTitle As CharSequence
Enabled As Boolean
Icon As android.graphics.drawable.Drawable
IconPaddingEnabled As Boolean [write only]
IconTintEnabled As Boolean [write only]
Initialize (PreferenceView As PreferenceView, EventName As String, Key As String, DefaultValue As Object)
Initializes the object
Intent As android.content.Intent
IsInitialized As Boolean
Key As String
NegativeButtonText As CharSequence
Order As Int
Persistent As Boolean
PositiveButtonText As CharSequence
RINGTONE_TYPE_ALARM As Int
RINGTONE_TYPE_ALL As Int
RINGTONE_TYPE_NOTIFICATION As Int
RINGTONE_TYPE_RINGTONE As Int
RingToneType As Int
Selectable As Boolean
ShowDefault As Boolean
ShowSilent As Boolean
Summary As String
SummaryTextColor As Int [write only]
Title As String
TitleTextColor As Int [write only]
Visible As Boolean

SeekBarDialogPreference


This is an 'Activity Object', it cannot be declared under Sub Process_Globals.

Events:

PreferenceChanged (Preference As Preference, NewValue As Object)
PreferenceClicked (Preference As Preference)

Members:


  DefaultValue As Object [write only]

  Dependency As String

  DialogIcon As android.graphics.drawable.Drawable

  DialogIconTintEnabled As Boolean [write only]

  DialogMessage As CharSequence

  DialogTitle As CharSequence

  Enabled As Boolean

  Icon As android.graphics.drawable.Drawable

  IconPaddingEnabled As Boolean [write only]

  IconTintEnabled As Boolean [write only]

  Initialize (PreferenceView As PreferenceView, EventName As String, Key As String, DefaultValue As Object)

  Intent As android.content.Intent

  IsInitialized As Boolean

  Key As String

  Max As Int

  Min As Int

  NegativeButtonText As CharSequence

  Order As Int

  Persistent As Boolean

  PositiveButtonText As CharSequence

  Progress As Int

  Selectable As Boolean

  Summary As String

  SummaryTextColor As Int [write only]

  Title As String

  TitleTextColor As Int [write only]

  Visible As Boolean

Members description:

DefaultValue As Object [write only]
Dependency As String
DialogIcon As android.graphics.drawable.Drawable
DialogIconTintEnabled As Boolean [write only]
DialogMessage As CharSequence
DialogTitle As CharSequence
Enabled As Boolean
Icon As android.graphics.drawable.Drawable
IconPaddingEnabled As Boolean [write only]
IconTintEnabled As Boolean [write only]
Initialize (PreferenceView As PreferenceView, EventName As String, Key As String, DefaultValue As Object)
Initializes the object
Intent As android.content.Intent
IsInitialized As Boolean
Key As String
Max As Int
Min As Int
NegativeButtonText As CharSequence
Order As Int
Persistent As Boolean
PositiveButtonText As CharSequence
Progress As Int
Selectable As Boolean
Summary As String
SummaryTextColor As Int [write only]
Title As String
TitleTextColor As Int [write only]
Visible As Boolean

SeekBarPreference


This is an 'Activity Object', it cannot be declared under Sub Process_Globals.

Events:

ProgressChanged (Progress As Int, UserChanged As Boolean)
PreferenceChanged (Preference As Preference, NewValue As Object)
PreferenceClicked (Preference As Preference)

Members:


  Adjustable As Boolean

  DefaultValue As Object [write only]

  Dependency As String

  Enabled As Boolean

  Icon As android.graphics.drawable.Drawable

  IconPaddingEnabled As Boolean [write only]

  IconTintEnabled As Boolean [write only]

  Info As CharSequence

  Initialize (PreferenceView As PreferenceView, EventName As String, Key As String, DefaultValue As Object)

  Intent As android.content.Intent

  IsInitialized As Boolean

  Key As String

  Max As Int

  Min As Int

  Order As Int

  Persistent As Boolean

  SeekBarIncrement As Int

  Selectable As Boolean

  ShowValue As Boolean

  Summary As String

  SummaryTextColor As Int [write only]

  Title As String

  TitleTextColor As Int [write only]

  Value As Int

  Visible As Boolean

Members description:

Adjustable As Boolean
DefaultValue As Object [write only]
Dependency As String
Enabled As Boolean
Icon As android.graphics.drawable.Drawable
IconPaddingEnabled As Boolean [write only]
IconTintEnabled As Boolean [write only]
Info As CharSequence
Initialize (PreferenceView As PreferenceView, EventName As String, Key As String, DefaultValue As Object)
Initializes the object
Intent As android.content.Intent
IsInitialized As Boolean
Key As String
Max As Int
Min As Int
Order As Int
Persistent As Boolean
SeekBarIncrement As Int
Selectable As Boolean
ShowValue As Boolean
Summary As String
SummaryTextColor As Int [write only]
Title As String
TitleTextColor As Int [write only]
Value As Int
Visible As Boolean

SimplePreference


This is an 'Activity Object', it cannot be declared under Sub Process_Globals.

Events:

PreferenceLongClicked (Preference As Preference) As Boolean
PreferenceChanged (Preference As Preference, NewValue As Object)
PreferenceClicked (Preference As Preference)

Members:


  DefaultValue As Object [write only]

  Dependency As String

  Enabled As Boolean

  Icon As android.graphics.drawable.Drawable

  IconPaddingEnabled As Boolean [write only]

  IconTintEnabled As Boolean [write only]

  Initialize (PreferenceView As PreferenceView, EventName As String, Key As String, DefaultValue As Object)

  Intent As android.content.Intent

  IsInitialized As Boolean

  Key As String

  Order As Int

  Persistent As Boolean

  Selectable As Boolean

  Summary As String

  SummaryTextColor As Int [write only]

  Title As String

  TitleTextColor As Int [write only]

  Visible As Boolean

Members description:

DefaultValue As Object [write only]
Dependency As String
Enabled As Boolean
Icon As android.graphics.drawable.Drawable
IconPaddingEnabled As Boolean [write only]
IconTintEnabled As Boolean [write only]
Initialize (PreferenceView As PreferenceView, EventName As String, Key As String, DefaultValue As Object)
Initializes the object
Intent As android.content.Intent
IsInitialized As Boolean
Key As String
Order As Int
Persistent As Boolean
Selectable As Boolean
Summary As String
SummaryTextColor As Int [write only]
Title As String
TitleTextColor As Int [write only]
Visible As Boolean

SwitchPreference


This is an 'Activity Object', it cannot be declared under Sub Process_Globals.

Events:

PreferenceChanged (Preference As Preference, NewValue As Object)
PreferenceClicked (Preference As Preference)

Members:


  Checked As Boolean

  DefaultValue As Object [write only]

  Dependency As String

  DisableDependentsState As Boolean

  Enabled As Boolean

  Icon As android.graphics.drawable.Drawable

  IconPaddingEnabled As Boolean [write only]

  IconTintEnabled As Boolean [write only]

  Initialize (PreferenceView As PreferenceView, EventName As String, Key As String, DefaultValue As Object)

  Intent As android.content.Intent

  IsInitialized As Boolean

  Key As String

  Order As Int

  Persistent As Boolean

  Selectable As Boolean

  Summary As String

  SummaryOffText As CharSequence

  SummaryOnText As CharSequence

  SummaryTextColor As Int [write only]

  Title As String

  TitleTextColor As Int [write only]

  Visible As Boolean

Members description:

Checked As Boolean
DefaultValue As Object [write only]
Dependency As String
DisableDependentsState As Boolean
Enabled As Boolean
Icon As android.graphics.drawable.Drawable
IconPaddingEnabled As Boolean [write only]
IconTintEnabled As Boolean [write only]
Initialize (PreferenceView As PreferenceView, EventName As String, Key As String, DefaultValue As Object)
Initializes the object
Intent As android.content.Intent
IsInitialized As Boolean
Key As String
Order As Int
Persistent As Boolean
Selectable As Boolean
Summary As String
SummaryOffText As CharSequence
SummaryOnText As CharSequence
SummaryTextColor As Int [write only]
Title As String
TitleTextColor As Int [write only]
Visible As Boolean

Top