Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8521101
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T06:43:17+00:00 2026-06-11T06:43:17+00:00

Jelly Bean added support for expandable status notification. According to http://developer.android.com/about/versions/jelly-bean.html : In addition

  • 0

Jelly Bean added support for expandable status notification. According to http://developer.android.com/about/versions/jelly-bean.html:

In addition to the templated styles, you can create your own
notification styles using any remote View.

How do do this? I believe to do this you need to create a custom Notification.Style. It’s an abstract class so I it needs to be extended. I haven’t been able to find any documentation on which parts need to be extended.

This SO question gives a good example of how to use the notificaiton.builder for basic notificaitons, I’m using this as a starting point. Adding

.setContent(new RemoteViews(getPackageName(), R.layout.notification)) 

adds a custom view for basic notifications, but it’s not expandable.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-11T06:43:19+00:00Added an answer on June 11, 2026 at 6:43 am

    You need to create your own RemoteViews, then indicate that you want the expanded content to inherit your custom RemoteViews.

     RemoteViews expandedView = new RemoteViews(YOUR CONTEXT.getPackageName(), YOUR CUSTOM LAYOUT);
     Notification notification = mBuilder.build();
     notification.bigContentView = expandedView;
    

    Note that bigContentView is what you’re looking for. mBuilder is a Notification.Builder object.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm curious about the differences between Jelly Bean and ICS (Ice Cream Sandwich). Is
Jelly Bean doesn't seem to like the maxlength attribute of HTML for text input.
Jelly Bean has removed the ability to read the logs of other apps (according
Has the Android Stack seen any remarkable updates in Jelly Bean 4.1? I am
Will Flash content work in applications on Android Jelly Bean, as it's not supporting
I am testing my app in the new Android system 4.1 Jelly Bean ,
I am looking for Android 4.1(jelly bean) source code. Over the internet there are
I am looking for image animation like jelly in android. As I am newbie
I was testing an app for compatibility with Jelly Bean when I noticed that
I've been playing with the new rich notificaitons in Jelly Bean, and everything works

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.