可以对右侧的状态栏图标中添加 [英] Is possible to add icon on statusbar on right side

查看:178
本文介绍了可以对右侧的状态栏图标中添加的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我不知道是否有可能对我的状态栏的右侧添加一个图标(编程没有root ),我读过这个<一个href=\"http://stackoverflow.com/questions/18350016/how-to-create-a-notification-status-bar-icon-on-the-right-side\">question但它并没有帮助我。

我读过这篇 support.google.notifications 和侧面时解释查看通知在屏幕的顶部它说:


  1. 左侧


  

这是您的通知。当你得到一个通知,你会看到在屏幕的左上角的图标。当你想阅读的通知,从屏幕顶部的下拉通知栏。


<醇开始=2>
  • 右键侧


  •   

    这是你的设备的系统图标。你会看到一个明星在状态栏的右侧,当你将设备设置为只显示优先通知。您还可以看到系统图标,包括Wi-Fi和移动运营商的信号,并在这里电池的实力。


    但我不知道这是否是任何伎俩做什么的。任何想法?


    解决方案

    没有 - 你不能做到这一点在股票发行的Andr​​oid

    右侧有一个特定的顺序一套preconfigured图标。您不能添加到他们,改变他们或删除这些 - 它们是由系统控制

    您自己的图标添加到组系统图标的唯一途径是建立自己的Andr​​oid版本。

    此外,什么是错的左侧?!

    I'm wondering if it's possible to add an icon on the right side of my statusbar (PROGRAMMATICALLY WITHOUT ROOT), I've read this question but it didn't help me out.

    I've read this support.google.notifications and on the side when explains See notifications at the top of your screen it says:

    1. Left side

    These are your notifications. When you get a notification, you'll see its icon at the top-left of the screen. When you want to read a notification, pull down the notification shade from the top of the screen.

    1. Right side

    These are your device's system icons. You'll see a star in the right of the the status bar when you've set your device to only show priority notifications. You'll also see system icons, including Wi-Fi and mobile carrier signals and battery strength here.

    But I don't know if it's any trick to do that or something. Any ideas?

    解决方案

    No - you cannot do this in stock releases of Android.

    The right side has a set of preconfigured icons in a specific order. You cannot add to them, change them or remove them - they are controlled by the system.

    The only way to add your own icon to the set of system icons is to build your own version of Android.

    Besides, what's wrong with the left-hand side?!

    这篇关于可以对右侧的状态栏图标中添加的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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