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.
虽然我知道您可以使用 setDisplayUseLogoEnabled 隐藏操作栏中的图标,但这需要一段时间,并且会导致图标闪烁一秒钟。有没有办法通过使用主题或任何其他解决方案来避免这种情况?
假设您正在查看全屏视图,请尝试查看
WindowManager.LayoutParams.FLAG_FULLSCREEN
Window 类中的标志
尝试使用 getActionBar().setDisplayOptions(ActionBar.DISPLAY_USE_LOGO)