Dim screen As PreferenceScreen
screen.Initialize("Settings", "")
Dim catGeneral As PreferenceCategory
catGeneral.AddList("LockScreenOrientationMode", "Lock the screen in portrait or landscape mode", "Select to Lock the screen in portrait or landscape mode", "Auto (Unlocked)", _
Array As String("Auto (Unlocked)", "Portrait", "Landscape", "Reversed Portrait", "Reversed Landscape"))
screen.AddPreferenceCategory(catGeneral)