Custom Notification Layout

General topics about the Android-Platform itself.
Coding issues please to the subforum right below.

Custom Notification Layout

Postby s.semeria » Wed Apr 30, 2008 2:33 pm

Hello,

I would like to know if it is possible to use customized layout for the notification expandedView.
According to the documentation I could create a RemoteViews object with a custom layout, assigning it to the Notification.expandedView() method.

By doing this, I am able to display a custom view but I lose the Intent firing behaviour when the user clicks on the notification itself. Also if I set the contentIntent attribute manually in the notification this intent is never fired.

Is there a way in which I can replicate the intent firing behaviour using my custom view?
Could you please provide some help?

Thanks a lot

Regards,

Stefano
s.semeria
Junior Developer
Junior Developer
 
Posts: 23
Joined: Mon Jan 28, 2008 10:18 am
Location: Italy

Top

Return to General

Who is online

Users browsing this forum: No registered users and 1 guest