Enabling idle screen timeout
Monkey Targets Forums/Android/Enabling idle screen timeout
| ||
Hi, any way to re-enable the screen idle timeout? Not sure what it is called really but it's when the screen will blank after a few seconds of inactivity. |
| ||
I think you can enable it in the manifest file, in the Android build folder. Not at my computer right now, but I think it's there |
| ||
Ah yes yes I clicked around until I found on in the build folder. I am seeing a "Theme.NoTitleBar.Fullscreen", do you know off the top of your head what it needs to be changed to? |
| ||
Found it for sure, thanks ziggy. Here it is for future reference: open main.xml in your projects android templates folder (ex: project\project.buildv77f\android\templates\res\layout\main.xml) and changed the following line: 'android:keepScreenOn="true"' to 'android:keepScreenOn="false"' |