You will need a file loginscreeen.xml in your res/layout directory that
defines the layout. Your Java code looks ok.Ludwig

2008/10/23 dilu <[EMAIL PROTECTED]>

>
> hi
> I am getting error in my java file as R.layout.loginscreen cannot be
> resolved. my  loginscreen. java file is as :
>
> package com.android.hello;
>
> import android.app.Activity;
> import android.os.Bundle;
> import android.util.Log;
>
>
> public class LoginScreen extends Activity {
>        private static final String TAG = "LoginScreen";
>
>    @Override
>    public void onCreate(Bundle icicle) {
>        super.onCreate(icicle);
>        setContentView(R.layout.loginscreen);
>        Log.i(TAG, "onCreate() called!");
>    }
> }
>
> please help me out .
> thanks.
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to