FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

msoftware/ActionBarPreferenceActivity: Allows to have an ActionBar on PreferenceActivity, even on pre-Honeycomb versions of Android · GitHub

 
 

Repository files navigation

ActionBarPreferenceActivityLibrary

Allows to have an ActionBar even on PreferenceActivity, even for pre-Honeycomb versions of Android.

All this library does is to simply put a Toolbar at the top of the PreferenceActivity, and you need to use the Toolbar instead of the ActionBar.

Screenshots

Gingerbread :

Lollipop :

Requirements

This library needs:

  • API 8 and above.
  • AppCompat v7.

That's it.

What this library doesn't do

Sadly, it doesn't style the preferences, but you can use the one of the support library if you wish.

It has handled dialogs in the past, but no longer. If you wish to have material-style dialogs, you can use this great library: https://github.com/fengdai/AlertDialogPro

Also, note that in order to add action items, you need to do it completely via code, without using XML. Otherwise, on some Android versions (or all?), the action items will all gather inside the overflow menu item.

Thanks

Didn't get a lot of code from others:

About

Allows to have an ActionBar on PreferenceActivity, even on pre-Honeycomb versions of Android

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages


Back | FazBrowse Home | New Git URL