Android transparent overlay toolbar

前端 未结 8 2060
[愿得一人]
[愿得一人] 2020-12-08 07:57

I created a ToolBar which I set as my ActionBar and I have it transparent, my question is I want it to overlay the rest of the content, right now i

8条回答
  •  南方客
    南方客 (楼主)
    2020-12-08 08:35

    You should set the transparency on the AppBarLayout instead of the Toolbar and remove the app:layout_behavior if you want it to overlay the content.

提交回复
热议问题