Skip to content Skip to sidebar Skip to footer

Actionbar Aka Toolbar Is Black After Upgrade To Support Library V21

I have just upgraded to the newest library version after Android Lollipop was released. After I fixed serveral doublicated attributes (which where caused by the Support Library) I

Solution 1:

After a quiet long search I found in the documentation, that I need to defind the colors in the theme.

<stylename="Theme.MyTheme"parent="Theme.AppCompat.Light"><!-- customize the color palette --><itemname="colorPrimary">@color/primary_color</item><itemname="colorPrimaryDark">@color/secondary_color</item><itemname="colorAccent">@color/accent_color</item></style>

Now I can remove the images generated by the Android Action Bar Style Generator, since I don't need them anymore.

Post a Comment for "Actionbar Aka Toolbar Is Black After Upgrade To Support Library V21"