Android Question Add Panel "Design" in ScrollView

Andre Souza

Member
Licensed User
Hello

I'm trying to add a panel with a set of components in a scrollview created in design, and are experiencing this error. This is not possible?

java.lang.IllegalStateException: The specified child already has a parent. You must call removeView() on the child's parent first.

Activity.LoadLayout("n1")
ScrollView1.Panel.AddView(Panel1,0,0,200,Activity.Height)
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…