Hello rahul,
you do not draw a EditText over a Map, but you define it in xml to be above, just like this:
This code ...
Using xml Syntax Highlighting
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent">
<view class="com.google.android.maps.MapView"
android:id="@+id/map_map"
android:layout_width="fill_parent"
android:layout_height="fill_parent"/>
<ImageView
android:id="@+id/iv_map_zoomin"
android:layout_alignParentTop="true"
android:layout_alignParentRight="true"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@drawable/plus_32"/>
<ImageView
android:id="@+id/iv_map_zoomout"
android:layout_alignParentTop="true"
android:layout_alignParentLeft="true"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@drawable/minus_32"/>
</RelativeLayout>
Parsed in 0.003 seconds, using
GeSHi 1.0.8.4
... produces this output (two
clickable (Image)Views, being automatically drawn
above of the map(and potentional map-overlays)):
See the upper corners of the mapView.
Regards,
plusminus