Hi to you all, I've got a problem positioning views runtime.
Activity.AddView(Panel1,0,0,100%x,100%y)
Panel1.AddView(Label1,0,2dip,100%x,-2)
Panel1.AddView(Spinner1,0,Label1.Top+Label1.Height+1dip,100%x-2dip,40dip)
I use -2 in label to auto-height the label. I'd like positioning Spinner1 below the Label1 but with this code both Spinner and Label have the same TOP.
If I use this code, instead, it works as I want.
Activity.AddView(Panel1,0,0,100%x,100%y)
Panel1.AddView(Label1,0,2dip,100%x,35dip)
Panel1.AddView(Spinner1,0,Label1.Top+Label1.Height+1dip,100%x-2dip,40dip)
Some solution?
I don't want fixed height for label !!!!!!