Hello all,
I am basically trying to display map in Android for the first time.
Now i want to display 3 buttons on the map and when i clicked on the particular button, the button's click event should be raised.
(Map should be in full-screen and buttons are at below side)
I dont know, how do i do it ? becoz when we want to display map using mapview, at that time we have to extends MapActivity to the class. so please suggest me idea, example or referring site.
Edited:
I have displayed map using the following Layout:
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
>
<com.google.android.maps.MapView
android:id="@+id/mapView01"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:enabled="true"
android:clickable="true"
android:apiKey="my generated api key"
/>
<Button
android:text="Button"
android:id="@+id/Button01"
android:layout_width="wrap_content"
android:layout_height="wrap_content">
</Button>
</LinearLayout>
Thanx