title: Custom expandable notifications in Jelly Bean (4.1)
body: <p>Jelly Bean added support for expandable status notification. According to <a href="http://developer.android.com/about/versions/jelly-bean.html" rel="nofollow noreferrer">http://developer.android.com/about/versions/jelly-bean.html</a>: </p>
  
  <blockquote>
    <p>In addition to the templated styles, you can create your own
    notification styles using any remote View.</p>
  </blockquote>
  
  <p>How do do this? I believe to do this you need to create a custom <a href="http://developer.android.com/reference/android/app/Notification.Style.html" rel="nofollow noreferrer">Notification.Style</a>. 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. </p>
  
  <p>This <a href="https://stackoverflow.com/questions/6391870/how-exactly-to-use-notification-builder">SO question</a> gives a good example of how to use the notificaiton.builder for basic notificaitons, I'm using this as a starting point. Adding </p>
  
  <pre><code>.setContent(new RemoteViews(getPackageName(), R.layout.notification)) 
  </code></pre>
  
  <p>adds a custom view for basic notifications, but it's not expandable. </p>