0

I'am using Android Studio 2.1.2 and want to change the color of my Action bar. How I can do this? But with XML. Please give me a detailed description to solve this problem

Thanks!

Kris
  • 19
  • 1

1 Answers1

2

Use this:

ActionBar bar = getActionBar();
bar.setBackgroundDrawable(new ColorDrawable("COLOR"));
Tom Hogan
  • 96
  • 8