This module provides some extra functionality to configure the ActionBar that Titanium doesn't offer.
- Title and Subtitle
- Sharing Action Provider
- Dropdown menu
- font: type, color, size, weight
- FontAwesome support for title, logo and menu
- and many more...
Download the latest distribution ZIP-file and consult the Titanium Documentation on how install it, or simply use the gitTio CLI:
$ gittio install com.alcoapps.actionbarextras
First require it:
var abx = require('com.alcoapps.actionbarextras');
At this point the feature for forcing the "menu overflow" has been attached to your Activity, so if that's the only thing you were looking for, you're set.
Now, you can set custom properties like this:
// NOTE: make sure that your window is open
// before you access the actionbar with abx
win.addEventListener('open',function(e){
// setting extras
abx.title = "The Title";
abx.titleFont = "Chunkfive.otf";
abx.titleColor = "blue";
});
To see what else you can do, see:
Make sure you send me your app links or a PR with an updated README.md
See contributors
MIT License - http://alco.mit-license.org