Keep screen on

Signed-off-by: Mario Danic <mario@lovelyhq.com>
This commit is contained in:
Mario Danic 2018-01-14 03:45:58 +01:00
parent 0bd50f7126
commit c8ff05ed04
2 changed files with 3 additions and 2 deletions

View file

@ -23,7 +23,8 @@
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@color/nc_white_color">
android:background="@color/nc_white_color"
android:keepScreenOn="true">
<ProgressBar
android:id="@+id/progress_bar"

View file

@ -22,6 +22,7 @@
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:keepScreenOn="true"
android:orientation="vertical">
<ProgressBar
@ -41,7 +42,6 @@
android:id="@+id/webview"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:keepScreenOn="true"
android:visibility="invisible">
</WebView>