r.id id cannot be resolved
<p>while i have programming an android program about voice recognizing i have a little problem.what is the r.id cannot be resolved i have try to change my xml files which includes res folder.it doesnt works.what can i do ?</p>

<p>my main.xml</p>

<pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
&lt;LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="fill_parent"
    android:layout_height="fill_parent"
    android:orientation="vertical" &gt;

    &lt;TextView
        android:layout_width="fill_parent"
        android:layout_height="wrap_content"
        android:text="@string/hello" /&gt;

&lt;/LinearLayout&gt;
</code></pre>
