Is there a way to determine if Android app is running full screen?

后端 未结 10 1947
春和景丽
春和景丽 2020-12-31 04:17

i was just wondering if there was a simple way to see if an application running on android is currently in full screen. is there a way to query android to see if you\'re cu

10条回答
  •  不思量自难忘°
    2020-12-31 04:23

    is there a way to query android to see if you're currently in full screen mode or something like that?

    You can get if your app is running in full screen;:

    boolean isFullScreen = (getWindow().getAttributes().flags & WindowManager.LayoutParams.FLAG_FULLSCREEN) != 0;
    

    i was just wondering if there was a simple way to see if an application running on android

    if you are tryin to get if an application is running in full screen that´s not possible programatically only visually.

提交回复
热议问题