setIconSpaceReserved

open fun setIconSpaceReserved(iconSpaceReserved: Boolean)(source)

Sets whether to reserve the space of this preference icon view when no icon is provided. If set to true, the preference will be offset as if it would have the icon and thus aligned with other preferences having icons.

Parameters

iconSpaceReserved

Set true if the space for the icon view should be reserved iconSpaceReserved