@@ -0,0 +1,873 @@
+package com.dailystudio.app.utils;%0A%0Aimport android.app.Activity;%0Aimport android.os.Build;%0Aimport android.view.View;%0Aimport android.view.Window;%0Aimport android.view.WindowManager;%0A%0A/**%0A * Created by nanye on 17/1/19.%0A */%0A%0Apublic class OSUtils %7B%0A%0A    public static void hideStatusBar(Activity activity) %7B%0A        if (activity == null) %7B%0A            return;%0A        %7D%0A%0A        Window window = activity.getWindow();%0A        if (window == null) %7B%0A            return;%0A        %7D%0A%0A        if (Build.VERSION.SDK_INT %3C 16) %7B%0A            window.setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN,%0A                    WindowManager.LayoutParams.FLAG_FULLSCREEN);%0A        %7D else %7B%0A            View decorView = window.getDecorView();%0A%0A            if (decorView != null) %7B%0A                decorView.setSystemUiVisibility(View.SYSTEM_UI_FLAG_FULLSCREEN);%0A            %7D%0A        %7D%0A    %7D%0A%0A%7D%0A

add os utils;