An-droid
An-droid

Reputation: 6475

Multiple fragments/layout in one Tab of actionbarsherlock

This is related to my last post, but i need a solution quickly so i'm trying to simplify the problem.

All i want to do i having several fragments (one list at the left and a detail view at the right) in one tab.

Do you have an idea ?

Upvotes: 0

Views: 1159

Answers (1)

Rarw
Rarw

Reputation: 7663

If you know what the two Fragments are in advance just declar them both within the XML layout file for that tab. You can see how to do this in the fragment tutorial from the android docs. This will display two fragments in one activity using an outer layout element as a container.

Upvotes: 2

Related Questions