I have this layout:
2 UltimateListViews: 1 to a list of profiles and 1 (right = 28dip) to a list of letters.
I want to put a banner inside the list of profiles.
I created a layout to the cell of profiles and a layout to the cell of banners.
If I use this code (with 100%x) the banner is shown correctly but cuts the right side (the button with arrow), like image:
If I change the width (100%x) to this options, to try show the width of banner correctly, the banner is not show:
- 97%x
- 100%x - 28dip
- pAd.Width
What could be happening?
How I can fix it?
Thanks in advance for any tip.
2 UltimateListViews: 1 to a list of profiles and 1 (right = 28dip) to a list of letters.
I want to put a banner inside the list of profiles.
I created a layout to the cell of profiles and a layout to the cell of banners.
If I use this code (with 100%x) the banner is shown correctly but cuts the right side (the button with arrow), like image:
B4X:
Dim pAd As Panel = LayoutPanel.GetView(0) 'First view in the panel
pAd.AddView(AdView1, 0, 0, 100%x, iheight)
If I change the width (100%x) to this options, to try show the width of banner correctly, the banner is not show:
- 97%x
- 100%x - 28dip
- pAd.Width
What could be happening?
How I can fix it?
Thanks in advance for any tip.