Book Image

Hands-On Android UI Development

By : Jason Morris
Book Image

Hands-On Android UI Development

By: Jason Morris

Overview of this book

A great user interface (UI) can spell the difference between success and failure for any new application. This book will show you not just how to code great UIs, but how to design them as well. It will take novice Android developers on a journey, showing them how to leverage the Android platform to produce stunning Android applications. Begin with the basics of creating Android applications and then move on to topics such as screen and layout design. Next, learn about techniques that will help improve performance for your application. Also, explore how to create reactive applications that are fast, animated, and guide the user toward their goals with minimal distraction. Understand Android architecture components and learn how to build your application to automatically respond to changes made by the user. Great platforms are not always enough, so this book also focuses on creating custom components, layout managers, and 2D graphics. Also, explore many tips and best practices to ease your UI development process. By the end, you'll be able to design and build not only amazing UIs, but also systems that provide the best possible user experience.
Table of Contents (21 chapters)
Title Page
Credits
About the Author
About the Reviewers
www.PacktPub.com
Customer Feedback
Preface
13
Activity Lifecycle

Adding animations


Animations may appear to just be a nice bit of polishing on top of your user interface, but they can also serve an important purpose. In any design, whether it's a building, an API, or a user interface, it's good to try and follow a principle of least surprise. Try and offer your user things that make sense without them having to try and understand the details of how it works. A good example of violating this principle is when a button is wired incorrectly. If you were to press the copy button on a printer, and instead of making a copy it printed a test page, this would be a surprise. You expected the machine to do one thing because of the label, but it did something unexpected.

It's always important to consider what your user will expect to happen when they look at or use your application's user interface. Using well-known names and icons for the elements of a user interface help make it instantly understood by your user, but sometimes your application will change what...