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.
As expected, this release breaks a couple of things in my library (especially since they switched the NavigationView to use a RecyclerView now). I'm actively working on resolving those issues and getting a new release out as soon as possible. Hang in there 😃!
The AccountHeaderView will get a new set of additional features (see checklist below). If you have any additional requests for this component, please bring them forward in this issue. Thanks!
Checklist for Release 0.4.0:
Ability to make accounts selectable (via checkboxes)
Ability to show extra info on accounts (icon and text) to e.g. display unread message counts
Lines #246 - #256 of FlexibleToolbarLayout.java are incorrect, in that they read the sub title style, but apply it to the title instead of the subtitle.
public void onDateSet(AppCompatDatePicker view, int year, int month, int day) {
// Do something with the date chosen by the user
Toast.makeText(getContext(), "year="+year+"month="+month+"day="+day, Toast.LENGTH_SHORT).show();
}
The month is not corrent.For example,the current month is12,it will show 11.
Hi, first let me say that I love your library but i'm having problems, even with your sample app your library doesn't seem to work on pre lollipop devices.
This would be an implementation of the animation presented in the Delightful Details section of the Google Design guidelines. While only few developers will probably need this, it would still be cool to have it for those who do.
Currently the TypefaceCompat implementation has a lot of .ttf files in the assets folder leading to larger apk sizes. It would be good to reduce the number of supported typefaces to a minimum while ensuring that all basic typography features are still implemented.
Also, the documentation need to be vastly improved (there currently is none 😁)
Checklist for Release 0.4.0:
Ability to properly detect system typefaces (see pull request #19)
The Design Support Library has a component called CollapsingToolbarLayout which is quite cool when used with a parallax image and only text. I can think of a few annoyances though, that I'd like to fix in my own version of this (FlexibleToolbarLayout):
The CollapsingToolbarLayout only allows text to be scaled. While this is enough for some cases, I'd like to be able to use an image, a title and a subtitle (much like in Telegram Messenger).
The CollapsingToolbarLayout doesn't render a shadow when not completely collapsed, even when there's no image involved, just a solid color.
The CollapsingToolbarLayout doesn't respond to touches within itself.
There are a lot of details in the Picker section of the Google Design guidelines. It would be nice to implement the look of the updated pickers for all Android versions.
Any other suggestions for improving the FloatingActionMenu? Feel free to comment below!
Checklist for Release 0.4.0:
The animation isn't quite the same as the Speed dial presented in the Material Design Guidelines
The labels should have elevation and state support (along with show and hide() methods for animation purposes), this will probably result in a new LabelView
The RotationTransitionDrawable should also rotate pre-Honeycomb with the help of the new ValueAnimatorCompat
The attributes should include one which allows you to customize the distance between buttons
java.lang.NullPointerException: Attempt to invoke virtual method 'void com.tr4android.support.extension.drawable.ColorTransitionDrawable.setColorRatio(float)' on a null object reference
I have use updated version of android studio Android Studio Dolphin 2021.3.1 Patch 1.
Android studio previous version is proper work but after update show anytime NullPointerException.