Create a new Fragment that describes what you want to do in each pane. For example, import android.app.Fragment; import android.os.Bundle; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; public class ButtonOneFragment extends Fragment { public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) { if (container != null) { container.removeAllViews(); } return inflater.inflate(R.layout.button_one_fragment, container, false); } public void … Read more