package p1.p2; public class MyFragmentActivity extends android.app.Activity { public static class MyFragment extends android.app.Fragment { } }