Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
请查看图片以了解我想要什么
http://i.stack.imgur.com/eC4ZR.png
活动 1全屏 + 无标题栏
活动 2无全屏 + 标题栏
添加:
requestWindowFeature(Window.FEATURE_NO_TITLE); getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN, WindowManager.LayoutParams.FLAG_FULLSCREEN);
到您想要在全屏模式下的第一个 Activity 的 onCreate() 。对其他人什么也不做。而已。