Browse Source

Mantenimento dello screen sempre attivo quando in modalità play. Workaround rapido #1

gine 7 years ago
parent
commit
d877db3b98
1 changed files with 3 additions and 2 deletions
  1. 3 2
      res/layout/pl_player.xml

+ 3 - 2
res/layout/pl_player.xml

@@ -2,7 +2,8 @@
 <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
     android:layout_width="match_parent"
     android:layout_height="match_parent" 
-    android:background="#4a4a4a"> 
+    android:background="#4a4a4a"
+    android:keepScreenOn="true">
     
     <!-- Player Header -->
     <LinearLayout 
@@ -183,4 +184,4 @@
             android:layout_marginLeft="5dp"
             android:background="@null"/>
     </LinearLayout>
-</RelativeLayout>
+</RelativeLayout>