از کد زیر استفاده کن
کد پیاچپی:
getSupportActionBar().setBackgroundDrawable(new
ColorDrawable(Color.parseColor("#fff")));