Runtime DrawerLayout must be measured with MeasureSpec.EXACTLY excpetion

后端 未结 2 2107
庸人自扰
庸人自扰 2020-12-19 05:09

I\'m following this tutorial from and I\'m facing with a strange problem.

It doesn\'t matter what\'s in my DrawerLayout, but if its layout_height

2条回答
  •  不知归路
    2020-12-19 05:50

    I found putting requestWindowFeature(Window.FEATURE_NO_TITLE); before setContent() could solve this in my case.

提交回复
热议问题