Created
November 25, 2014 10:04
-
-
Save devrath/e9fff6701241bb7b6547 to your computer and use it in GitHub Desktop.
Make custom MapMarker at center of map
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <FrameLayout 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:gravity="center" > | |
| <fragment | |
| android:id="@+id/map" | |
| android:name="com.google.android.gms.maps.MapFragment" | |
| android:layout_width="match_parent" | |
| android:layout_height="match_parent" | |
| android:scaleType="center" /> | |
| <ImageView | |
| android:id="@+id/imageView1" | |
| android:layout_width="wrap_content" | |
| android:layout_height="wrap_content" | |
| android:layout_gravity="center" | |
| android:src="@drawable/marker" /> | |
| </FrameLayout> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment