Questions tagged [android-design-library]

The Design package provides APIs to support adding material design components and patterns to your apps.

The Design Support library adds support for various material design components and patterns for app developers to build upon, such as navigation drawers, floating action buttons (FAB), snackbars, and tabs.

744 questions
26
votes
3 answers

CollapsingToolbarLayout setTitle() does not update unless collapsed

With the new Design Library, we're supposed to set the toolbar title on the CollapsingToolbarLayout, not the Toolbar itself(at least when using the collapsing toolbar). But setTitle() only updates the title in the following specific…
25
votes
3 answers

BottomSheetBehaviour setstate without animation

I have tried the new BottomSheetBehaviour with design library 23.0.2 but i think it too limited. When I change state with setState() method, the bottomsheet use ad animation to move to the new state. How can I change state immediately, without…
25
votes
7 answers

File res/drawable/abc_ic_ab_back_material.xml from drawable resource ID #0x7f020016

Recently android support library was updated to 23.2.0. After downloading android sdk and updating android design support library into 23.2.0, this error happens repeatedly. My project can't even be compiled. The complete error log says: 03-02…
SilentKnight
  • 13,761
  • 19
  • 49
  • 78
25
votes
4 answers

fab.show() not animated first time after initializing new activity

I am using the floating action button (fab) component from com.android.support:design:23.1.0 Library to generate my app's fabs. But the first time I load a new activity with fab.hide() and try to make the icon visible through fab.show() after a…
24
votes
5 answers

android.support.design.button.MaterialButton throws InflateException

I am trying to follow the The MDC Codelab on codelabs.developers.google.com with the latest library versions. The EditText -android.support.design.widget.TextInputEditText seems to work as expected however upon using the…
24
votes
5 answers

Hiding AppBarLayout and giving its space to the remaining view

I have a pretty standard layout using the new design libraries: