Thanks a lot to all for your quick response. I've seen the example with custom views on notification but I don't understand one thing... If I provide a custom layout I automatically lose the onClick() intent firing (I mean with my custom layout I think I can no more fire an intent when the notification is clicked)
Is that right? If so, how can I implement the same behavior of the standard notification? I really need an intent to be fired on click! Thanks a lot My best regards, Stefano -----Original Message----- From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of hackbod Sent: martedì 29 aprile 2008 2.20 To: Android Developers Subject: [android-developers] Re: How to customize notification layout ApiDemos has a bunch of status bar / notification examples, including ones with custom views. On Apr 28, 4:31 pm, keashF <[EMAIL PROTECTED]> wrote: > Hi Stefano, > > the Notification object has a field called "expandedView" which is a > RemoteView. I managed to change the image that is shown in the > standard expanded view, but i guess you could set it to a new view. > Note that there are no getters/setters for the properties of > Notification, also it is afaik not well (if at all) documented, so > there's a chance that what you are trying to do is not supported > (yet). > > hope this gives you an idea, > cheers > F > > On 28 Apr., 10:05, Semeria Stefano > > <[EMAIL PROTECTED]> wrote: > > Hello, > > > I was wondering if it is possible to customize the layout of the > > notifications on the status bar. > > If they're elements in a list there should be a way to customize their > > look, but I'm not sure how to do it, and also if I'm allowed to.... > > > Please let me know something > > > Thanks for your help. > > > Regards, > > > Stefano --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] Announcing the new M5 SDK! http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---

