A library that builds on the AppCompat Design Library and provides additional common components such as AccountHeaderView, FloatingActionMenu, CircleImageView, Picker Dialogs, FlexibleToolbarLayout, Delightful Detail Drawables and TypefaceCompat.
This is a maintenance release for the existing components:
TypefaceCompat
: your app will continue to compile, however, the Roboto resources have been removed to conserve space and will no longer be applied on pre-Lollipop devices. Use downloadable fonts or FontsContractCompat instead. Thanks to @fountaingeyser!AccountHeaderView
: you can now build your own account classes based on the IAccount
interface. The built-in Account
class is still available to quickly get started. Thanks again to @fountaingeyser.Happy coding!
This release contains a couple of improvements to the existing components:
FloatingActionMenu
: you can now add more advanced label styles with elevation support back to API level 7 and touch feedback.AccountHeaderView
: you can now show checkboxes and additional info (consisting of an icon and some text) in the account list. The dropdown arrow is now finally animated.TypefaceCompat
: it now respects the system typeface if it is a custom typeface as opposed to the default Roboto typeface on API levels higher than 14. Thanks to @fountaingeyser for the pull request!NullPointerException
in AppCompatDatePickerDialog
. Thanks goes to @athospg for the pull request!Enjoy the new update and thanks for your patience :tada:
This is an exciting release for anyone who wants to use the beautiful picker dialogs presented in the Material Design guidelines (click here for reference)! The following has changed:
AppCompatDatePickerDialog
and AppCompatTimePickerDialog
: easy-to-use, configurable and Material Design compliant dialogs that allow selection of dates and times. See the updated sample, the readme and the wiki for additional info.PlaceholderDrawable
: usage of a simple placeholder is no longer confined to the CircleImageView
(which internally uses this drawable). Build one using new PlaceholderDrawable.Builder(context).[...]build()
.FloatingActionMenu
: you can now customize the spacing of the FloatingActionButton
s with the app:fabMenuSpacing
attribute.CircleImageView
: you can now tint the placeholder icon by using the app:placeholderIconColor
attribute.FlexibleToolbarLayout
: it now handles text ellipsis better and has better default text sizes as well as SearchView
support. Also fixes a bug with subtitle styling (thanks @TechnologySolutionsGroup!)Happy coding everyone!
I'd like to thank everyone who has taken the time to contribute to this project or who has starred this project! This is a major release just in time for Christmas:
FlexibleToolbarLayout
for usage with the AppBarLayout
instead of the CollapsingToolbarLayout
: in addition to a title it can also collapse a subtitle and an icon!Drawable
s: beautiful animations that work back to API level 7 including an IndeterminateProgressDrawable
and a MediaControlDrawable
.FloatingActionMenu
: it now has a default Behaviour
class for usage with the CoordinatorLayout
and Snackbar
s. Thanks again to @athospg!Merry Christmas to everyone and happy coding! :santa:
TypefaceCompat
on pre-Lollipop devicesAccountHeaderView
and FloatingActionMenu
)TypefaceCompat
primarily for usage with the AppCompatActivity
: support the Material Design Typography back to API 7 with one line of code! Thanks goes to @fountaingeyser.AccountHeaderView
: you can now customize the placeholder by setting a custom circle color and/or a person image to a specific Account
.FloatingActionMenu
: you can now easily setup dimming for your activity with the setupWithDimmingView(View dimmingView, int dimmingColor)
method. This also collapses the FloatingActionMenu
when the dimmed View
or the back button is clicked.CircleImageView
: you can now also use Drawable
s (and resource ids) for the placeholder! The setCircleImage...()
methods have been removed in favor of the default setImage...()
methods for better support of image-loading libraries. Instead there's the setCircleImageEnabled()
method to toggle circular images.AccountHeaderView
for usage with the AppCompat Design Library's NavigationView
: a layout for account management in the navigation drawer, complete with dropdown list.FloatingActionMenu
for usage with the AppCompat Design Library's FloatingActionButton
: a layout for an animated menu of floating action buttons.CircleImageView
: an ImageView
for displaying circular images and placeholders.