Listing 923 Customizing your extended notification window layout Available for

download on notification.contentView. setImageViewResource(R.id.status_icon, Wrox.com R.drawable.icon);

notification.contentView.setTextViewText(R.id.status_text,

"Current Progress:"); notification.contentView.setProgressBar(R.id.status_progress,

This technique is particularly useful when used with ongoing events (such as in progress downloads or playing media) to convey details on progress. You'll learn more about ongoing Notifications later in this chapter.

Mobile Apps Made Easy

Mobile Apps Made Easy

Quick start guide to skyrocket your offline and online business success with mobile apps. If you know anything about mobile devices, you’ve probably heard that famous phrase coined by one of the mobile device’s most prolific creators proclaiming that there’s an app for pretty much everything.

Get My Free Training Guide


Post a comment