Summary
Dialogs and menus form an integral part of any application, in particular on mobile platforms where space is limited. As always, the material approach is to keep these clean and simple, in content as well as appearance. We have seen what the guidelines are and how they can be applied with XML, as well as seeing how these interfaces connect to and are controlled by our Java code.
Dialogs and menus are elements of most applications and are by no means peculiar to Material Design and this chapter has covered only the visual aspects. There are of course many screen components that are specific to Material Design such as the floating action button and navigation drawer, many of which are catered to in a support library of their own, the design library.
In the next chapter, we will explore the way users navigate around an Android app. This will involve creating a sliding navigation drawer and the use of fragments to display alternative content. We will also cover ratios and designing for...