Tuesday, 7 August 2018

Adjust margin/padding on preference screen

I would like to adjust the default margim/padding values for PreferenceScreen on android, I know it's not possible to simple set it on xml but android gets this value from somewhere and PROBABLY (I hope) I can set some style attr and achieve it.

The values I want to adjust are:

enter image description here

I found this answer online: Android: How to maximize PreferenceFragment width (or get rid of margin)?

but it really uses a really bad workaround, i would like to try some official parameters.

Does anyone knows who can i achieve it by adjusting styles or some other fields?



from Adjust margin/padding on preference screen

No comments:

Post a Comment