List of usage examples for android.app Activity requestWindowFeature
public final boolean requestWindowFeature(int featureId)
From source file:Main.java
public static void noTitleBar(Activity activity) { activity.requestWindowFeature(Window.FEATURE_NO_TITLE); }
From source file:Main.java
public static void setNoTitleBar(Activity activity) { activity.requestWindowFeature(Window.FEATURE_NO_TITLE); }
From source file:Main.java
public static void setNoTitlebar(Activity activity) { activity.requestWindowFeature(Window.FEATURE_NO_TITLE); }
From source file:Main.java
public static void setNoTitle(Activity activity) { activity.requestWindowFeature(Window.FEATURE_NO_TITLE); }
From source file:Main.java
public static void RequestFullscreenMode(Activity activity) { activity.requestWindowFeature(Window.FEATURE_NO_TITLE); activity.getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN, WindowManager.LayoutParams.FLAG_FULLSCREEN); }
From source file:Main.java
public static void setNoTitleBar(Activity context) { context.requestWindowFeature(Window.FEATURE_NO_TITLE); }
From source file:Main.java
/** * Remove title bar//from w ww. j a va2 s. c o m * @param activity */ public static void NoTitle(Activity activity) { activity.requestWindowFeature(Window.FEATURE_NO_TITLE); }
From source file:Main.java
public static void hideStatusBar(Activity activity) { activity.requestWindowFeature(Window.FEATURE_NO_TITLE); activity.getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN, WindowManager.LayoutParams.FLAG_FULLSCREEN); }
From source file:Main.java
public static void asFullScreen(Activity activity) { activity.requestWindowFeature(Window.FEATURE_NO_TITLE); activity.getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN, WindowManager.LayoutParams.FLAG_FULLSCREEN); }
From source file:Main.java
public static void hiddenTitleBarAndFullScreen(Activity activity) { activity.requestWindowFeature(Window.FEATURE_NO_TITLE); int flag = WindowManager.LayoutParams.FLAG_FULLSCREEN; activity.getWindow().setFlags(flag, flag); }