Hi,
I included the lines:
RelativeLayout relativelayoutevent = (RelativeLayout)
getLayoutInflater().inflate(R.layout.event, null);
FrameLayout.LayoutParams tempparams= new
FrameLayout.LayoutParams
(LayoutParams.WRAP_CONTENT,LayoutParams.WRAP_CONTENT,Gravity.BOTTOM|
Gravity.LEFT);
relativelayoutevent.setLayoutParams(tempparams);
framelayout1.addView(relativelayoutevent);
And this is the exception it throws:
android.view.InflateException: <merge /> can be used only with a valid
ViewGroup root and attachToRoot=true
Thank you,
B.Arunkumar
On Dec 2, 3:09 pm, skink <[email protected]> wrote:
> B.Arunkumar wrote:
> > Hi,
>
> > Your suggestion doesn't work.
>
> what does logcat show during the crash?
>
> pskink
--
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