android - 如何在 Android 3.0 (Honeycomb) 中调暗系统栏?

标签 android android-3.0-honeycomb

如何以编程方式使 Android 3.0 (Honeycomb) 中的系统栏变暗?

最佳答案

尝试使用以下代码:

View v = findViewById(R.id.myview);
v.setSystemUiVisibility(View.STATUS_BAR_HIDDEN);

关于android - 如何在 Android 3.0 (Honeycomb) 中调暗系统栏?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/5883789/

相关文章:

android - Android 中带有 GridView 的 SectionIndexer

android - BCM4339 的 Nexus 5 无线驱动程序

java - 团结 : Call Android Kotlin Function Inside Companion Object from Unity

Android 3.0 WebView 崩溃

Android fragment 和动画

android - 当 ExpandableListView 获得焦点时,处理子选择的正确方法是什么?

Android hive : layout problem - hide/show FrameLayouts

android - Flutter 按住闪屏 3 秒。如何在 Flutter 中实现闪屏?

android - 如何使用联系人 ID 删除特定联系人?

android - 带位置指示器的无限 viewpager