Placing Your Widget on the Home Screen

The usability experts on the Android development team did a great job of allowing application widgets to be easily added to the Home screen. Adding one is easy — follow these steps:

1. Open the application list on the Home screen of the emulator.

2. When the list of applications is visible, select Widgets.

3. Choose Silent Mode Toggle, as shown in Figure 7-4.

Figure 7-4: The Silent Mode Toggle widget in the Widgets list.

9781118417454-fg0704.eps

You have now added the Silent Mode Toggle widget to the Home screen, as shown in Figure 7-5. You can tap the icon to change the ringer mode, and the background changes accordingly. (Refer to Figure 7-2.)

Figure 7-5: The app widget, added to the Home screen.

9781118417454-fg0705.tif

Get Android Application Development For Dummies, 2nd 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.