adding button on default google map activity
<p>I would like to add a Button on top of my default Googlemap Activity in android studio. I tried this one by changing the XML code of Googlemap fragment like this:</p>

<pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;

&lt;LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent" &gt;

&lt;fragment
    android:id="@+id/location_map"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    class="com.google.android.gms.maps.SupportMapFragment" /&gt;
&lt;Button
    android:id="@+id/button1"
    android:layout_width="match_parent"
    android:layout_height="fill_parent"
    android:padding="0dp"
    android:paddingBottom="0dp"
    android:background="#359c5e"
    android:text="@string/go"
    android:textColor="#ffffff" /&gt;
</code></pre>

<p>
 But I am unable to get Button on my mapfragment. I tried so many ways by writing Button before Fragment and Viceversa in XML file, still facing the same problem. </p>

<p><strong>My requirement is that</strong></p>

<ol>
<li>to create a Button on mapfragment .</li>
<li>when it is clicked it should show some customized markers on it.</li>
</ol>

<p>How to achieve this task ? Any suggestions are appreciated.</p>