Java tutorial
//package com.java2s; import android.app.Activity; public class Main { private static void setStatusBarColor(Activity activity, int color) { activity.getWindow().setStatusBarColor(color); } }