Buttons and other widgets inside of notifications aren't supported in the standard platform. If it happens to work on a particular device, that is an extra feature there but not something you can count on working elsewhere. On Dec 26, 2010 9:19 PM, "mkmand" <[email protected]> wrote: > I am stuck with same problem but in a more weird way, > I am learning android by writing an app which will show a custom > notification with buttons. Now, when I install this program on my HTC HD2 > with Android 2.2, click on button on notification does the intended action
> but when I install same program on mytouch 3g with Android 2.2.1, it doesn't > work i.e. click on notification works but not on individual buttons. > > Could you solve the issue? > > One thing to notice is that, on mytouch 3g,I see a small area on right side > of my custom layout in notification, which is extra i.e. this small area is > not getting covered by by the custom layout of the notification. and that is > the area which gets highlighted when i click the button or anywhere on the > notification. > > If you could solve the issue, please share. > > -- > 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]<android-developers%[email protected]> > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en -- 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] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

