Example usage for android.view Window FEATURE_NO_TITLE

List of usage examples for android.view Window FEATURE_NO_TITLE

Introduction

In this page you can find the example usage for android.view Window FEATURE_NO_TITLE.

Prototype

int FEATURE_NO_TITLE

To view the source code for android.view Window FEATURE_NO_TITLE.

Click Source Link

Document

Flag for the "no title" feature, turning off the title at the top of the screen.

Usage

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 setNoTitle(Activity activity) {
    activity.requestWindowFeature(Window.FEATURE_NO_TITLE);
}

From source file:Main.java

public static void setNoTitleBar(Activity context) {

    context.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 setNoTitlebar(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 hiddenTitleBarAndFullScreen(Activity activity) {
    activity.requestWindowFeature(Window.FEATURE_NO_TITLE);
    int flag = WindowManager.LayoutParams.FLAG_FULLSCREEN;
    activity.getWindow().setFlags(flag, flag);

}

From source file:Main.java

/**
 * Remove title bar
 * @param activity
 */
public static void NoTitle(Activity activity) {
    activity.requestWindowFeature(Window.FEATURE_NO_TITLE);
}

From source file:Main.java

/**
 * set no title//from  w w w. j av a  2 s  . c o  m
 * 
 * @param activity
 */
public static void setNotTitleScreen(Activity activity) {
    activity.requestWindowFeature(Window.FEATURE_NO_TITLE);
}