Ich bin neu in der Tat dies ist mein erster Versuch, Android-Programm. Ich folge der Android-Entwickler-Website. Meine activity_main.xml
sieht wie folgt aus:Keine Ressource gefunden, die den angegebenen Namen bei Layout_hint
<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"
android:paddingBottom="@dimen/activity_vertical_margin"
android:paddingLeft="@dimen/activity_horizontal_margin"
android:paddingRight="@dimen/activity_horizontal_margin"
android:paddingTop="@dimen/activity_vertical_margin"
tools:context=".MainActivity" >
<EditText android:id="@+id/edit_message"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_hint="@string/edit_message"/>
Jetzt ist es ein Fehler zeigt und die Warnung wie:
Warnung - This text field does not specify an inputType or a hint
Fehler - error:Error:No resource found that matches the given name(at 'layout_hint' with the value '@string/edit_message')
Vielen Dank..der Fehler ist jetzt weg. Aber ich bekomme immer noch die Warnmeldung. – Nitish
Ich habe meine Antwort editiert. – Neoh
Thnks. beide sind jetzt weg – Nitish