some days ago I startet a Topic "Hamburger Menue" in the iOS section. I started to create a slider menue (means that a component moves from the left site to the right site after pressing a menue button.
On iOS it is working perfect! No issues, the components are moving from left to right and I can setup the speed with "wait" and the steps.
But on Android... the slider is slow.And it doest care if i wait 0.01 sec, wait 0.001 sec or if I delete the complete Line. It is: slow... And it is not the Hardware, I have the same issue on the Android Simulator.
Code: Select all
#1 Calculate the display size
put item 3 of the screenrect into cright
# Create 20 Steps
put cright / 20 into laenge
#the factor for moving
put laenge into laenge_berechnung
# to stop the slider
put cright / 3 into crighthalb
repeat 20 times
set the right of graphic "menu" to laenge
set the right of field "fldmenue" to laenge
set the right of widget "menueheader" to laenge
# AND THIS wait is not working_
wait 0.01 sec
add laenge_berechnung to laenge
end repeat
Any Ideas why?
Stefan