set app icon to right side in activity tool bar

后端 未结 3 960
执笔经年
执笔经年 2020-12-30 12:33

I am working with the \'AppCompact\' library and faced some problems with layout/positioning. I want to position the App icon on the right hand side of the \'ActionBar\'. O

3条回答
  •  刺人心
    刺人心 (楼主)
    2020-12-30 13:16

    There is no other way than set the layout to RTL or implement it yourself. Even if you subclass Toolbar and try to change onLayout, you would need to recalculate position of all views.

提交回复
热议问题