- Creating Dynamic UIs with Android Fragments(Second Edition)
- Jim Wilson
- 143字
- 2021-07-16 12:40:45
Chapter 2. Fragments and UI Flexibility
This chapter builds on the concepts introduced in the previous chapter to provide solutions to addressing specific differences in device layouts. The chapter explains the use of adaptive activity layout definitions to create apps that automatically rearrange their user interface in response to the differences in device form factors. With adaptive activity layout definitions, applications are able to support a wide variety of devices using just a few properly designed fragments.
In this chapter, we will cover the following topics:
- Simplifying the challenge of supporting device differences
- Dynamic resource selection
- Coordinating fragment content
- The role of FragmentManager
- Supporting fragments across activities
By the end of this chapter, we will be able to implement a user interface that uses fragments to automatically adapt to differences in device layouts and coordinates user actions across the involved fragments.
推薦閱讀
- MySQL高可用解決方案:從主從復(fù)制到InnoDB Cluster架構(gòu)
- 文本挖掘:基于R語言的整潔工具
- Libgdx Cross/platform Game Development Cookbook
- Access 2016數(shù)據(jù)庫技術(shù)及應(yīng)用
- 數(shù)據(jù)要素五論:信息、權(quán)屬、價(jià)值、安全、交易
- 大數(shù)據(jù)技術(shù)入門
- 大數(shù)據(jù)精準(zhǔn)挖掘
- Mastering LOB Development for Silverlight 5:A Case Study in Action
- Oracle 11g+ASP.NET數(shù)據(jù)庫系統(tǒng)開發(fā)案例教程
- 數(shù)據(jù)指標(biāo)體系:構(gòu)建方法與應(yīng)用實(shí)踐
- MySQL技術(shù)內(nèi)幕:InnoDB存儲引擎
- Access 2010數(shù)據(jù)庫應(yīng)用技術(shù)教程(第二版)
- 數(shù)據(jù)庫基礎(chǔ)與應(yīng)用
- C# 7 and .NET Core 2.0 High Performance
- Unity 4.x Game AI Programming