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

Reply via email to