Rename UserId to UserHandle.

Change-Id: I701335483628d30c875d087f27287e084789f10c
This commit is contained in:
Dianne Hackborn
2012-08-16 11:03:22 -07:00
parent c225f65c5d
commit 77201b5414
4 changed files with 15 additions and 7 deletions

View File

@@ -150,7 +150,11 @@ public class FragmentLayout extends Activity {
// Execute a transaction, replacing any existing fragment
// with this one inside the frame.
FragmentTransaction ft = getFragmentManager().beginTransaction();
ft.replace(R.id.details, details);
if (index == 0) {
ft.replace(R.id.details, details);
} else {
ft.replace(R.id.a_item, details);
}
ft.setTransition(FragmentTransaction.TRANSIT_FRAGMENT_FADE);
ft.commit();
}