Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 58056

android keepScreenOn

$
0
0

Any ideas as to how you can make the screen stay lite via xamarin forms for droid on ios I have a Page renderer that calls the below on viewdidload

UIApplication.SharedApplication.IdleTimerDisabled = true;

can't see any c# / code way to do this on android only through adding android:keepScreenOn="true" in the axml

any ideas?


Viewing all articles
Browse latest Browse all 58056

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>