Challenge: Icons

You used ResolveInfo.loadLabel(PackageManager) in this chapter to present useful names in your launcher. ResolveInfo provides a similar function called loadIcon() that retrieves an icon to display for each application. For a small challenge, add an icon for each application to NerdLauncher.

Get Android Programming: The Big Nerd Ranch Guide, 4th Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.