Android-Support-Preference-V7-Fix
Android-Support-Preference-V7-Fix copied to clipboard
Hidden divider API in support library
I just discovered that there're app:allowDividerAbove
and app:allowDividerBelow
APIs. Is it possible to use these?
Where do you see these attributes?
It's in the decompiled Preference class.
Technically, I think it would be possible to use these values as these are used in the view holder but it would be difficult to tell when should these override the divider flags.
In 28.0.0-alpha3, these attributes are being actively used as such:
<item name="allowDividerAbove">false</item>
<item name="allowDividerBelow">true</item>
<item name="iconSpaceReserved">@bool/config_materialPreferenceIconSpaceReserved</item>