how to programmatically remove gps blinking icon from status bar in android (or make it never blink)?(如何以编程方式从 android 的状态栏中删除 gps 闪烁图标(或使其永不闪烁)?)
问题描述
在我使用 GPS 的 android 应用程序中,我的 UI 元素应该永久闪烁.在几次试运行后,我被告知闪烁的 GPS 图标,即当 GPS 实际尝试修复时,会从主 UI 中窃取完全不必要的用户注意力.
In my android application which uses GPS, I have UI elemnts that should blink permanently. I was told after a couple of pilot runs that the blinking GPS icon, i.e. when GPS is actually trying to get a fix, steals completely unnecessary bit of user's attention from the main UI.
有没有办法从应用程序中以编程方式从状态栏中删除 GPS 天线图标?或者,让它永不眨眼?
Is there a way to remove the GPS antenna icon from the status bar programmatically from within the application? Or, alternatively, make it never blink?
谢谢!
推荐答案
你可以完全隐藏状态栏:
You could hide the Status Bar altogether:
http:///blog.thaichaiguy.com/1600/android-how-to-hide-the-status-bar-and-title-bar/
这篇关于如何以编程方式从 android 的状态栏中删除 gps 闪烁图标(或使其永不闪烁)?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:如何以编程方式从 android 的状态栏中删除 gps 闪烁图标(或使其永不闪烁)?


- Android - 拆分 Drawable 2022-01-01
- 用 Swift 实现 UITextFieldDelegate 2022-01-01
- android 4中的android RadioButton问题 2022-01-01
- 如何检查发送到 Android 应用程序的 Firebase 消息的传递状态? 2022-01-01
- 想使用ViewPager,无法识别android.support.*? 2022-01-01
- 在测试浓缩咖啡时,Android设备不会在屏幕上启动活动 2022-01-01
- Android viewpager检测滑动超出范围 2022-01-01
- 使用自定义动画时在 iOS9 上忽略 edgesForExtendedLayout 2022-01-01
- MalformedJsonException:在第1行第1列路径中使用JsonReader.setLenient(True)接受格式错误的JSON 2022-01-01
- Android - 我如何找出用户有多少未读电子邮件? 2022-01-01