2011-08-10 21 views
2

私はバックグラウンドで欲しいwebviewを表示します。私は前景にそのwebview上に別のボタンを配置したい。どのように同じを達成する。マップビューを使用してgooglemapを読み込むことができます。ボタンを置くことができません。私はmapviewでGoogleマップを表示しています。ボタンをWebviewに置く方法

enter image description here

おかげ

+1

私はあなたの問題の答えはありませんが、ボタンを置くことができないようにGoogleロゴが表示されている必要があります。 –

答えて

1

はあなたのすべてをありがとうございました。私はFramelayoutを使って解決策を得ました。

<FrameLayout 

     android:layout_width="fill_parent" 
     android:layout_height="fill_parent" 
     android:layout_below="@+id/header" 
     android:layout_above="@+id/footer"> 
     <WebView 
      android:id="@+id/GD_webview" 
      android:layout_width="fill_parent" 
      android:layout_height="fill_parent" 
      android:layout_above="@+id/footer" /> 

      <Button 
      android:layout_centerVertical="true" 
      android:id="@+id/setTimeBtn" 
      android:layout_height="wrap_content" 
      android:layout_alignParentLeft="true" 
      android:layout_width="wrap_content" 
      android:background="@drawable/settime" 
      android:layout_gravity="bottom" 
      android:layout_marginBottom="15dip"></Button> 
    </FrameLayout 
> 
関連する問題