Detecting when system buttons are visible while using 'immersive mode'

后端 未结 4 729
谎友^
谎友^ 2020-12-28 08:39

I\'m currently using immersive mode (API 19) for one of my Activities as follows:

getWindow().getDecorView()
            .setSystemUiVisibility(
                     


        
4条回答
  •  無奈伤痛
    2020-12-28 09:12

    From Android Developers video, when you're in immersive sticky mode, the app isn't notified.

    Immersive sticky mode starts at 6:56 and around 7:25 Roman Nurik tells that the listener won't be triggered.

    This is the video: http://youtu.be/cBi8fjv90E4?t=6m56s

提交回复
热议问题