The problem is this line:
Dim LblNumEnc As Label : LblNumEnc.Text = ""
You MUST not try to set view properties in Globals !!!
Only
Dim LblNumEnc As Label
You had a similar line in EncuestaViajeros Globals !
The same for these lines in EncuestaViajeros Globals
If Main.gCodigoBus = True Then
edtCodigoBus.Text = Main.gCodigoBus
End If
I moved these to Activity_Resume, depending on what you need you can move them to Activity:Create.
Suggestions:
1) I wouldn't put the VALIDAR button in EncuestaViajeros at the bottom of the ScrollView panel but at the bottom of the screen.
If the user scrolls up to change something he needs to scroll down to see the button.
2) In EncuestaViajeros in Sub btnValidar1_Click you have these lines at the end.
Main.NewSurvey = True
StartActivity("Main")
And in Main in Activity_Resume these:
If NewSurvey = True Then
StartActivity("EncuestaViajeros")
NewSurvey = False
End If
You quit and you come back ?
You can remove these lines.
3) You still have a wrong layout variant for ScrollViewLayout !?
In this layout evrerything is limitedet to a 600dip width, why don't you use the whole width ?
Attached a modified version.