Book Image

Learning Android Application Development

By : Raimon Ràfols Montane, Laurence Dawson
Book Image

Learning Android Application Development

By: Raimon Ràfols Montane, Laurence Dawson

Overview of this book

The mobile app market is huge. But where do you start? And how you can deliver something that takes Google Play by storm? This guide is the perfect route into Android app development – while it’s easy for new apps to sink without a trace, we’ll give you the best chance of success with practical and actionable guidance that will unlock your creativity and help you put the principles of Android development into practice. From the fundamentals and getting your project started to publishing your app to a huge market of potential customers, follow this guide to become a confident, creative and reliable mobile developer. Get to grips with new components in Android 7 such as RecyclerView, and find out how to take advantage of automated testing, and, of course, much, much more. What are you waiting for? There’s never been a better time – or a better way – to get into Android app development.
Table of Contents (16 chapters)
Learning Android Application Development
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface

Additional user interface components


In this section, we will cover two additional user interface components that you will need to master to create an Android application. These components are very easy to understand, but we have included them here as you will use them over and over again during your time as an Android developer.

Toasts

First of all, despite the name, Toasts have nothing to do with bread and are in fact a super simple way to pop up text to your users. You have probably seen them 100 times but may not have paid too much attention to them. For example, when you connect to a Wi-Fi network, you might get a Toast popping up to let you know you are connected.

The great thing about Toasts is that they automatically hide after a few seconds and can be a great way to enhance your user experience without much additional effort. As a downside, something we have to be aware, users cannot interact with them.

Note

Although we can customize the look and feel of Toasts, be aware that your users...