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

后端 未结 10 1994
春和景丽
春和景丽 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:38

    You can figure out if your Activity is running fullscreen via getWindow().getFlags().

    However, if by "an application" you are referring to somebody else's application, then the answer is no.

提交回复
热议问题