Layout problem with SDK 28
RiRomain opened this issue · 2 comments
RiRomain commented
RiRomain commented
Ok, seems to be a "feature"
https://issuetracker.google.com/issues/111907042#comment6
Status: Won't Fix (Intended Behavior)
Always reserving icon space is intended according to Material design patterns - see https://material.io/design/platform-guidance/android-settings.htmlGiven that PreferenceThemeOverlay follows Material specifications, if you do not want any icon space reserved the simplest way would be to create your own theme that extends PreferenceThemeOverlay, and sets iconSpaceReserved to false for each relevant Preference type.
gregkorossy commented
Yes, it is the intended behavior. You can set the app:iconSpaceReserved="false"
in the preference XML, too, on every Preference.