set Activity No Title - Android Activity

Android examples for Activity:Activity Title

Description

set Activity No Title

Demo Code


//package com.java2s;
import android.app.Activity;

import android.view.Window;

public class Main {
    public static void setNoTitle(Activity activity) {
        activity.requestWindowFeature(Window.FEATURE_NO_TITLE);

    }/*w w w  .j av a2 s.  co m*/
}

Related Tutorials