Skip to content

Instantly share code, notes, and snippets.

@yudanta
Created June 8, 2015 17:25
Show Gist options
  • Save yudanta/0a2d750dc401fc6dfa9a to your computer and use it in GitHub Desktop.
Save yudanta/0a2d750dc401fc6dfa9a to your computer and use it in GitHub Desktop.
detail_layout
<?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">
<fragment
android:name="com.google.android.gms.maps.SupportMapFragment"
android:id="@+id/map"
android:layout_width="fill_parent"
android:layout_height="280dp"
class="com.google.android.gms.maps.SupportMapFragment" />
<TextView
android:id="@+id/shelterName"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_below="@+id/map"
android:layout_marginTop="4dp"
style="@style/Base.TextAppearance.AppCompat.Medium"
android:text="shelter name"/>
<TextView
android:id="@+id/shelterDesc"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_below="@+id/shelterName"
android:layout_marginTop="4dp"
android:text="Shelter Description"/>
<TextView
android:id="@+id/latLong"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_below="@+id/shelterDesc"
android:layout_marginTop="4dp"
android:text="-7.000 - 110.00"/>
</RelativeLayout>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment