John put me in the right direction with his answer. Indeed, in the portrait, XML only showed a list fragment:<?xml version="1.0" encoding="utf-8"?>
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent" android:layout_height="match_parent">
<fragment class="com.dixon.blah.Events$EventsListFragment"
android:id="@+id/titles"
android:layout_width="match_parent" android:layout_height="match_parent" />
</FrameLayout>
If I change this to a part fragment, however, I get FC, since no item has been selected from the list yet. I got around this by putting the code below in my FragmentActivity onCreate method:
if(detailsFrame != null) {
Intent intent = new Intent();
intent.setClass(this, EventDetailsActivity.class);
intent.putExtra("index", mCurCheckPosition);
intent.putExtra("id", mSelectedId);
startActivity(intent);
}
, detailFrame . , , , .