Forum Xamarin.Android
We are excited to announce that the Xamarin Forums are moving to the new Microsoft Q&A experience. Q&A is the home for technical questions and answers at across all products at Microsoft now including Xamarin!

We encourage you to head over to Microsoft Q&A for .NET for posting new questions and get involved today.

MediaStyle Notification SetShowActionsInCompactView() no result

Hello

I'm trying to implement a notification for a music player.
I followed the example from https://github.com/jamesmontemagno/AndroidStreamingAudio to set up everything.

In the Android documentation it states that up to 3 actions can be promoted to be displayed in the compact view by using
setShowActionsInCompactView(int) http://developer.android.com/reference/android/app/Notification.MediaStyle.html.

But I would like to have them displayed in the lock screen as well like Google Music play.

What I achieve is only the closed notification with needs to be opened by the user to show the my button.

Thanks for any advise.

Sign In or Register to comment.