diff --git a/app/src/main/java/com/example/bpa/LoginActivity.java b/app/src/main/java/com/example/bpa/LoginActivity.java index 611f1c8..989d584 100644 --- a/app/src/main/java/com/example/bpa/LoginActivity.java +++ b/app/src/main/java/com/example/bpa/LoginActivity.java @@ -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(); diff --git a/app/src/main/java/com/example/bpa/MainActivity.java b/app/src/main/java/com/example/bpa/MainActivity.java index be98feb..12208e4 100644 --- a/app/src/main/java/com/example/bpa/MainActivity.java +++ b/app/src/main/java/com/example/bpa/MainActivity.java @@ -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(); diff --git a/app/src/main/java/com/example/bpa/view/from/RunLog.java b/app/src/main/java/com/example/bpa/view/from/RunLog.java index 0d9ce04..752f51d 100644 --- a/app/src/main/java/com/example/bpa/view/from/RunLog.java +++ b/app/src/main/java/com/example/bpa/view/from/RunLog.java @@ -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(); diff --git a/app/src/main/java/com/example/bpa/view/from/add_pf_activity.java b/app/src/main/java/com/example/bpa/view/from/add_pf_activity.java index d448f1c..fbb970b 100644 --- a/app/src/main/java/com/example/bpa/view/from/add_pf_activity.java +++ b/app/src/main/java/com/example/bpa/view/from/add_pf_activity.java @@ -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(); diff --git a/app/src/main/java/com/example/bpa/view/from/ddyjrz_activity.java b/app/src/main/java/com/example/bpa/view/from/ddyjrz_activity.java index 65ad9b7..4db8da6 100644 --- a/app/src/main/java/com/example/bpa/view/from/ddyjrz_activity.java +++ b/app/src/main/java/com/example/bpa/view/from/ddyjrz_activity.java @@ -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(); diff --git a/app/src/main/java/com/example/bpa/view/from/dzcjy_activity.java b/app/src/main/java/com/example/bpa/view/from/dzcjy_activity.java index 5548cb9..a7760da 100644 --- a/app/src/main/java/com/example/bpa/view/from/dzcjy_activity.java +++ b/app/src/main/java/com/example/bpa/view/from/dzcjy_activity.java @@ -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(); diff --git a/app/src/main/java/com/example/bpa/view/from/lcsz_activity.java b/app/src/main/java/com/example/bpa/view/from/lcsz_activity.java index 4f7cdef..7e5afa2 100644 --- a/app/src/main/java/com/example/bpa/view/from/lcsz_activity.java +++ b/app/src/main/java/com/example/bpa/view/from/lcsz_activity.java @@ -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(); diff --git a/app/src/main/java/com/example/bpa/view/from/lsjy_activity.java b/app/src/main/java/com/example/bpa/view/from/lsjy_activity.java index 4ae0f94..2c204bc 100644 --- a/app/src/main/java/com/example/bpa/view/from/lsjy_activity.java +++ b/app/src/main/java/com/example/bpa/view/from/lsjy_activity.java @@ -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(); diff --git a/app/src/main/java/com/example/bpa/view/from/wlgl_activity.java b/app/src/main/java/com/example/bpa/view/from/wlgl_activity.java index e7e3d9f..52f43fd 100644 --- a/app/src/main/java/com/example/bpa/view/from/wlgl_activity.java +++ b/app/src/main/java/com/example/bpa/view/from/wlgl_activity.java @@ -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(); diff --git a/app/src/main/java/com/example/bpa/view/from/yfcl_activity.java b/app/src/main/java/com/example/bpa/view/from/yfcl_activity.java index 532f635..f782209 100644 --- a/app/src/main/java/com/example/bpa/view/from/yfcl_activity.java +++ b/app/src/main/java/com/example/bpa/view/from/yfcl_activity.java @@ -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(); diff --git a/app/src/main/java/com/example/bpa/view/from/yfpf_activity.java b/app/src/main/java/com/example/bpa/view/from/yfpf_activity.java index 4e93db6..65fe56e 100644 --- a/app/src/main/java/com/example/bpa/view/from/yfpf_activity.java +++ b/app/src/main/java/com/example/bpa/view/from/yfpf_activity.java @@ -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(); diff --git a/app/src/main/java/com/example/bpa/view/from/ygczrz_activity.java b/app/src/main/java/com/example/bpa/view/from/ygczrz_activity.java index 1edccd5..db60e80 100644 --- a/app/src/main/java/com/example/bpa/view/from/ygczrz_activity.java +++ b/app/src/main/java/com/example/bpa/view/from/ygczrz_activity.java @@ -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(); diff --git a/app/src/main/java/com/example/bpa/view/from/zdqx_activity.java b/app/src/main/java/com/example/bpa/view/from/zdqx_activity.java index 9713f88..1a9d8aa 100644 --- a/app/src/main/java/com/example/bpa/view/from/zdqx_activity.java +++ b/app/src/main/java/com/example/bpa/view/from/zdqx_activity.java @@ -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();