How to change Toolbar navigation icon and options menu margin

后端 未结 1 1319
春和景丽
春和景丽 2020-12-13 05:26

Is there any way to change the left margin of the Navigation icon and the right margin of the Action items in Toolbar?

1条回答
  •  星月不相逢
    2020-12-13 05:54

    I went through the Toolbar source code to find a solution and it turned out to be pretty simple.

    Toolbar uses two styles to style the toolbar and the navigation icon. Just had to override those styles with my own.

    
    
    
    
    
    

    0 讨论(0)
提交回复
热议问题