Search in sources :

Example 1 with MapInfoFragment

use of de.bahnhoefe.deutschlands.bahnhofsfotos.dialogs.MapInfoFragment in project RSAndroidApp by RailwayStations.

the class MapsActivity method onOptionsItemSelected.

@Override
public boolean onOptionsItemSelected(final MenuItem item) {
    if (item.getItemId() == R.id.map_info) {
        final MapInfoFragment mapInfoFragment = new MapInfoFragment();
        mapInfoFragment.show(getSupportFragmentManager(), "Map Info Dialog");
    } else {
        return super.onOptionsItemSelected(item);
    }
    return true;
}
Also used : MapInfoFragment(de.bahnhoefe.deutschlands.bahnhofsfotos.dialogs.MapInfoFragment)

Aggregations

MapInfoFragment (de.bahnhoefe.deutschlands.bahnhofsfotos.dialogs.MapInfoFragment)1