Creating Dynamic UIs with Android Fragments Second Edition
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.
商品描述(中文翻譯)
使用片段創建引人入勝的應用程序,以提供豐富的用戶界面,並根據客戶的平板電腦和智能手機的個別特徵進行動態適應
關於本書
- 一位傑出的作者為您帶來一本能幫助您創建根據個別設備特徵動態適應的引人入勝應用程序的書籍
- 唯一一本包含最新的以片段為導向的功能及其在材料設計中角色的書籍
- 本書提供了代碼密集的討論和詳細示例,幫助您更好地理解並更快地學習。
本書適合對Android編程有基本了解的開發人員
本書適合對Android編程有基本了解的開發人員,他們希望通過創建更具互動性的用戶體驗和動態適應的UI來改善應用程序的外觀和可用性;在單個應用程序中為平板電腦和智能手機提供更好的支持;並減少管理應用程序UI的複雜性。
您將學到什麼
- 了解片段的角色和功能
- 使用Android Studio的片段導向功能
- 創建在智能手機和平板電腦上有效運作的應用程序UI
- 管理片段的創建和生命周期
- 使用FragmentTransaction類動態管理片段
- 學習在片段之間進行通信的應用程序設計
- 在實現利用材料設計的最新功能的應用程序時利用片段
詳細內容
今天的用戶期望移動應用程序具有動態和高度互動的豐富導航功能。這些應用程序無論在中分辨率智能手機還是高分辨率平板電腦上運行時都必須看起來很棒。片段提供了我們滿足這些用戶期望所需的工具集,使我們能夠構建適應每個個別設備豐富功能的應用程序組件,並自動適應其差異。
本書探討了片段對Android UI設計的影響,以及它們在簡化許多常見UI挑戰和提供豐富UI行為的最佳實踐中的作用。我們仔細研究了片段事務的作用以及如何使用Android返回堆棧進行工作。在此基礎上,我們探討了幾個特殊的與片段相關的類,如ListFragment和DialogFragment。然後,我們討論了在開發利用材料設計的最新方面的應用程序時,片段的作用。
您將學到一切,以在單個活動中提供動態的多屏幕UI,以及今天移動用戶所需的豐富UI功能。
風格和方法
這是一本快節奏的學習指南,以實際應用為重點,提供了一種以代碼為重的實踐方法。