Browse Source

提交全屏显示

master
fyf 1 year ago
parent
commit
0bceff76a4
13 changed files with 52 additions and 0 deletions
  1. +4
    -0
      app/src/main/java/com/example/bpa/LoginActivity.java
  2. +4
    -0
      app/src/main/java/com/example/bpa/MainActivity.java
  3. +4
    -0
      app/src/main/java/com/example/bpa/view/from/RunLog.java
  4. +4
    -0
      app/src/main/java/com/example/bpa/view/from/add_pf_activity.java
  5. +4
    -0
      app/src/main/java/com/example/bpa/view/from/ddyjrz_activity.java
  6. +4
    -0
      app/src/main/java/com/example/bpa/view/from/dzcjy_activity.java
  7. +4
    -0
      app/src/main/java/com/example/bpa/view/from/lcsz_activity.java
  8. +4
    -0
      app/src/main/java/com/example/bpa/view/from/lsjy_activity.java
  9. +4
    -0
      app/src/main/java/com/example/bpa/view/from/wlgl_activity.java
  10. +4
    -0
      app/src/main/java/com/example/bpa/view/from/yfcl_activity.java
  11. +4
    -0
      app/src/main/java/com/example/bpa/view/from/yfpf_activity.java
  12. +4
    -0
      app/src/main/java/com/example/bpa/view/from/ygczrz_activity.java
  13. +4
    -0
      app/src/main/java/com/example/bpa/view/from/zdqx_activity.java

+ 4
- 0
app/src/main/java/com/example/bpa/LoginActivity.java View File

@@ -4,6 +4,8 @@ import android.content.Intent;
import android.os.Bundle;
import android.view.KeyEvent;
import android.view.View;
import android.view.Window;
import android.view.WindowManager;
import android.widget.Button;
import android.widget.EditText;
import com.example.bpa.app.Main;
@@ -24,6 +26,8 @@ public class LoginActivity extends Activity implements View.OnClickListener {
//region 私有函数
@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);
setContentView(R.layout.activity_login);
Init();


+ 4
- 0
app/src/main/java/com/example/bpa/MainActivity.java View File

@@ -4,6 +4,8 @@ import android.app.AlertDialog;
import android.content.DialogInterface;
import android.os.Bundle;
import android.view.View;
import android.view.Window;
import android.view.WindowManager;
import android.widget.FrameLayout;
import android.widget.ImageView;
import android.widget.TextView;
@@ -49,6 +51,8 @@ public class MainActivity extends FragmentActivity implements View.OnClickListen
//region 私有函数
@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);
setContentView(R.layout.activity_main);
Init();


+ 4
- 0
app/src/main/java/com/example/bpa/view/from/RunLog.java View File

@@ -4,6 +4,8 @@ import androidx.appcompat.app.AppCompatActivity;

import android.os.Bundle;
import android.view.View;
import android.view.Window;
import android.view.WindowManager;
import android.widget.ImageView;
import android.widget.TextView;

@@ -30,6 +32,8 @@ public class RunLog extends AppCompatActivity implements View.OnClickListener {

@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);
setContentView(R.layout.activity_run_log);
Init();


+ 4
- 0
app/src/main/java/com/example/bpa/view/from/add_pf_activity.java View File

@@ -4,6 +4,8 @@ import androidx.appcompat.app.AppCompatActivity;

import android.os.Bundle;
import android.view.View;
import android.view.Window;
import android.view.WindowManager;
import android.widget.ArrayAdapter;
import android.widget.Button;
import android.widget.ImageView;
@@ -88,6 +90,8 @@ public class add_pf_activity extends AppCompatActivity implements View.OnClickLi
//region 私有函数
@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);
setContentView(R.layout.activity_add_pf);
Init();


+ 4
- 0
app/src/main/java/com/example/bpa/view/from/ddyjrz_activity.java View File

@@ -11,6 +11,8 @@ import android.content.DialogInterface;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.view.Window;
import android.view.WindowManager;
import android.widget.ImageView;
import android.widget.TextView;

@@ -36,6 +38,8 @@ public class ddyjrz_activity extends AppCompatActivity implements View.OnClickLi
//region 私有函数
@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);
setContentView(R.layout.activity_ddyjrz);
Init();


+ 4
- 0
app/src/main/java/com/example/bpa/view/from/dzcjy_activity.java View File

@@ -5,6 +5,8 @@ import androidx.appcompat.app.AppCompatActivity;
import android.graphics.drawable.Drawable;
import android.os.Bundle;
import android.view.View;
import android.view.Window;
import android.view.WindowManager;
import android.widget.ArrayAdapter;
import android.widget.Button;
import android.widget.CompoundButton;
@@ -67,6 +69,8 @@ public class dzcjy_activity extends AppCompatActivity implements View.OnClickLis
//region 私有函数
@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);
setContentView(R.layout.activity_dzcjy);
Init();


+ 4
- 0
app/src/main/java/com/example/bpa/view/from/lcsz_activity.java View File

@@ -8,6 +8,8 @@ import androidx.recyclerview.widget.RecyclerView;
import android.os.Bundle;
import android.util.Log;
import android.view.View;
import android.view.Window;
import android.view.WindowManager;
import android.widget.AdapterView;
import android.widget.ArrayAdapter;
import android.widget.ImageView;
@@ -68,6 +70,8 @@ public class lcsz_activity extends AppCompatActivity implements View.OnClickList
//region 私有函数
@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);
setContentView(R.layout.activity_lcsz);
Init();


+ 4
- 0
app/src/main/java/com/example/bpa/view/from/lsjy_activity.java View File

@@ -6,6 +6,8 @@ import androidx.recyclerview.widget.RecyclerView;
import android.graphics.Color;
import android.os.Bundle;
import android.view.View;
import android.view.Window;
import android.view.WindowManager;
import android.widget.Button;
import android.widget.CompoundButton;
import android.widget.EditText;
@@ -72,6 +74,8 @@ public class lsjy_activity extends AppCompatActivity implements View.OnClickList
//region 私有函数
@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);
setContentView(R.layout.activity_lsjy);
Init();


+ 4
- 0
app/src/main/java/com/example/bpa/view/from/wlgl_activity.java View File

@@ -4,6 +4,8 @@ import androidx.appcompat.app.AppCompatActivity;

import android.os.Bundle;
import android.view.View;
import android.view.Window;
import android.view.WindowManager;
import android.widget.Button;
import android.widget.ImageView;
import android.widget.ListView;
@@ -60,6 +62,8 @@ public class wlgl_activity extends AppCompatActivity implements View.OnClickList
//region 私有函数
@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);
setContentView(R.layout.activity_wlgl);
Init();


+ 4
- 0
app/src/main/java/com/example/bpa/view/from/yfcl_activity.java View File

@@ -4,6 +4,8 @@ import androidx.appcompat.app.AppCompatActivity;

import android.os.Bundle;
import android.view.View;
import android.view.Window;
import android.view.WindowManager;
import android.widget.ImageView;
import android.widget.TextView;

@@ -28,6 +30,8 @@ public class yfcl_activity extends AppCompatActivity implements View.OnClickList
//region 私有函数
@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);
setContentView(R.layout.activity_yfcl);
Init();


+ 4
- 0
app/src/main/java/com/example/bpa/view/from/yfpf_activity.java View File

@@ -6,6 +6,8 @@ import android.content.Intent;
import android.os.Bundle;
import android.util.Log;
import android.view.View;
import android.view.Window;
import android.view.WindowManager;
import android.widget.AdapterView;
import android.widget.Button;
import android.widget.ImageView;
@@ -60,6 +62,8 @@ public class yfpf_activity extends AppCompatActivity implements View.OnClickList
//region 私有函数
@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);
setContentView(R.layout.activity_yfpf);
Init();


+ 4
- 0
app/src/main/java/com/example/bpa/view/from/ygczrz_activity.java View File

@@ -4,6 +4,8 @@ import androidx.appcompat.app.AppCompatActivity;

import android.os.Bundle;
import android.view.View;
import android.view.Window;
import android.view.WindowManager;
import android.widget.ImageView;
import android.widget.TextView;

@@ -27,6 +29,8 @@ public class ygczrz_activity extends AppCompatActivity implements View.OnClickLi
//region 私有函数
@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);
setContentView(R.layout.activity_ygczrz);
Init();


+ 4
- 0
app/src/main/java/com/example/bpa/view/from/zdqx_activity.java View File

@@ -6,6 +6,8 @@ import androidx.appcompat.app.AppCompatActivity;

import android.os.Bundle;
import android.view.View;
import android.view.Window;
import android.view.WindowManager;
import android.widget.Button;
import android.widget.CompoundButton;
import android.widget.EditText;
@@ -51,6 +53,8 @@ public class zdqx_activity extends AppCompatActivity implements View.OnClickList
//region 私有函数
@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);
setContentView(R.layout.activity_zdqx);
Init();


Loading…
Cancel
Save