Skip to content Skip to sidebar Skip to footer

Android Toolbar Color Change

I have an app which uses android.support.v7.widget.Toolbar. Every section of the app is a Fragment accessed through a support.v4.widget.DrawerLayout I need to change the Toolbar co

Solution 1:

First of all themes are immutable, so it's not possible to change the primary color of the app.

And try using getSupportActionBar().setBackgroundDrawable().

I guess it's something else which is causing the issue. Can you post more code ?

Post a Comment for "Android Toolbar Color Change"