<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
tools:context=".MainActivity" >
<fragment
android:id="@+id/map"
android:layout_width="match_parent"
android:layout_height="match_parent"
class="com.google.android.gms.maps.MapFragment"/>
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="vertical"
android:background="#A0FFFFFF" >
<TextView
android:id="@+id/locinfo"
android:layout_width="wrap_content"
android:layout_height="wrap_content"/>
<ImageView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@drawable/ic_launcher" />
</LinearLayout>
</RelativeLayout>
The series:
A simple example using Google Maps Android API v2, step by step.
![Display another layout over GoogleMap thumbnail](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgG2BKKfqt2Ti_8STOf17i-2mT4JGyfo_oxazSE77HeHcwh5hR0TzI6d6BhMy8EArpVz5BwJ2rLr0AQxogI2PgNlW0e0sRYQNXxPx38b5C2dmGBu0Uo0WPerQrEcfzHNsCYYInCKi0tNoQ/s72-c/AndroidMapsV2_layout.png)
Title: Display another layout over GoogleMap
Rating: 100% based on 99998 ratings. 10 user reviews.
Post by 9:19 PM
Rating: 100% based on 99998 ratings. 10 user reviews.
Post by 9:19 PM
0 comments:
Post a Comment