Listen and read

Step into an infinite world of stories

  • Read and listen as much as you want
  • Over 950 000 titles
  • Exclusive titles + Storytel Originals
  • Easy to cancel anytime
Try now
image.devices-Singapore 2x
Cover for Creating Dynamic UIs with Android Fragments - Second Edition

Creating Dynamic UIs with Android Fragments - Second Edition

Language
English
Format
Category

Non-Fiction

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.

© 2016 Packt Publishing (Ebook): 9781785882760

Release date

Ebook: 23 March 2016

Others also enjoyed ...

Features:

  • Over 950 000 titles

  • Kids Mode (child safe environment)

  • Download books for offline access

  • Cancel anytime

Most popular

Unlimited

For those who want to listen and read without limits.

S$12.98 /month
3 days for free
  • 1 account

  • Unlimited Access

  • Unlimited listening

  • Cancel anytime

Try now

Unlimited Bi-yearly

For those who want to listen and read without limits.

S$69 /6 months
14 days for free
Save 11%
  • 1 account

  • Unlimited Access

  • Unlimited listening

  • Cancel anytime

Try now

Unlimited Yearly

For those who want to listen and read without limits.

S$119 /year
14 days for free
Save 24%
  • 1 account

  • Unlimited Access

  • Unlimited listening

  • Cancel anytime

Try now

Family

For those who want to share stories with family and friends.

From S$14.90/month
  • 2-3 accounts

  • Unlimited Access

  • Unlimited listening

  • Cancel anytime

2 accounts

S$14.90 /month
Try now