hide On
Hide the Preference on selected layouts.
Return
Preference if visible otherwise null.
hideOn is usually followed by some actions on the preference which are mostly unnecessary when the preference is disabled for the said layout thus returning null.