You are not using the anchors correctly.
You should set:
- the horizontal anchor of the + button to right.
- the horizontal anchor of the four views in the middle to both.
This was a stupid mistake on my part. Klaus solved it for me. I had indeed set the gradient in the designer but I also forced the color in the B4XPage_Created sub after loading the layout.