我正在使用appcelerator studio为Android系统构建应用程序。 所以我想显示和自定义ToolBar。 所以这是我的index.xml布局:
<Alloy>
<Window class="container">
<ActionBar id="actionbar" title="" icon="/images/logo_decipher.png" />
<Menu>
<MenuItem id="item1" title="Settings" />
<MenuItem id="item2" title="Search" />
</Menu>
</Window>
</Alloy>
我想在此工具栏中显示我的个人图片。我尝试使用标签图标但不起作用。
答案 0 :(得分:0)
您可以使用actionbarExtras。 https://github.com/ricardoalcocer/actionbarextras/blob/master/documentation/index.md
雷