Created
January 12, 2018 18:29
-
-
Save aasumitro/4a36c9de0947fb75759a0a1279b7ac9c to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//ini taru di main_activity.xml | |
<fragment | |
android:id="@+id/map" | |
android:name="com.google.android.gms.maps.SupportMapFragment" | |
android:layout_width="match_parent" | |
android:layout_height="match_parent" | |
android:layout_marginBottom="68dp" | |
tools:context="id.my.asmith.ktg001.ContentActivity.DetailActivity" /> | |
baru di MainActivity.java | |
SupportMapFragment mapFragment = (SupportMapFragment) getSupportFragmentManager() | |
.findFragmentById(map); | |
mapFragment.getMapAsync(this); | |
jang lupa | |
implements OnMapReadyCallback |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment