Question : fullscreen activity android
Answered by : thoughtless-tamarin-9gpar4xdqfkp
public class ActivityName extends Activity { @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); // remove title requestWindowFeature(Window.FEATURE_NO_TITLE); getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN, WindowManager.LayoutParams.FLAG_FULLSCREEN); setContentView(R.layout.main); }
}
Source : https://stackoverflow.com/questions/2868047/fullscreen-activity-in-android | Last Update : Mon, 21 Sep 20
Question : fullscreen activity android
Answered by : comfortable-civet-4srmm031ifh9
public class ActivityName extends Activity { @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); // remove title requestWindowFeature(Window.FEATURE_NO_TITLE); getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN, WindowManager.LayoutParams.FLAG_FULLSCREEN); setContentView(R.layout.main); }
}
Source : https://nullorempty.org/questions/2868047/Fullscreen-Activity-in-Android | Last Update : Wed, 02 Mar 22