Как сделать веб-просмотр и три кнопки в Android, три кнопки вниз и рядом друг с другом, и веб-вид появляется на оставшемся экране.
Я попробовал следующий код
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent"
android:layout_height="fill_parent" tools:context=".MainActivity"
android:orientation="vertical"
>
<WebView
android:layout_width="match_parent"
android:layout_height="fill_parent"
android:id="@+id/webview"
android:background="#fff"
/>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="100dp"
android:orientation="horizontal"
>
<Button
android:id="@+id/button1"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="1"
android:text="Button" />
<Button
android:id="@+id/button"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="1"
android:text="Button" />
</LinearLayout>
</LinearLayout>