openGeeksLab / codenameone

Automatically exported from code.google.com/p/codenameone
0 stars 0 forks source link

Spinner overlay applied twice on Android #711

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Previously you had fixed issue 629 were the spinners overlay was applied twice. 
 I have been creating an app with includeNativeBool set to false, and the 
spinner looked fine, now when I set includeNativeBool to true, the spinner has 
the same issue again, seems to only occur on Android though, as my iPhone 
displays it correctly either way.

Original issue reported on code.google.com by IceCandy...@gmail.com on 16 May 2013 at 2:32

GoogleCodeExporter commented 9 years ago
Is it possible you use the derive flag for the SpinnerOverlay style? Did you 
define transparency to 0?

Original comment by shai.almog on 23 May 2013 at 7:23

GoogleCodeExporter commented 9 years ago
No derive flag,  I have tried transparency at 0, 255, and derive, all produce 
the same result.  The simulator, iPhone, and Blackberry all display it 
correctly.  Whatever is happening, I think it is effecting the performance of 
the spinner.  When I hold down on the spinner and scroll (stickyDrag in the 
source from what I can tell) it is very jittery and does not respond as quickly 
as on the other devices.  For example if I swipe the spinner and lift my finger 
on my iPhone it will spin throughout most if not all of the data in the spinner 
very fluently.  If I attempt this on any android device it will react very 
slowly and spin from for example 10 to 14.

Original comment by IceCandy...@gmail.com on 2 Jun 2013 at 6:10

GoogleCodeExporter commented 9 years ago
Actually I was just creating a test case to send you, it seems the performance 
issue is because I have it in a dialog.  There is no jittery effect or slowness 
when the spinner is on the main form but when added to a dialog is when it 
occurs.

Original comment by IceCandy...@gmail.com on 2 Jun 2013 at 6:29

GoogleCodeExporter commented 9 years ago
Is it possible the dialog have bgTransparency issues that affect the spinner?

Original comment by shai.almog on 2 Jun 2013 at 6:43

GoogleCodeExporter commented 9 years ago
Sorry hadn't noticed your response.

What would I be looking for?  Also the slowness is only really noticeable on my 
HD device by dragging or flicking the spinner, my lower res device is only 
slightly less fluid than on an iPhone.

Original comment by IceCandy...@gmail.com on 3 Jul 2013 at 7:13