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 O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.