Dim lbl As Label
lbl.Initialize("")
Dim cd As ColorDrawable
cd.Initialize(Colors.Blue, 10dip)
lbl.Background = cd
pnlAudio.AddView(lbl, 0, 0, 100%x, 30dip)
Dim lbl As Label
lbl.Initialize("")
Dim cd As ColorDrawable
cd.Initialize(Colors.Blue, 10dip)
lbl.Background = cd
pnlAudio.AddView(lbl, 0, 0, -1, 30dip)
No one said that -1 will not work.
100%x always returns the Activity width. Only in the designer script, the percentage is related to the main parent (Activity when you call Activity.LoadLayout, Panel when you call Panel.LoadLayout or TabHost when you call TabHost.AddTab).
I'm not saying that I'm not... However the weekend days here are Friday and SaturdayYou're crazy