Remove empty icon spaces on androidx preferences

久未见 提交于 2020-12-12 06:16:05

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!