Java 为什么我不';你看不到Android应用程序的布局吗?

Java 为什么我不';你看不到Android应用程序的布局吗?,java,android,eclipse,sdk,adt,Java,Android,Eclipse,Sdk,Adt,嗨,如果我使用此布局,我的android应用程序中会出现错误: <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="match_parent" androi

嗨,如果我使用此布局,我的android应用程序中会出现错误:

<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="match_parent"
    android:orientation="horizontal">
    <EditText android:id="@+id/edit_message"
        android:layout_weight="1"
        android:layout_width="0dp"
        android:layout_height="wrap_content"
        android:hint="@string/edit_message" />
    <Button
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:text="@string/button_send" />
</LinearLayout>
这是我的版本

<uses-sdk
        android:minSdkVersion="15"
        android:targetSdkVersion="21" />


您不能在4.4W上使用EditText。将API更改为19或更少。如果未下载API 19,则可以从SDK管理器下载API级别19

您可能在布局的预览窗口中选择了Android 4.4W(API 20)。
<uses-sdk
        android:minSdkVersion="15"
        android:targetSdkVersion="21" />