title: How to change ActionBar color?
body: <p>How could I change ActionBar color?
  I've implemeted this and it works but not as I want. it changes color only after activity started, so right after app launch the original bar colour is showed, and only a second later my custom color is dislpayed. Is there any other way to handle that?
  Thanks in advance</p>
  
  <pre><code>....
  protected void onCreate(Bundle savedInstanceState) {
      super.onCreate(savedInstanceState);  
      ActionBar actionBar;
      actionBar.setBackgroundDrawable(new ColorDrawable(Color.parseColor("#879f38")));
  .....
  </code></pre>