eaguirrezaba001 / solitaire-for-android

Automatically exported from code.google.com/p/solitaire-for-android
Apache License 2.0
0 stars 0 forks source link

Game goes into wierd state after reading a sms message #13

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Play a game
2. Read a text message via the top menu bar
3. Return to game

The cards appeared in one small stack with nothing else visable. A
save&quit followed by a restart remedies the problem, so it is most likely
an unexpected state change in android causing the bg not to redraw.

Original issue reported on code.google.com by kma...@google.com on 24 Dec 2008 at 7:14

GoogleCodeExporter commented 9 years ago
Fixed in revision 11. Problem was do to dependency of onSizeChanged() call to 
place
anchors in the proper location. Android occasionally makes that call before 
calling
onStart(), so I explicitly call it when loading a game to avoid this issue.

Original comment by kma...@google.com on 6 Jan 2009 at 6:28