如何以编程方式删除GPS闪烁机器人从状态栏图标(或使其永远闪烁)? [英] how to programmatically remove gps blinking icon from status bar in android (or make it never blink)?

查看:134
本文介绍了如何以编程方式删除GPS闪烁机器人从状态栏图标(或使其永远闪烁)?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在我的Andr​​oid应用程序,它使用的GPS,我有UI elemnts应闪烁永久。有人告诉我,经过几个试点运行,该闪烁的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/

这篇关于如何以编程方式删除GPS闪烁机器人从状态栏图标(或使其永远闪烁)?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆