Hi,

  LinearLayout layout = (LinearLayout) findViewById*(R.layout.menu); (R.id.)
*

you have to declare layout id only na

On Fri, Jun 10, 2011 at 10:44 AM, Mansoor <[email protected]> wrote:

> hi,
> In your onCreate  method  u doing something wrong
>
> LinearLayout layout = (LinearLayout) findViewById(R.layout.menu);
>
> u have to give linear layout id instead of using R.layout.menu
>
> it should be somthing as follow:
>
> LinearLayout layout = (LinearLayout) findViewById(R.id.<your linear
> layout id given in xml>);
>
> regards
> Mansoor V.M
>
> --
> 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
>



-- 




"Nobody can go back and start a new beginning, but anyone can start today
and make a new ending"
-----
Thanks,
Regards,
νιנαソαkum@r M
BloG:http://iamvijayakumar.blogspot.com/
Mob.No:08792527827(Bglr)
Mob.No:09751076707(TN)

-- 
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