Can't convert to dimension: type=0x1 when inflating the layout [duplicate]

吃可爱长大的小学妹 提交于 2019-12-02 00:26:51

I've found that i lack of value in dimens.xml file. So it cause error

As with all android resources, dimensions are stored in various qualified values.

values\dimens.xml
values-v21\dimens.xml
values-land\dimens.xml

It may be that the dimension is available in some, but not all necessary locations.

The easiest fix for this problem, is to add an entry into values\dimens.xml which is the fall-back place if any of the specifics fail.

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