Creating Dynamic UIs with Android Fragments Second Edition
暫譯: 使用 Android Fragments 創建動態用戶介面(第二版)
Jim Wilson
- 出版商: Packt Publishing
- 出版日期: 2016-03-23
- 定價: $1,140
- 售價: 6.0 折 $684
- 語言: 英文
- 頁數: 154
- 裝訂: Paperback
- ISBN: 1785889591
- ISBN-13: 9781785889592
-
相關分類:
Android
立即出貨 (庫存=1)
相關主題
商品描述
Create engaging apps with fragments to provide a rich user interface that dynamically adapts to the individual characteristics of your customers' tablets and smartphones
About This Book
- From an eminent author comes a book that will help you create engaging apps that dynamically adapt to individual device characteristics
- The only book that includes the latest fragment-oriented features and their role in Material design
- This book provides code-intensive discussions and detailed examples that help you understand better and learn faster.
Who This Book Is For
This book is for developers with a basic understanding of Android programming who would like to improve the appearance and usability of their applications by creating a more interactive user experience and dynamically adaptive UIs; providing better support for tablets and smartphones in a single app; and reducing the complexity of managing app UIs.
What You Will Learn
- Learn the role and capabilities of fragments
- Use Android Studio's fragment-oriented features
- Create an app UI that works effectively on smartphones and tablets
- Manage the creation and life cycle of fragments
- Dynamically manage fragments using the FragmentTransaction class
- Learn the application design for communicating between fragments
- Leverage fragments when implementing applications that take advantage of the latest features of Material Design
In Detail
Today's users expect mobile apps to be dynamic and highly interactive, with rich navigation features. These same apps must look fantastic whether running on a medium-resolution smartphone or high-resolution tablet. Fragments provide the toolset we need to meet these user expectations by enabling us to build our applications out of adaptable components that take advantage of the rich capabilities of each individual device and automatically adapt to their differences.
This book looks at the impact fragments have on Android UI design and their role in both simplifying many common UI challenges and in providing best practices for incorporating rich UI behaviors. We look closely at the roll of fragment transactions and how to work with the Android back stack. Leveraging this understanding, we explore several specialized fragment-related classes such as ListFragment and DialogFragment. We then go on to discuss how to implement rich navigation features such as swipe-based screen browsing, and the role of fragments when developing applications that take advantage of the latest aspects of Material Design.
You will learn everything you need to provide dynamic, multi-screen UIs within a single activity, and the rich UI features demanded by today's mobile users.
Style and approach
A fast-paced learning guide that gives a hands-on, code-intensive approach with a focus on real-world applications.
商品描述(中文翻譯)
使用片段創建引人入勝的應用程式,以提供豐富的用戶界面,並根據客戶的平板電腦和智能手機的個別特徵動態調整
本書簡介
- 由一位著名作者撰寫的書籍,幫助您創建能夠根據個別設備特徵動態調整的引人入勝的應用程式
- 唯一一本包含最新片段導向功能及其在 Material Design 中角色的書籍
- 本書提供了以代碼為重點的討論和詳細示例,幫助您更好地理解和更快地學習。
本書適合誰
本書適合對 Android 程式設計有基本了解的開發人員,他們希望通過創建更具互動性的用戶體驗和動態自適應的用戶界面來改善應用程式的外觀和可用性;在單一應用程式中為平板電腦和智能手機提供更好的支持;並減少管理應用程式用戶界面的複雜性。
您將學到什麼
- 了解片段的角色和功能
- 使用 Android Studio 的片段導向功能
- 創建在智能手機和平板電腦上有效運作的應用程式用戶界面
- 管理片段的創建和生命週期
- 使用 FragmentTransaction 類動態管理片段
- 學習片段之間通信的應用設計
- 在實現利用最新 Material Design 特性的應用程式時利用片段
詳細內容
當今的用戶期望移動應用程式是動態且高度互動的,並具備豐富的導航功能。這些應用程式無論在中等解析度的智能手機還是高解析度的平板電腦上運行,都必須看起來非常出色。片段提供了我們滿足這些用戶期望所需的工具集,使我們能夠構建由可調整組件組成的應用程式,充分利用每個設備的豐富功能,並自動適應它們的差異。
本書探討了片段對 Android UI 設計的影響,以及它們在簡化許多常見 UI 挑戰和提供最佳實踐以融入豐富 UI 行為方面的角色。我們仔細研究片段交易的作用以及如何與 Android 回退堆棧一起工作。利用這種理解,我們探索幾個專門的片段相關類別,如 ListFragment 和 DialogFragment。然後,我們討論如何實現豐富的導航功能,如基於滑動的螢幕瀏覽,以及在開發利用最新 Material Design 方面的應用程式時片段的角色。
您將學到提供動態、多螢幕用戶界面的所有必要知識,並滿足當今移動用戶對豐富 UI 功能的需求。
風格與方法
一本快速學習指南,提供實踐性強、以代碼為重點的方法,專注於現實世界的應用。