1

I'm writing a streaming audio app, and I want to have a play/pause button in the notification bar, just like Google's music player's. How do I do this?

Steven Schoen
  • 4,366
  • 5
  • 34
  • 65
  • You can use your custom layout for your notification.This link will help ful to you to make notification. http://stackoverflow.com/questions/23443946/music-player-control-in-notification – Kaushali de Silva May 23 '15 at 10:46

1 Answers1

0

You can do this by adding custom layout by using RemoteViews, refer to this documentation

Antarix
  • 665
  • 1
  • 10
  • 29