hide Title Bar via Activity - Android Activity

Android examples for Activity:Activity Title

Description

hide Title Bar via Activity

Demo Code


//package com.java2s;

import android.app.Activity;

import android.view.Window;

public class Main {

    public static void hideTitleBar(Activity activity) {
        activity.requestWindowFeature(Window.FEATURE_NO_TITLE);
    }//from   w  w  w  . j  a  v a2 s.com
}

Related Tutorials