setVisible
Sets whether this preference should be visible to the user. If false, it is excluded from the adapter, but can still be retrieved using findPreference.
To show this preference to the user, its ancestors must also all be visible. If you make a PreferenceGroup invisible, none of its children will be shown to the user until the group is visible.
Parameters
visible
Set false if this preference should be hidden from the user isPreferenceVisible