The whole intention of this post is to go through the lifecycle transitions between an activity and an embedded fragment. A fragment can be added to an activity by using the fragment tag and is referred by a class (EmbeddedFragment in example below)
<fragment android:id="@+id/EmbeddedFragment" android:name="com.android.example.EmbeddedFragment" android:layout_width="match_parent" android:layout_height="match_parent" > </fragment>