Sunday, 27 January 2013

Hiding TitleBar in Android


MainActivity.java:
package com.ram.hidingtitilebar;

import android.app.Activity;
import android.os.Bundle;
import android.view.WindowManager;

public class MainActivity extends Activity {

@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);

requestWindowFeature(Window.FEATURE_NO_TITLE);
     

setContentView(R.layout.activity_main);
}

}