
view plaincopy to clipboardprint?

package com.android.tutor;

import android.app.Activity;

import android.os.Bundle;

import android.view.Window;

import android.view.WindowManager;
public class OpenGl_Lesson1 extends Activity {
public void onCreate(Bundle savedInstanceState) {

super.onCreate(savedInstanceState);
//无title 
requestWindowFeature(Window.FEATURE_NO_TITLE);
//全屏 
getWindow().setFlags(WindowManager.LayoutParams. FLAG_FULLSCREEN ,

WindowManager.LayoutParams. FLAG_FULLSCREEN);

setContentView(R.layout.main);

}

}

package com.android.tutor;

import android.app.Activity;

import android.os.Bundle;

import android.view.Window;

import android.view.WindowManager;
public class OpenGl_Lesson1 extends Activity {
public void onCreate(Bundle savedInstanceState) {

super.onCreate(savedInstanceState);
//无title 
requestWindowFeature(Window.FEATURE_NO_TITLE);
//全屏 
getWindow().setFlags(WindowManager.LayoutParams. FLAG_FULLSCREEN ,

WindowManager.LayoutParams. FLAG_FULLSCREEN);

setContentView(R.layout.main);

}

}