Toolbar title not in center when Back Button is enable

前端 未结 6 657
名媛妹妹
名媛妹妹 2021-02-02 13:53

I\'m trying to display my toolbar title in the center and to do it I use the method which is given in this answer :-Toolbar Center title

However, when I enable back butt

6条回答
  •  不思量自难忘°
    2021-02-02 14:00

    Having a placeholder image the same size as the back arrow and setting it to be invisible when the back arrow is not shown and gone when it's displayed did the trick for me.

    
    
    
    
    
    
    
    
    
    

提交回复
热议问题