FullScreenActivity.java :  » Sudoku » sudoku2 » com » liren » game » Android Open Source

Android Open Source » Sudoku » sudoku2 
sudoku2 » com » liren » game » FullScreenActivity.java
package com.liren.game;

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

public class FullScreenActivity extends Activity {
  @Override
  protected void onCreate(Bundle savedInstanceState) {      
    this.requestWindowFeature(Window.FEATURE_NO_TITLE);
        this.getWindow().setFlags(WindowManager.LayoutParams. FLAG_FULLSCREEN ,
          WindowManager.LayoutParams. FLAG_FULLSCREEN);
        super.onCreate(savedInstanceState);
  }
}
java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.