<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="match_parent"
    android:layout_height="wrap_content" 
    android:orientation="vertical" >
    <Spinner
            android:id="@+id/spinner1"
            android:layout_width="match_parent"
            android:layout_height="wrap_content" />
        <LinearLayout
            android:layout_width="match_parent"
            android:layout_height="wrap_content" >         <EditText
             android:id="@+id/editText1"
             android:layout_width="wrap_content"
             android:layout_height="wrap_content"
             android:layout_weight="1"
             android:ems="10" />
         <Button
             android:id="@+id/button1"
             android:layout_width="wrap_content"
            android:layout_height="wrap_content"
             android:layout_weight="1"
             android:text="查询" />
        </LinearLayout>
        <LinearLayout
         android:id="@+id/adViewLayout"
         android:layout_width="fill_parent"
         android:layout_height="wrap_content"
      >
     </LinearLayout>
        <WebView
        android:id="@+id/webView1"
        android:layout_width="fill_parent"
        android:layout_height="wrap_content" />
</LinearLayout>

解决方案 »

  1.   

    你改动的是哪?Log信息也没有, 这叫人家怎么好帮你???
      

  2.   

    我是新学者,不知道什么Log信息啊,哪里可以找到?
      

  3.   

    您如果用的是Eclipse+Java开发环境,那么有一个LogCat的工具条,里面会有详细的出错提示信息。或者,“forced Close”这个信息你是在哪里看到的呢?
      

  4.   

    "forced Close" 应该是在手机上看到的。把改动位置贴一下吧