Hello all,
I noticed that in visual designer we have the option to add the views in the activities and B4XView, but I confess that for me it's not clear yet if I'll have advantages when translating a B4A app to B4i using that kind of approach... for example, I tried to reference the padding property of an editText view declared as B4XView and didn't find this - later I saw that I must to reference in the code the B4X view as the specific element that I want to define the property. Something like this:
This looks more complicated instead to be easier when translating to B4i... Am I wrong? What am I not seeing here?
I noticed that in visual designer we have the option to add the views in the activities and B4XView, but I confess that for me it's not clear yet if I'll have advantages when translating a B4A app to B4i using that kind of approach... for example, I tried to reference the padding property of an editText view declared as B4XView and didn't find this - later I saw that I must to reference in the code the B4X view as the specific element that I want to define the property. Something like this:
B4X:
Dim textAndroid as edittext
textB4x = textAndroid
textAndroid.padding = array as int(1,1,1,1)
This looks more complicated instead to be easier when translating to B4i... Am I wrong? What am I not seeing here?