Coder Social home page Coder Social logo

m1ga / actionbarextras Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ricardoalcocer/actionbarextras

2.0 1.0 2.0 96.7 MB

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

License: MIT License

JavaScript 30.39% Java 69.61%

actionbarextras's Introduction

ActionBarExtras

gittio License issues

Overview

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

Features

  • Title and Subtitle
  • Sharing Action Provider
  • Dropdown menu
  • font: type, color, size, weight
  • FontAwesome support for title, logo and menu
  • and many more...

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:

// 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:

Some apps using ActionBarExtras

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

Contributors

See contributors

License

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

actionbarextras's People

Stargazers

 avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.