Thursday, June 9, 2011

[android-developers] Re: Adding animation to LinearLayout

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 android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

No comments:

Post a Comment