Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Preference library version 28 creates huge padding on the left side of each preference

I updated the com.android.support:preference library from version 27 to 28 and ever since I did that, there is a huge amount of padding to the left of each preference. It's almost like it's assuming that there will be icons there, but I have no icons specified. See screenshot below. Is there a way to get rid of this padding?

PreferenceScreen layout

like image 740
SilentByte Avatar asked Sep 30 '18 16:09

SilentByte


1 Answers

Try set:

app:iconSpaceReserved="false"
like image 195
mducc Avatar answered Nov 17 '22 00:11

mducc