如何创建右侧状态栏图标? (Android版) [英] How to create a status bar icon on the right side? (Android)

查看:105
本文介绍了如何创建右侧状态栏图标? (Android版)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

通知 NotificationManager 被用来创建图标放置在屏幕的左上角位置。 A 通知还需要对状态栏下拉条目。

Notification and NotificationManager are used to create icons to be placed on the top-left position of the screen. A Notification also need to have an entry on the status bar pull-down.

不过,在右侧的图标,如电池,信号强度,无线指标并不需要在状态栏上的任何条目。

However, icons on the right side such as the battery, signal strength, wireless indicators do not need any entry on the status bar.

我如何作出这样的图标,而不在状态栏下拉的任何条目?

How do I make such icons without any entry in the status bar pull-down?

推荐答案

我相信,通知栏的右侧区域是保留给操作系统。

I believe the right side area of the notification bar is reserved for the OS.

这篇关于如何创建右侧状态栏图标? (Android版)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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