res\layout\Contact_us.xml: Invalid file name: must contain only [a-z0-9_.]
<pre><code>public class main extends Activity {
/** Called when the activity is first created. */
EditText username,password1;
Button sub;
String uname,pass;

@Override
public void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    setContentView(R.layout.main);

    sub = (Button) findViewById(R.id.btn_submit);

    sub.setOnClickListener(new View.OnClickListener() {

        @Override
        public void onClick(View v) {
            // TODO Auto-generated method stub
        username = (EditText) findViewById(R.id.uname);
        password1 = (EditText) findViewById(R.id.editText2);
        uname = (String) username.getText().toString();
        pass = (String) password1.getText().toString();

        if (uname.equalsIgnoreCase("Azhar"))
        {
            if (pass.equalsIgnoreCase("azhar"))
            {
                Toast.makeText(main.this, "user is authenticated", Toast.LENGTH_LONG).show();
            }
            else
                Toast.makeText(main.this, "Password Invalid", Toast.LENGTH_LONG).show();
        }
        else {
            Toast.makeText(main.this, "User or Password Invalid", Toast.LENGTH_LONG).show();
            }
        }
    });

    }
}
</code></pre>

<p>code showing the following error..</p>

<pre><code>res\layout\Contact_us.xml: Invalid file name: must contain only [a-z0-9_.]
</code></pre>
