title: Add button inside AndroidXMapFragment in here maps
body: <p>I'm using the here android SDK and started with the BasicMapSolution tutorial.
  Now I want to add buttons on top of the map (zoom in/zoom out/center view to my position).
  Unfortunately I did not figure out how to do it.
  I tried adding a button in activity_main.xml like this:</p>
  <pre><code>&lt;LinearLayout xmlns:android=&quot;http://schemas.android.com/apk/res/android&quot;
      xmlns:tools=&quot;http://schemas.android.com/tools&quot;
      android:layout_width=&quot;fill_parent&quot;
      android:layout_height=&quot;fill_parent&quot;
      android:orientation=&quot;vertical&quot;&gt;
  
      &lt;!-- Map Fragment embedded with the map object --&gt;
      &lt;fragment
          android:id=&quot;@+id/mapfragment&quot;
          class=&quot;com.here.android.mpa.mapping.AndroidXMapFragment&quot;
          android:layout_width=&quot;match_parent&quot;
          android:layout_height=&quot;match_parent&quot;
          tools:layout=&quot;@layout/activity_main&quot;&gt;
  
          &lt;Button
              android:layout_width=&quot;wrap_content&quot;
              android:layout_height=&quot;wrap_content&quot;
              android:layout_gravity=&quot;end|top&quot;
              android:text=&quot;Demo Button&quot;
              android:padding=&quot;10dp&quot;
              android:layout_marginTop=&quot;20dp&quot;
              android:paddingStart=&quot;10dp&quot;
              android:paddingEnd=&quot;10dp&quot;/&gt;
  
      &lt;/fragment&gt;
  &lt;/LinearLayout&gt;
  </code></pre>
  <p>But the button is not shown in the app. Can anyone help please. Just to make it clear, I want to achieve something like this:</p>
  <p><a href="https://i.stack.imgur.com/ooFoa.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ooFoa.png" alt="enter image description here" /></a></p>