【发布时间】:2016-03-14 18:25:20
【问题描述】:
如何像 Line Messenger 一样在选项卡布局中创建显示工具栏更改图标? 我一直想弄清楚,但它从来没有奏效。enter image description here
对不起,我的英语不好。谢谢!
【问题讨论】:
标签: java android swipe android-toolbar android-tablayout
如何像 Line Messenger 一样在选项卡布局中创建显示工具栏更改图标? 我一直想弄清楚,但它从来没有奏效。enter image description here
对不起,我的英语不好。谢谢!
【问题讨论】:
标签: java android swipe android-toolbar android-tablayout
您可以使用 invalidateOptionsMenu(),并且将调用 onCreateOptionsMenu() 方法,因此您可以决定扩充另一个 XML-Menu 布局。
祝你好运
【讨论】: