The following is the first few sections of a chapter from The Busy Coder's Guide to Android Development, plus headings for the remaining major sections, to give you an idea about the content of the chapter.


Icons

Icons are drawable resources. Except when they are mipmap resources. And except when they are multiple resources, combined together at runtime to create an image with a “squircle” background. And…

Are you confused yet?

In theory, setting up icons for your app would be quite simple, and for years that was the case. Nowadays, setting up an app icon is unnecessarily complex, though at least Android Studio has an Asset Studio tool to try to make it a bit simpler.

In this chapter, we will explore what it takes to set up one of these app icons.

App Icons… And Everything Else

Each app has an icon. This is used for places like the list of installed apps in Settings. Traditionally — and to reduce user confusion — this icon is also used for the home screen launcher.

Google has been making this icon increasingly complicated over the past few years:

Most other icons — other than notification icons – are comparatively straightforward.

Creating an App Icon with the Asset Studio

The preview of this section is sleeping in.

Creating Other Icons with the Asset Studio

The preview of this section was lost due to a rupture in the space-time continuum.