Hi,
I have used Erel suggestion given in
https://www.b4x.com/android/forum/threads/spinner-button-click.17195/
ie
Sub OpenSpinner(s AsSpinner)Dim r AsReflector
r.Target = s
r.RunMethod("performClick")
End Sub
to open the spinner upon clicking something (in my case a lable object).
In Android 3.x it works fine as the spinner opens the view with the radio button, but in 4.x it opens fine the spinner but spinner is placed in the top left corner (it looks 0,0) of the panel.
Actually is thew same behavior of the above post but that post does not give a final solution.
Is there a way to control the top left settings of the "target" view?
thanks!!
I have used Erel suggestion given in
https://www.b4x.com/android/forum/threads/spinner-button-click.17195/
ie
Sub OpenSpinner(s AsSpinner)Dim r AsReflector
r.Target = s
r.RunMethod("performClick")
End Sub
to open the spinner upon clicking something (in my case a lable object).
In Android 3.x it works fine as the spinner opens the view with the radio button, but in 4.x it opens fine the spinner but spinner is placed in the top left corner (it looks 0,0) of the panel.
Actually is thew same behavior of the above post but that post does not give a final solution.
Is there a way to control the top left settings of the "target" view?
thanks!!