Donavan John Wallis
Donavan John Wallis

Reputation: 69

Android screen disabeling on activity launch

there's a small annoying bug that I cant get rid off. After every activity that I launch in my app, the screen disables itself (goes darker) I have to tap the screen twice and on jellybean I have to press the back button twice to disable screen.

I have used

getWindow().addFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON);

as well as

android:keepScreenOn="true"

but the problem still presists... I think its really bad ux so need a fix....and go....

Upvotes: 0

Views: 26

Answers (0)

Related Questions