From 7080981d7564e93a3287a143485ba1fbd7155f70 Mon Sep 17 00:00:00 2001 From: AnushkaSharma503 <59316156+AnushkaSharma503@users.noreply.github.com> Date: Sat, 17 Oct 2020 13:43:09 +0530 Subject: [PATCH] Update MainActivity.java Hello please review this and merge if you find that useful. Here I am adding a one line simple code for full screen. You can use that also. --- .../app/src/main/java/com/alrubaye/alaram/MainActivity.java | 1 + 1 file changed, 1 insertion(+) diff --git a/Alaram App/app/src/main/java/com/alrubaye/alaram/MainActivity.java b/Alaram App/app/src/main/java/com/alrubaye/alaram/MainActivity.java index 7df5dc418f76..3a49221e6685 100644 --- a/Alaram App/app/src/main/java/com/alrubaye/alaram/MainActivity.java +++ b/Alaram App/app/src/main/java/com/alrubaye/alaram/MainActivity.java @@ -14,6 +14,7 @@ public class MainActivity extends AppCompatActivity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); + getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN, WindowManager.LayoutParams.FLAG_FULLSCREEN); setContentView(R.layout.activity_main); android.app.FragmentManager fm= getFragmentManager(); PopTime popTime=new PopTime();