예제 #1
0
 @Override
 public void onCreate(Bundle savedInstanceState) {
   super.onCreate(savedInstanceState);
   setContentView(R.layout.activity_lockscreen);
   TQJApplication.getInstance().addActivity(this);
   instance = this;
 }
예제 #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);
 }
예제 #3
0
 @Override
 protected void onDestroy() {
   TQJApplication.getInstance().finishActivity(this);
   super.onDestroy();
 }