Personally, i would use the include tag for each separate view. So you can define a main xml where all the include tags are defined. in the following an example:
<ViewFlipper xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/flipper"
android:layout_width="fill_parent"
android:layout_height="fill_parent">
<include android:id="@+id/libraryView" layout="@layout/library_view" />
<include android:id="@+id/bookView" layout="@layout/book_view" />
<include android:id="@+id/workspaceView" layout="@layout/workspace_view" />
</ViewFlipper>
i defined a ViewFlipper and added some layout resources with the include tag. In this example you would have to define
library_view.xml
book_view.xml
workspace_view.xml
Hope this could help