I just imported an old project into Eclipse (the newest one, I've upgraded), and I have a lot of

"R cannot be resolved to a variable" When I call it... (for example R.layout.tab, ...)

So I clean my project, I tried to use import Android.R, I checked my xml files, ... but nothing sounds wrong except some warnings in one xml:

"Hardcoded string "Login", should use @string ressource, followed by "This text field does not specify an inputType or a hint" for there lines :

```
<TextView android:id="@+id/logintext" android:layout_width="fill_parent"
        android:layout_height="wrap_content" android:text="Login" />
<EditText android:id="@+id/login" android:layout_width="fill_parent"
        android:layout_height="wrap_content" android:background="@android:drawable/editbox_background" />

```

I don't understand why those lines could affect all the R.java but... it is the only warnings that there is in the R...

How can I modify those lines to have a clean code?

Thanks for your attention and to help me :-)