Added mapView

This commit is contained in:
RemoMeijer
2020-12-14 14:35:24 +01:00
parent bf1c5d0ac4
commit 148e84483a
2 changed files with 5 additions and 4 deletions

View File

@@ -34,6 +34,7 @@ dependencies {
implementation 'com.google.android.material:material:1.2.1' implementation 'com.google.android.material:material:1.2.1'
implementation 'androidx.constraintlayout:constraintlayout:2.0.4' implementation 'androidx.constraintlayout:constraintlayout:2.0.4'
implementation 'androidx.legacy:legacy-support-v4:1.0.0' implementation 'androidx.legacy:legacy-support-v4:1.0.0'
implementation 'com.google.android.gms:play-services-maps:17.0.0'
testImplementation 'junit:junit:4.13.1' testImplementation 'junit:junit:4.13.1'
// okhttp // okhttp

View File

@@ -5,10 +5,10 @@
android:layout_height="match_parent" android:layout_height="match_parent"
tools:context=".fragments.HomeFragment"> tools:context=".fragments.HomeFragment">
<!-- TODO: Update blank fragment layout -->
<TextView <com.google.android.gms.maps.MapView
android:id="@+id/mapView"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent" />
android:text="@string/hello_blank_fragment" />
</FrameLayout> </FrameLayout>