Android Studio Clock Pasek Zmień kolor

if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.KITKAT) {
  Window w = getWindow();
  w.addFlags(WindowManager.LayoutParams.FLAG_DRAWS_SYSTEM_BAR_BACKGROUNDS);
  w.setStatusBarColor(getResources().getColor(R.color.dashboard_main_color)); 
}
Ganz404