github mikepenz/AboutLibraries v4.7.0

latest releases: v11.1.3, v11.1.2, v11.1.1...
9 years ago

UPGRADE NOTES
v4.7.0 now comes with themes and the colors are set by theme. If you pass a custom theme to the AboutActivity this theme must has the AboutLibraries theme as parent or include the themed attributes. See the styles.xml of the sample activity.
This release also contains a new feature withActivityStyle which allows you to set the style of the Activity. Further details can be found in the release notes.

NEW FEATURES

  • New reworked theme / style logic
    ** it is now possible to define the style for the LibsActivity
new Libs.Builder()
    //Pass the fields of your application to the lib so it can find all external lib information
        .withFields(R.string.class.getFields())
        //provide a style (optional) (LIGHT, DARK, LIGHT_DARK_TOOLBAR)
        .withActivityStyle(Libs.ActivityStyle.LIGHT_DARK_TOOLBAR)
        //start the activity
        .start(this);

This will take the colorPrimary, colorPrimaryDark and colorAccent color values and create the activity for you. No need to handle all the AboutLibraries colors on your own anymore.
(As fallback it will also check for following color values: theme_default_primary, theme_default_primary_dark, theme_accent, about_libraries_primary, about_libraries_primary_dark, about_libraries_accent)

If you want your custom style you should overwrite one of the AboutLibraries themes and just overwrite a specific AboutLibraries color. You can still do it via the colors.xml if this is easier for you.

NEW LIBS

  • CircleIndicator
  • MaterialDialogs
  • MaterialEditText
  • AndroidSwipeLayout

Don't miss a new AboutLibraries release

NewReleases is sending notifications on new releases.