• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 3099
  • Last Modified:

Android No resource found that matches the given name (at 'hint' with value...

Hi

I am getting the error "No resource found that matches the given name (at 'hint' with valu..."
at the link http://developer.android.com/training/basics/firstapp/building-ui.html
at the line marked with **ERROR

<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:hint="@string/edit_message" />  '**ERROR

</LinearLayout>
0
Murray Brown
Asked:
Murray Brown
1 Solution
 
Chris HarteThaumaturgeCommented:
It means you have not saved a string variable called 'edit_message' in your string.xml
0
 
Murray BrownMicrosoft Cloud Azure/Excel Solution DeveloperAuthor Commented:
Thanks
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now