1

Hello friends i want to show my application as like below screen in our mobile notification detail

Any idea how can i achieve this?

My Custom Dialog

enter image description here

Harshal Kalavadiya
  • 2,412
  • 4
  • 38
  • 71

1 Answers1

2

Assign Notification.FLAG_ONGOING_EVENT flag to your Notification.

Sample code:

yourNotification.flags = Notification.FLAG_ONGOING_EVENT;
// Notify...

If you aren't familiar with the Notification API, read Creating Status Bar Notifications on Android developers website.

Source: Android: How to create an "Ongoing" notification?

Community
  • 1
  • 1
Madhur Ahuja
  • 22,211
  • 14
  • 71
  • 124
  • Thnkas for posting it is working ,but can i get click event in "+" sign because i want to open my custom dialog which i show in my question – Harshal Kalavadiya Jan 24 '14 at 11:50