Exemple #1
0
  @Override
  protected void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    setContentView(R.layout.activity_poi_map);

    setupToolBar();

    mapView = (MapView) findViewById(R.id.map);
    mapView.onCreate(savedInstanceState);
    aMap = mapView.getMap();
  }
Exemple #2
0
 @Override
 public void setupToolBar() {
   super.setupToolBar();
   getSupportActionBar().setHomeButtonEnabled(true);
   getSupportActionBar().setDisplayHomeAsUpEnabled(true);
 }