2013-10-08 2 views
0

Я просто большой разработчик приложений для andriod app devlopment. Я пытаюсь создать изменяемую область текста в линейной компоновке с помощью следующего кода:Ошибка: несколько аннотаций, найденных в этой строке: - ошибка: ошибка разбора XML: несвязанный префикс - в атрибуте отсутствует префикс пространства имен 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" 
    tools:context=".MainActivity" > 

    <EditText andriod:id="@+id/edit_message" 
    andriod:layout_width="wrap_content"  
    android:layout_height="wrap_content" 
     andriod:hint="@Srting/edit_message"> 
    </EditText>   
    </LinearLayout> 

Но при сохранении кода XML он дает ошибку.

ответ

0

<EditText andriod:id="@+id/edit_message" andriod:layout_width="wrap_content"
android:layout_height="wrap_content" andriod:hint="@Srting/edit_message"> </EditText>

Srting должна быть строка

Смежные вопросы