问题描述
在我使用 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 闪烁图标(或使其永不闪烁)?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!