Remove buit in zoom control.

This commit is contained in:
chteufleur 2018-08-16 17:33:18 +02:00
parent e42695544e
commit e5709a7112
2 changed files with 2 additions and 3 deletions

View File

@ -45,7 +45,6 @@ import java.util.List;
import java.util.Observable;
import java.util.Observer;
import fr.chteufleur.mytrackingdog.models.Gpx;
import fr.chteufleur.mytrackingdog.models.beans.MyLocation;
import fr.chteufleur.mytrackingdog.models.beans.MyLocationArray;
import fr.chteufleur.mytrackingdog.services.ServiceGps;
@ -111,7 +110,7 @@ public class MainActivity extends AppCompatActivity implements IOrientationConsu
map.setTileSource(TileSourceFactory.OpenTopo);
// Add the ability to zoom with 2 fingers
map.setBuiltInZoomControls(true);
map.setBuiltInZoomControls(false);
map.setMultiTouchControls(true);
// Center the map on a lat/lon

View File

@ -25,7 +25,7 @@
android:gravity="center"
android:textColor="@android:color/white"
android:background="#77000000"
android:layout_height="wrap_content"></TextView>
android:layout_height="wrap_content" />
</android.support.design.widget.AppBarLayout>
<org.osmdroid.views.MapView android:id="@+id/map"