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.
我正面临隐藏 actionBar 选项卡的问题。我想在应用程序加载和隐藏时创建操作栏选项卡,但是当我单击操作栏菜单图标时它应该显示。SetNavigationMode 使应用程序无响应。任何帮助
它应该工作:
getSupportActionBar().hide();