@Override
 public void onCreate(Bundle savedInstanceState) {
   super.onCreate(savedInstanceState);
   setContentView(R.layout.activity_lockscreen);
   TQJApplication.getInstance().addActivity(this);
   instance = this;
 }
Beispiel #2
0
 public void onCreate(Bundle savedInstanceState) {
   super.onCreate(savedInstanceState);
   // 去掉Activity标题栏
   this.requestWindowFeature(Window.FEATURE_NO_TITLE);
   // 去掉任务条
   this.getWindow()
       .setFlags(
           WindowManager.LayoutParams.FLAG_FULLSCREEN, WindowManager.LayoutParams.FLAG_FULLSCREEN);
   setContentView(R.layout.base);
 }
 @Override
 protected void onDestroy() {
   TQJApplication.getInstance().finishActivity(this);
   super.onDestroy();
 }