title: R.id cannot be resolved on android ListActivity
body: <p>I am getting this strange error:</p>
  
  <pre><code>  R.id cannot be resolved 
  </code></pre>
  
  <p>on lines:</p>
  
  <pre><code> WebView myWebView = (WebView) findViewById(view.R.id.webview);
   myWebView.loadUrl(s);
  </code></pre>
  
  <p>I tried to clean the project and restart it.
  here is my code:</p>
  
  <pre><code>public class NewsActivity  extends ListActivity {
   public ReadXML ReadXML=new ReadXML();
   public  ArrayList&lt;String&gt; ynetList =new ArrayList&lt;String&gt;();
  
  /** Called when the activity is first created. */
  @Override
  public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
  
  for(int i=0;i&lt;ReadXML.hadashotListItems.size();i++)
  ynetList.add(ReadXML.hadashotListItems.get(i).title+"\n"+ReadXML.hadashotListItems.get(i).pubDate);
  
        setListAdapter(new ArrayAdapter&lt;String&gt;(this, R.layout.list_item, ynetList));
      //  setContentView(R.layout.main);
        ListView lv = getListView();
        lv.setTextFilterEnabled(true);
  
        lv.setOnItemClickListener(new OnItemClickListener() {
          public void onItemClick(AdapterView&lt;?&gt; parent, View view,int position, long id) {
            // When clicked, show a toast with the TextView text
          String s=   ReadXML.hadashotListItems.get(position).link;
  
          WebView myWebView = (WebView) findViewById(view.R.id.webview);
          myWebView.loadUrl(s);
      //
  
  
        //Toast.makeText(getApplicationContext(((TextView)view).getText(),Toast.LENGTH_SHORT).show();
          }
        }
        );
      }}
  </code></pre>
  
  <p>my xml code is:
  list_item.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:orientation="vertical"
  android:layout_width="fill_parent"
  android:layout_height="fill_parent"
  &gt;
  &lt;TextView xmlns:android="http://schemas.android.com/apk/res/android"
  android:layout_width="fill_parent"
  android:layout_height="fill_parent"
  android:padding="10dp"
  android:textSize="15sp" &gt;
  &lt;/TextView&gt;
  
  
  &lt;WebView  xmlns:android="http://schemas.android.com/apk/res/android"
  android:id="@+id/webview"
  android:layout_width="fill_parent"
  android:layout_height="fill_parent"
  /&gt;
  
  &lt;/LinearLayout&gt;
  </code></pre>
  
  <p>thanks for help!</p>