[Q] Need help with "Couldn't resolve resource @string/edit_message" topic

SOCIALIZE IT ⇨

So I have just started of building my first app in Android Studio but already gotten problems. I'm following the guide on https://developer.android.com/traini...ilding-ui.html to go along and learn stuff. This is all the code I have so far:


Code:


<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_width="wrap_content"
        android:layout_height="wrap_content"
        android:hint= @string/edit_message"
        />
    </LinearLayout>


Bur for some reasen I get the error " Rendering Problems Couldn't resolve resource @string/edit_message" I guess there is a problem with the string id but I don't know why. Even if I copy paste the code from the website it does not work.

xda-developers


0 commentaires:

Enregistrer un commentaire