私は2つのwebviewsでレイアウトをしようとしています。私の問題は、私が別のWebビューの上に置いておきたいときです。彼らは別の位置に置かれます。ありがとうございます!! ;)どのように2つのwebview(別のwebview上に1つ)を置くことができます
私はここに私のコードを記述します。
<?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:orientation="vertical" >
<WebView
android:id="@+id/webview2"
android:layout_width="match_parent"
android:layout_height="50dp"
android:autoLink="web"
android:scrollbars="none"
android:textColor="@android:color/black" />
<WebView
android:id="@+id/webview1"
android:layout_width="match_parent"
android:layout_height="570dp"
android:autoLink="web"
android:scrollbars="none"
android:textColor="@android:color/black" />
</LinearLayout>
なぜWebビューを別のものにする必要がありますか? –