删除androidx首选项上的空白图标空间 [英] Remove empty icon spaces on androidx preferences

查看:73
本文介绍了删除androidx首选项上的空白图标空间的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚刚迁移了项目以使用 androidx 库.新的首选项/设置"屏幕现在显示空白的图标空间,如图片

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?

推荐答案

您可以使用以下方法删除空白的图标空间:

You can remove the empty icon space with this:

app:iconSpaceReserved="false"

这篇关于删除androidx首选项上的空白图标空间的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆