Good day! I can put the buttons on the top of the card or on the side or bottom, but how to make the card in the background like this

here's how i do:

<RelativeLayout 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:paddingBottom=" @dimen /activity_vertical_margin" android:paddingLeft=" @dimen /activity_horizontal_margin" android:paddingRight=" @dimen /activity_horizontal_margin" android:paddingTop=" @dimen /activity_vertical_margin" tools:context=".MainActivity" > <Button android:id="@+id/btnSurrey" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_alignParentRight="true" android:layout_alignParentTop="true" android:onClick="onClick_Surrey" android:text="Surrey" /> <fragment android:id="@+id/map" android:name="com.google.android.gms.maps.MapFragment" android:layout_below="@+id/btnSurrey" android:layout_width="match_parent" android:layout_height="match_parent" /> <Button android:id="@+id/btnBurnaby" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_alignParentTop="true" android:layout_centerHorizontal="true" android:onClick="onClick_Burnaby" android:text="Burnaby" /> <Button android:id="@+id/btnCity" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_alignParentLeft="true" android:layout_alignParentTop="true" android:onClick="onClick_City" android:text="City" /> </RelativeLayout> 

but I do not know how to put the card in the background

    1 answer 1

     <FrameLayout> <fragment/> <RelativeLayout> <Button/> <Button/> <Button/> </RelativeLayout> </FrameLayut> 
    • thank you) - Firespirit