EARTH WEEK
Now through April 22, save up to 70% on digital learning resources. Learn more.
Rough Cuts are manuscripts that are developed but not yet published, available through Safari. Rough Cuts provide you access to the very latest information on a given topic and offer you the opportunity to interact with the author to influence the final publication.
This is the Rough Cut version of the printed book.
Build Android Apps That Are Stunningly Attractive, Functional, and Intuitive Introduction 1
Part I: The Basics of Android User Interface
Chapter 1: Android UI Overview 5
A Brief History of Android Design 6
The Android Design Website 7
Core Principles 8
Standard Components 16
Supporting Multiple Devices 19
Notable Changes 20
Summary 21
Chapter 2: Understanding Views--The UI Building Blocks 23
What Is a View? 24
Displaying Text 29
Displaying Images 33
Views for Gathering User Input 36
Other Notable Views 40
Listening to Events 42
Summary 44
Chapter 3: Creating Full Layouts with View Groups and Fragments 45
ViewGroup 46
Fragments 57
Summary 60
Chapter 4: Adding App Graphics and Resources 61
Introduction to Resources in Android 62
Resource Qualifiers 62
Understanding Density 67
Supported Image Files 68
Nine-Patch Images 69
XML Drawables 71
Other Resources 81
Summary 84
Part II: The Full Design and Development Process
Chapter 5: Starting a New App 87
Defining Goals 88
High-Level Flow 91
Wireframes 94
Summary 106
Chapter 6: Developing the App Foundation 107
Organizing into Activities and Fragments 108
Breaking Wireframes into Views 116
Creating Themes and Styles 131
Summary 132
Chapter 7: Finalizing the Design 133
Wireframes and Graphical Design 134
App Visual Style and Personality 134
Text Considerations 143
Standard Icons 148
Dynamic Content Considerations 149
Navigation and Transitions 150
Error Cases 150
Summary 150
Chapter 8: Applying the Design 153
Working with the Designer 154
Slicing the Graphics Assets 155
Updating Themes and Styles 160
Breaking Comps into Views 161
Improving Efficiency 166
Basic Testing Across Device Types 174
Summary 175
Chapter 9: Further Improving the App 177
Hierarchy Viewer 178
Animations 184
Custom Fonts 194
Summary 198
Part III: Advanced Topics for Android User Interfaces
Chapter 10: How to Handle Common Components 199
Splash Screen 200
Loading Indication 210
Complex TextViews 212
Autoloading ListViews 217
Summary 222
Chapter 11: Combining Views for Custom Components 223
When to Combine Views