Created
September 19, 2014 08:49
-
-
Save manumaticx/e1c4e68884d58cb60b06 to your computer and use it in GitHub Desktop.
Split ActionBar Alloy example
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<Alloy> | |
<Window splitActionBar="true"> | |
<Menu> | |
<!-- Action Items --> | |
<MenuItem icon="/images/ic_action_edit.png" showAsAction="Ti.Android.SHOW_AS_ACTION_ALWAYS" /> | |
<MenuItem icon="/images/ic_action_important.png" showAsAction="Ti.Android.SHOW_AS_ACTION_ALWAYS" /> | |
<MenuItem icon="/images/ic_action_labels.png" showAsAction="Ti.Android.SHOW_AS_ACTION_ALWAYS" /> | |
<!-- some other Menu items --> | |
<MenuItem title="Settings" showAsAction="Ti.Android.SHOW_AS_ACTION_NEVER" /> | |
<MenuItem title="About" showAsAction="Ti.Android.SHOW_AS_ACTION_NEVER" /> | |
<MenuItem title="Help" showAsAction="Ti.Android.SHOW_AS_ACTION_NEVER" /> | |
</Menu> | |
<Label text="Split ActionBar" /> | |
</Window> | |
</Alloy> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://twitter.com/manumaticx/status/512889487169683456