万本电子书0元读

万本电子书0元读

顶部广告

Hands-On Android UI Development电子书

售       价:¥

0人正在读 | 0人评论 9.8

作       者:Jason Morris

出  版  社:Packt Publishing

出版时间:2017-11-21

字       数:43.6万

所属分类: 进口书 > 外文原版书 > 科技/医学

温馨提示:数字商品不支持退换货,不提供源文件,不支持导出打印

为你推荐

  • 读书简介
  • 目录
  • 累计评论(0条)
  • 读书简介
  • 目录
  • 累计评论(0条)
Master the art of creating impressive and reactive UIs for mobile applications on the latest version of Android Oreo. About This Book A comprehensive guide to designing and developing highly interactive user interfaces for your app. Design responsive and agile applications targeting multiple Android devices (up to Android Oreo) using Android Studio 3.0 Write reactive user interfaces with minimal effort by leveraging the latest Android technologies, such as Architecture components and the Lifecycle API Avoid common design problems and pitfalls with the help of shared UI design patterns and best practices. Who This Book Is For This book is for novice Android and Java developers who have a basic knowledge of Android development and want to start developing stunning user interfaces. What You Will Learn Create effective and efficient user interfaces that allow users to carry out tasks smoothly Understand the fundamentals of Android UI design, and take a look at the basic layouts, Inputs, and controls Learn about various UI components provided by Android, which include structured layout objects and UI controls that allow you to build the graphical user interface for your app Explore various styles and themes that allow you to customize the look and feel of your app Leverage the animation and graphics APIs to improve user experience and draw custom 2D graphics In Detail 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. Style and approach This book takes an easy tutorial approach to help you learn how to create consistent and efficient user interfaces for your apps. The book first takes you through the basics of user interfaces such as basic layouts, inputs, and controls, and also covers animations and graphics. By the end of the book, you will have learned best practices and will be able to develop inspired interfaces that look good and also work subtly in the background.
目录展开

Title Page

Copyright

Hands-On Android UI Development

Credits

About the Author

About the Reviewers

www.PacktPub.com

Why subscribe?

Customer Feedback

Preface

What this book covers

What you need for this book

Who this book is for

Conventions

Reader feedback

Customer support

Downloading the example code

Errata

Piracy

Questions

Creating Android Layouts

Material Design

Android Studio

Android application structure

Creating SimpleLayout

Discovering the layout editor

Organizing project files

Summary

Designing Form Screens

Exploring form screens

Designing a layout

Creating a form layout

Creating the description box

Adding the amount and date inputs

Creating the category chooser

Making icons change with state

Creating the category picker layout

Adding the attachment preview

Try it yourself

Test your knowledge

Summary

Taking Actions

Understanding Android event requirements

Listening for some events

Wiring the CaptureClaimActivity events

Handling events from other activities

Making events quick

Multiple event listeners

Test your knowledge

Summary

Composing User Interfaces

Designing a modular layout

Creating the DatePickerLayout

Creating the data model

Creating the Attachment class

Creating the Category enum

Creating the ClaimItem class

Wrapping up the category picker

Creating the Attachment Pager

Creating the Attachment preview widget

Creating the Attachment Pager Adapter

Creating the Create Attachment Command

Creating the Attachment Pager Fragment

Capturing the ClaimItem data

Try it yourself

Test your knowledge

Summary

Binding Data to Widgets

Exploring data models and widgets

The Observer pattern

Enabling data binding

Data binding a layout file

Creating an Observable model

Establishing the AllowanceOverviewFragment

Creating the AllowanceOverview layout

Updating the SpendingStats class

Data binding and fragments

Test your knowledge

Summary

Storing and Retrieving Data

Data storage in Android

Using the SQLite database

Introducing Room

Adding Room to the project

Creating an Entity model

Creating the Data Access Layer

The LiveData class

Implementing Data Access Objects in Room

Creating a database

Accessing your Room database

Test your knowledge

Summary

Creating Overview Screens

Designing an Overview screen

Elements of an Overview screen

Creating layouts for ViewHolders

Creating a simple ViewHolder class

Creating a ViewHolder with data binding

Creating a RecyclerView adapter

Data binding an adapter

Creating the Overview activity

Creating new ClaimItems with a Fragment

Allowance overview with a Room database

Test your knowledge

Summary

Designing Material Layouts

Looking at material structure

Introducing CoordinatorLayout

Coordinating the Overview Screen

Swiping to delete

Elevating widgets

Building layouts using grids

Stack view

Test your knowledge

Summary

Navigating Effectively

Planning navigation

Tabbed navigation

Bottom tabs navigation

Navigation menus

Navigating using Fragments

Test your knowledge

Summary

Making Overviews Even Better

Multiple view types

Introducing dividers

Updating by Delta Events

Test your knowledge

Summary

Polishing Your Design

Choosing colors and theming

Producing an application palette

Generating palettes dynamically

Adding animations

Creating custom animations

Activating more animations

Creating custom styles

Test your knowledge

Summary

Customizing Widgets and Layouts

Creating custom view implementations

Integrating the SpendingGraphView

Creating a layout implementation

Creating animated views

Test your knowledge

Apply your knowledge

Summary

Activity Lifecycle

Test Your Knowledge Answers

Chapter 2 - Designing Form Screens

Chapter 3 - Taking Actions

Chapter 4 - Composing User Interface

Chapter 5 - Binding Data to Widgets

Chapter 6 - Storing and Retrieving Data

Chapter 7 - Creating Overview Screens

Chapter 8 - Designing Material Layouts

Chapter 9 - Navigating Effectively

Chapter 10 - Making Overviews Even Better

Chapter 11 - Polishing Your Design

Chapter 12 - Customizing Widgets and Layouts

累计评论(0条) 0个书友正在讨论这本书 发表评论

发表评论

发表评论,分享你的想法吧!

买过这本书的人还买过

读了这本书的人还在读

回顶部