Where/how shellcontent_toolbar and main_toolbar resources are defined in the source code

こ雲淡風輕ζ 提交于 2020-12-15 06:13:47

问题


In the continuous search for a solution to my question: Append a control above/upper to the Shell App bar without altering it

As it seems the hamburger button is part of the Toolbar, I was investigating this latter, but I cannot find where/how shellcontent_toolbar and main_toolbar resources are defined?


回答1:


You could look at ShellToolbarTracker,in this source codes,you could see the hamburger button (DrawerArrowDrawable icon ) is set in the toolbar.



来源:https://stackoverflow.com/questions/64505934/where-how-shellcontent-toolbar-and-main-toolbar-resources-are-defined-in-the-sou

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