When the device screen is turned off, either because it times out, or the user pushed the sleep button, and when the device is turned on again, I get what I call the Green Screen of Death:
As you can see, Activity title remains set, but nothing shows.
More bizarre is that the controls are still there. I can verify they are initialized.
But nothing I do can show them back. I tried RequestFocus to no avail. It does return true, but I wonder where it shows!
Is there any way besides my human eyes, but in code, I can detect that condition, so I remove all views, and reload the layout ?
I searched the forum, but there does not seem to be any post yet.
Any idea ?
TIA
As you can see, Activity title remains set, but nothing shows.
More bizarre is that the controls are still there. I can verify they are initialized.
But nothing I do can show them back. I tried RequestFocus to no avail. It does return true, but I wonder where it shows!
Is there any way besides my human eyes, but in code, I can detect that condition, so I remove all views, and reload the layout ?
I searched the forum, but there does not seem to be any post yet.
Any idea ?
TIA