Skip to content

Instantly share code, notes, and snippets.

@SebastianEngel
Last active December 22, 2015 17:59
Show Gist options
  • Save SebastianEngel/6509713 to your computer and use it in GitHub Desktop.
Save SebastianEngel/6509713 to your computer and use it in GitHub Desktop.
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