화면의 일부로 webview를 표시해야하는 레이아웃이 있습니다. 나는 레이아웃을 위로 설정 한 내가 이런 식으로,에 (로고 및 기절 호) 원하는대로 Eclipse에서 그래픽 레이아웃, 그것은 보이는 않습니다Android webview 전체 화면
를 그러나 나는이 레이아웃을 열 때 시뮬레이터 또는 Phone에서 WebView를 전체 화면으로 표시합니다. 이런 레이아웃을 어떻게 만듭니 까? 어떤 도움을 많이 주시면 감사하겠습니다!
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
style="@style/Theme.KB_default"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:orientation="vertical" >
<RelativeLayout
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:background="@drawable/header_background_shape" >
<TextView
android:id="@+id/heading"
style="@style/Theme.KB_header"
android:layout_width="wrap_content"
android:layout_centerHorizontal="true"
android:text="@string/app_name" >
</TextView>
<ImageView
android:id="@+id/imageViewPadlock"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentLeft="true"
android:layout_centerVertical="true"
android:layout_marginLeft="10dp"
android:contentDescription="@string/global_secure_connection"
android:src="@drawable/padlock" />
</RelativeLayout>
<View
android:layout_width="fill_parent"
android:layout_height="1dip"
android:background="@color/black" >
</View>
<LinearLayout
android:layout_width="fill_parent"
android:layout_height="0dp"
android:layout_weight="0.41"
android:orientation="vertical" >
<WebView
android:id="@+id/webview"
android:layout_width="fill_parent"
android:layout_height="fill_parent" />
</LinearLayout>
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="vertical" >
<ImageView
android:id="@+id/imageView1"
android:layout_width="40dp"
android:layout_height="20dp"
android:layout_marginBottom="5dp"
android:layout_marginLeft="15dp"
android:contentDescription="@string/global_logo"
android:scaleType="fitXY"
android:src="@drawable/logo_transparrent_notext" />
</LinearLayout>
</LinearLayout>
같은 문제 (테이블)를 일으키는 것으로 보입니다. – AzaraT