Android Question Layout with banner.

LucaMs

Expert
Licensed User
Longtime User
I use a label as placeholder for a banner, lblBanner, on top of my layout.
Then, all other views below it; maybe the best thing is to place a panel big as the rest of the space.

I "draw" my layout, adding views and setting their anchors.

Then I must add the script to resize the height of the banner (lblBanner) and I must change the top position and the height of the "base panel", loosing what anchors did.

Is this right? What is the best approach?


Thank you
 
Top