Android UI Fundamentals: Develop and Design
Год: 2012
Автор: Jason Ostrander
Жанр: Программирование
Издательство: Peachpit Press
ISBN: 978-0-321-81458-6
Язык: Английский
Формат: PDF
Качество: Изначально компьютерное (eBook)
Интерактивное оглавление: Да
Количество страниц: 337
Описание: Author Jason Ostrander walks developers through the different choices available on their way to creating a well-designed application for Android. While building a simple application, Jason works through the basics of Android UI development including layout, event handling, menus and notifications. The author then shows the proper way to load and display images, create advanced dialogs and progress indicators, add animation, and how to build custom UI elements. Jason discusses the proper way of adding interaction through gestures and the advanced graphical options available using Canvas, Renderscript and OpenGL. Finally, he discusses tablet development, the unique differences between phone and tablet UI, and the new APIs available to tablet developers.
Who This Book Is For
This book is aimed at beginning Android developers who are interested in creating great user interfaces. You are expected to know basic Java programming and XML syntax. The focus of this book is on UI. While you don’t need to have experience writing Android software, many basic Android concepts are only described in passing. It will help you to have a rudimentary knowledge of Android development.
Who This Book Is Not For
This book is not a general introduction to programming for Android. While it is intended for beginning Android developers, the focus is on user interface tools and programming. In particular, this book will not cover basic Android concepts such as intents, services, or content providers. Further, this book will not be an introduction to the Java programming language or to XML. You should know how to program and how to read XML.
Оглавление
Chapter 1 Getting Started
Hello World
Basic Structure of an Android App
Android UI Basics
Tools
Wrapping Up
Chapter 2 Creating Your First Application
Creating an App
Getting Started with Android Views
Arranging Views
Displaying a List
Understanding Activities
Preventing ANRs
Finishing the TimeTracker App
Wrapping Up
Chapter 3 Going Further
Supporting Multiple Screen Sizes
Handling Notifications
Handling Events
Creating Menus
Implementing the Time Tracker
Wrapping Up
Chapter 4 Basic Views
Creating a Basic Form
Displaying Images
Creating Maps and Displaying Websites
Wrapping Up
Chapter 5 Reusable UI
Abstracting Your Layouts
Abstracting Styles and Themes
Using Fragments
Wrapping Up
Chapter 6 Navigation and Data Loading
Introducing the Action Bar
Navigating Your App
Loading Data into Views
Wrapping Up
Chapter 7 Android Widgets
Creating a Basic Widget
Creating a Collection Widget
Wrapping Up
Chapter 8 Handling Gestures
Listening to Touch Events
Responding to Gestures
Wrapping Up
Chapter 9 Animation
Creating Drawable Animations
Creating View Animations
Creating Property Animations
Wrapping Up
Chapter 10 Creating Custom Views
Understanding How Android Draws Views
Creating a Custom View
Adding Custom Attributes to Your Custom Views
Creating Compound Components
Wrapping Up
Chapter 11 Creating Advanced Graphics
Using Canvas
Using RenderScript
Using OpenGL
Wrapping Up
Chapter 12 Localization and Accessibility
Making Your App Available in Multiple Languages
Making Your App Accessible
Wrapping Up
Index
добавлен EPUB (07.07.2012)перекачайте пожалуйста торрент