4

When you're using the new Jelly Bean Notification.Styles, such as BigPictureStyle, upon opening the Notification Bar the Notification is expanded by default. According to the docs in regards to the bigContentView, they state:

The system UI may choose to show this instead of the normal content view at its discretion.

...at its discretion being the key words. I'm looking for a way to collapse the Notification by default when I open the Notification Bar. Currently, the Notification class doesn't provide a method or flag for me to call to do this. I've considered copying the Notification source over to my app and making a few changes, or inflating my own RemoteViews and overriding the deafult bigContentView, but considering the system UI is the judge to when to expand and collapse the Notification, those ideas don't seem reasonable.

Does anyone have some advice or knowledge about keeping the new Jelly Bean Notifications collapsed by default when opening the Notification Bar and letting the user decide when to expand them?

4

0 回答 0