Forráskód Böngészése

Merge pull request #7359 from nextcloud/videoBlackBackgronud

Black background on video playback in fullscreen mode
Andy Scherzinger 4 éve
szülő
commit
96d9ab4ea1
1 módosított fájl, 11 hozzáadás és 10 törlés
  1. 11 10
      src/main/res/layout/video_layout.xml

+ 11 - 10
src/main/res/layout/video_layout.xml

@@ -16,14 +16,15 @@
   You should have received a copy of the GNU General Public License
   along with this program.  If not, see <http://www.gnu.org/licenses/>.
 -->
-<FrameLayout	xmlns:android="http://schemas.android.com/apk/res/android"
-				android:layout_width="match_parent"
-				android:layout_height="match_parent" >
+<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
+    android:layout_width="match_parent"
+    android:layout_height="match_parent"
+    android:background="@color/black">
 
-	<VideoView
-	    android:id="@+id/videoPlayer"
-	    android:layout_width="match_parent"
-	    android:layout_height="match_parent"
-	    android:layout_gravity="center" />
-	
-</FrameLayout>
+    <VideoView
+        android:id="@+id/videoPlayer"
+        android:layout_width="match_parent"
+        android:layout_height="match_parent"
+        android:layout_gravity="center" />
+
+</FrameLayout>