Skip to content

Instantly share code, notes, and snippets.

@codeguru42
Created March 8, 2014 03:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save codeguru42/9425009 to your computer and use it in GitHub Desktop.
Save codeguru42/9425009 to your computer and use it in GitHub Desktop.
A MapFragment with a Button
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent" >
<Button
android:id="@+id/next_button"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerHorizontal="true"
android:text="@string/next" />
<FrameLayout
android:id="@+id/map"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_above="@id/next_button" />
</RelativeLayout>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment