Remove empty icon spaces on androidx preferences
问题 I have just migrated my project to use androidx libraries. The new preferences/Settings Screen now displays empty icon spaces as shown in the picture here. I tried the official documentation with no luck. How to remove the empty icon spaces before preferences? 回答1: You can remove the empty icon space with this: app:iconSpaceReserved="false" 来源: https://stackoverflow.com/questions/54394971/remove-empty-icon-spaces-on-androidx-preferences