The activity fragments were introduced in SDK 3.0. Each fragment represent a behavior or a portion from user interface of a given activity. We can maintain multiple fragments within a single activity. On the other hand we can reuse the same fragment across different activities. This video clip shows a simple demo for an activity that includes two fragments. The following video clip explains how to create simple fragments.

You can find the source code together with a detailed presentation, that explains how do we use the activity fragments, available for free personal usage in the community version of the Android 3.0 Tablet UI course at www.abelski.com.

Leave a Reply

Your email address will not be published. Required fields are marked *