Hello everybody,
I'm trying to create a new component which is a container that fills all the screen.
I can easily do it for the "Width" using these two lines of code :
MockVerticalArrangement mockVerticalArrangement = new MockVerticalArrangement(formEditor);
mockVerticalArrangement.changeProperty("Width",""+LENGTH_FILL_PARENT);
It works fine for the width, but not for the changing the "Height" property of the container.
I thought that is a problem with the variable "LENGTH_FILL_PARENT" so I decided to try "LENGTH_PERCENT_TAG".
I was not sure about the way to use it, so I tried
mockVerticalArrangement.changeProperty("Height",""+(-(100+LENGTH_PERCENT_TAG))); This worked fine on the webdesigner, but when I execute the Apk on the phone, the container and it's children does not appear.
Anyone, does know about the right way to use the LENGTH_PERCENT_TAG ?
Any help about making the container fit all the screen would be appreciated.
Thank you,