I use Android actionbar and tabs and I want to change my tabs background color. I tried to apply it to the following in my style:
Widget.AppCompat.ActionBar
Widget.AppCompat.ActionBar.TabBar
Widget.AppCompat.ActionBar.TabView
Widget.AppCompat.ActionBar.Solid
It works in all cases, but dividers (little bars between each tab) are removed at the well. How can I avoid this?
You could define a style and apply it to your app or activity:
File
styles.xml:File
color.xml:Apply to app in
AndroidManifest.xml: