2012-01-04 22 views

回答

2

試試這個方法:

<RelativeLayout 
    android:layout_width="fill_parent" 
    android:layout_height="fill_parent"> 
    <MapView 
     android:layout_width="fill_parent" 
     android:layout_height="fill_parent" /> 
    <SeekBar 
     android:layout_width="wrap_content" 
     android:layout_height="wrap_content" 
     android:layout_alignParentTop="true" /> 
</RelativeLayout> 

您可以設置搜索欄任何你想要它只是設置的MapView在寬度和高度fill_parent也可以設置爲wrap_content不重疊。

0

使用透明面板顯示SeekBar。