google map v2 api를 사용하고 계시다면 아래와 같은 fragment로 map을 추가하실 겁니다
<fragment
android:id="@+id/map"
android:layout_width="match_parent"
android:layout_height="match_parent"
class="com.google.android.gms.maps.MapFragment" />
이것을 framelayout으로 감싸주셔서 map위에 검색창을 올리시면 되겠습니다.
<FrameLayout
android:layout_width="match_parent"
android:layout_height="match_parent" >
<LinearLayout
android:id="@+id/layout_mapscreen"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical" >
<fragment
android:id="@+id/map"
android:layout_width="match_parent"
android:layout_height="match_parent"
class="com.google.android.gms.maps.MapFragment" />
</LinearLayout>
<LinearLayout
android:id="@+id/layout_mapscreen_search"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical" >
<!-- search bar -->
</LinearLayout>
</FrameLayout>
혹은 RelativeLayout으로 감싸서 하셔도 되겠습니다.
주의할 사항은 map을 먼저 그려놓고 다른걸 올리셔야 map위에 원하는 ui가 올라가게 됩니다