on your project, Android Tools-> Add Support Library) Extend Fragment (has same methods of Activity plus someone else) Create a FragmentActivity (with a particular xml) to host your Fragment. Register your FragmentActivity in Manifest Android Programming
activity host this fragment } @Override public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstance) //called when this fragment was first created View v = inflater.inflate(R.layout.test, container); return v; } //Some other methods //All Activity methods Android Programming
a listener (interface) to respond when a user tap on Item host activity of the left fragment should implements that interface Left fragment should contain a list (maybe a ListFragment? ;-) ) that use that interface Create a method on the right fragment to update the content =) Android Programming