Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Layout used for a Fragment that contains a MapView
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/map_view_container"
android:layout_width="match_parent"
android:layout_height="match_parent">
<com.google.android.gms.maps.MapView
android:id="@+id/map_view"
android:layout_width="match_parent"
android:layout_height="match_parent" />
<TextView
android:layout_width="200dp"
android:layout_height="200dp"
android:text="Test content for map overlay"
android:background="@color/white" />
</FrameLayout>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment