salem / actionbarextras

Titanium Android Native Module that exposes ActionBar features not exposed by the Titanium SDK

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ActionBarExtras gittio

This module provides some extra functionality to configure the ActionBar that Titanium doesn't offer.

example

Features

  • Title and Subtitle
  • Sharing Action Provider
  • Dropdown menu
  • force overflow
  • backgroundColor
  • custom fonts
  • font color
  • disable icon

Get it gitTio

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

Using it

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:

// setting extras
abx.title = "The Title";
abx.titleFont = "Chunkfive.otf";
abx.titleColor = "blue";

To see what else you can do, see:

Some apps using ActionBarExtras

Make sure you send me your app links or a PR with an updated README.md

Contribuitors

License

MIT License - http://alco.mit-license.org

About

Titanium Android Native Module that exposes ActionBar features not exposed by the Titanium SDK

License:MIT License