agony
agony

Reputation: 563

ActionBar implementation

which is better to use, GreenDroid, ActionBarSherlock or the ActionBarCompat library? i'm really having problems in making my app interface for this feature.

Upvotes: 2

Views: 401

Answers (2)

Padma Kumar
Padma Kumar

Reputation: 20041

//use your custom xml view to show your actionbar

View actionBarView = getLayoutInflater().inflate(R.layout.action_bar_custom_view, null);
actionBar.setCustomView(actionBarView);
actionBar.setDisplayOptions(ActionBar.DISPLAY_SHOW_CUSTOM);

Upvotes: 2

EsbenG
EsbenG

Reputation: 28162

A simple thing is to do your own BUT if you really want it you could try actionbarsherlock, best is always a question about preference but I use sherlock. With your own you don't have some of the small quirks which comes with the bigger libraries.

Upvotes: 0

Related Questions