Git Product home page Git Product logo

taltstidl / appcompat-extension-library Goto Github PK

View Code? Open in Web Editor NEW
304.0 11.0 42.0 2.87 MB

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.

License: Apache License 2.0

Java 100.00%
android material-design appcompat floatingactionmenu picker-dialogs navigation-drawer collapsingtoolbarlayout drawable roboto-fonts

appcompat-extension-library's People

Contributors

athospg avatar fountaingeyser avatar taltstidl avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

appcompat-extension-library's Issues

Improve FlexibleToolbarLayout

There are a few things I'd like to do before releasing this:

  • Better right-to-left support
  • Methods for manually expanding and collapsing the FlexibleToolbarLayout (might be useful for choreographed transitions)

Support for AppCompat 23.1.0

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 😃!

Improve AccountHeaderView

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

Date select Is not correct

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.

Pre lollipop problems

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.

Add MusicControlDrawable

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.

Improve TypefaceCompat

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)
  • Documentation

Add FlexibleToolbarLayout

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.

更新UI时,界面闪烁。

执行以下2句代码的时候,app界面会看见floatingActionMenu闪烁几次。
1、floatingActionMenu.removeButton(fab);
2、floatingActionMenu.addButton(fab);

希望在floatingActionMenu关闭的时候更新UI时,界面不闪烁。

Improve FloatingActionMenu

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

Show NullPointerException

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.