findPreference

Finds a Preference based on its key. If two Preferences share the same key (not recommended), the first to appear will be returned.

This will recursively search for the Preference in any children that are also PreferenceGroups.

Return

The Preference with the key, or null

Parameters

key

The key of the Preference to retrieve