-
Book Overview & Buying
-
Table Of Contents
Xamarin Mobile Application Development for Android, Second Edition
By :
In this chapter, we covered a lot of ground on creating and managing fragments, including the following topics:
The Fragment class and what it does, and creating and managing fragments
How to use a declarative approach for adding fragments to activities using the <fragment> tag
Using ListFragment with ListAdapter to populate the data
How to add alternative layout resources from Xamarin Studio layout designer
How to reuse the fragments to create a multi-pane split view layout for Android tablets
How to create a dialog using DialogFragment, and create its view hierarchy using the OnCreateDialog() method
Optimizing the POIApp layout to support large-screen Android tablets
Dealing with configuration changes to save and retain the fragment state
The next chapter will guide you to deal with data persistence using SQLite in Android.
Let's take a look at the following references:
Change the font size
Change margin width
Change background colour