Search in sources :

Example 1 with MapPrefFragment

use of com.secupwn.aimsicd.ui.fragments.MapPrefFragment in project Android-IMSI-Catcher-Detector by CellularPrivacy.

the class MapPrefActivity method onCreate.

@Override
protected void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    MapPrefFragment settingsFragment = new MapPrefFragment();
    FragmentManager fragmentManager = getFragmentManager();
    FragmentTransaction fragmentTransaction = fragmentManager.beginTransaction();
    fragmentTransaction.replace(android.R.id.content, settingsFragment);
    fragmentTransaction.commit();
}
Also used : FragmentManager(android.app.FragmentManager) FragmentTransaction(android.app.FragmentTransaction) MapPrefFragment(com.secupwn.aimsicd.ui.fragments.MapPrefFragment)

Aggregations

FragmentManager (android.app.FragmentManager)1 FragmentTransaction (android.app.FragmentTransaction)1 MapPrefFragment (com.secupwn.aimsicd.ui.fragments.MapPrefFragment)1