Skip to content

Adriano72/actionbarextras

 
 

Repository files navigation

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
  • font: type, color, size, weight
  • disable icon
  • custom Up 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


Peerby

Collapp

Unit+Size Converter

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published