Here I am again.
I have done some modifications based on Simontelescopium suggestions.
I tested some changes but at least I come back nearly the origin layout.
- Full screen only to remove the title bar. To have the menu bar save the need of additional buttons (i.e. to close the app)
- the mentioned size of the pop-up should be now right. It works fine on my ASUS device.
- Resizing the paddle was not so stunning. Especially in combination to have more space to slide with the finger. The whole look and feel appeared stocky and plumb. And the distance between the to paddles was to short - or alternatively the two paddles faced asynchronous. Therfore I resized back.
-I've got the chance to have a look on a HTC device during the last days. In my opinion there are two possible reasons for the observed ball pausing:
1# sliding with the finger means that we have in rapid succession an OnClick event of the display. Cause the finger covers - in contrast to the pen - an area and totters. This fires all the time an event and effectuates the movement of the ball paused. Maybe one explanation :sign0137: Perhabs I will follow an idea of multithreading in the future.
2# In the program code there was a query to prevent that the paddle runs out of the screen. I solved this with an other algorithm.
Next weekend - if I have more time - I will think about improvement of the "intelligence" of the computer player
Please find in post #1 the changed files.
cu
mhc