How to activate full screen control DOTS (SDK14)

醉酒当歌 提交于 2019-12-01 11:34:41

问题


Does anybody know what i mean?

In fullscreen mode of the new camera app on my galaxy nexus the control buttons are changing into 3 dots.

How can i activate that programmatically?


回答1:


You can use

getWindow().getDecorView().setSystemUiVisibility(View.SYSTEM_UI_FLAG_LOW_PROFILE);

within your activity.

See View.SYSTEM_UI_FLAG_LOW_PROFILE




回答2:


It's a standard Options Menu. On 3.0+ it creates those dots, in 2.3.3- you access it with the menu key.

http://developer.android.com/guide/topics/ui/menus.html



来源:https://stackoverflow.com/questions/8602846/how-to-activate-full-screen-control-dots-sdk14

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!