I found a nice problem to use the panels in the custom view.
More precisely, the events of the panels.
Adding a panel in a normal layout, if you added the routine that handles the Touch event, the Click-LongClick events will not be raised.
This is not a problem in a normal layout, but it is in a custom view.
The reason is that in the custom view class the Touch routine MUST be present so that it can eventually raise the routine in the calling module. Thus, the Click and LongClick routines in the custom view class will never be raised.
I woke up with a great idea :
the custom view must resemble a label; the fact that it is composed of two panels has no importance to the user. So, no Touch event!
But this will be a problem in another possible custom view in the future.
I should adapt TextSize and "Text positions" used in the canvas DrawText.
For this it would be helpful the intervention of super expert Klaus
Also, I wish it were possible to change the color in times of no importance, but also as if it were a progress bar. (this is not a good translation, I trust in your intuition )
I should adapt TextSize and "Text positions" used in the canvas DrawText.
For this it would be helpful the intervention of super expert Klaus
Also, I wish it were possible to change the color in times of no importance, but also as if it were a progress bar. (this is not a good translation, I trust in your intuition )