Skip to content

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

License

Notifications You must be signed in to change notification settings

mpociot/actionbarextras

 
 

Repository files navigation

ActionBarExtras

gittio License issues

Overview

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

Installation

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

Contributors

project  : actionbarextras
repo age : 340 days
active   : 33 days
commits  : 78
files    : 45
authors  :
  47  Manuel Lehner         60.3%
  28  Ricardo Alcocer       35.9%
   3  Timan Rebel            3.8%

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

Languages

  • Java 80.8%
  • JavaScript 14.6%
  • Python 4.6%