简体   繁体   中英

Touch Event on Notification Bar icon in Android Jelly Bean

I just noticed some interesting behavior of the 'Select Input Method' icon on the notification bar on a Jelly Bean tablet. If you expand the whole notification bar it doesn't show up, but if you touch just the icon it shows its own menu of options. I would like to know how to do that for my icon. I tried here first but didn't see anything relevant.

http://developer.android.com/reference/android/app/Notification.Builder.html

It doesn't work on a phone and I don't have an ICS tablet to test.

Thank You

applications are not allowed to control notification bar nor its behavior. all notification builder offers is suited to help you create your own notification only.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM