1

I wonder how to write this code in C#

    requestWindowFeature(Window.FEATURE_NO_TITLE);
getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN,WindowManager.LayoutParams.FLAG_FULLSCREEN);

Thank you.

Ishwor Khanal
  • 1,312
  • 18
  • 30

1 Answers1

3

You can code like this:

RequestWindowFeature(WindowFeatures.NoTitle);
Window.SetFlags(WindowManagerFlags.Fullscreen, WindowManagerFlags.Fullscreen);

Usually the API are the same as it in Java.

Grace Feng
  • 16,564
  • 2
  • 22
  • 45