Reputation: 25
i want to create message box which must be seen on current screen(Ex i am playing song or creating message on that screen also that message must got pop-up/seen)like notification.. so.please help me to achieve this.....
Thanks in Advance--
Upvotes: 0
Views: 510
Reputation: 308
I agree that a normal android notification would be better. IF you do want to do this though, take a look at the "Creating a Custom Dialog" section here: http://developer.android.com/guide/topics/ui/dialogs.html#CustomDialog
Upvotes: 0
Reputation: 82335
You can use a Toast to accomplish what you wish, it will be visible over the activity/screen and can be styled with a custom layout.
You may also want to read the Android Developer documentation on Notifying the User for other alternatives & common methods of notification on Android.
Upvotes: 1