I tested your layout file with B4A versions 3.20 and 3.50.
I don't see any defference in the Abstract Designer with or without the If statement.
Two things look strange to me:
- the width of Enotesee2 is wider than the screen width, why.
- AutoScaleRate(-.0.065) looks very strange to me, what do you expect with this value ?
According to the equations of AutoScale, a value of AutoScaleRate = -.0.065 will have almost no effect on the layout.
I really don't understand what you excpect with this value.
As Mahares already pointed out, why do you use AutoScaleAll in a specific layout.
This is a sample for something I will be working on.
Can you be more precise on what you want to do and what you expect.