Browse Source

optimize loading layout for image preview

Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
Andy Scherzinger 4 years ago
parent
commit
ed9149c27b
1 changed files with 3 additions and 2 deletions
  1. 3 2
      src/main/res/layout/preview_image_fragment.xml

+ 3 - 2
src/main/res/layout/preview_image_fragment.xml

@@ -1,4 +1,5 @@
-<?xml version="1.0" encoding="utf-8"?><!--
+<?xml version="1.0" encoding="utf-8"?>
+<!--
   ownCloud Android client application
 
   Copyright (C) 2015  ownCloud Inc.
@@ -36,7 +37,7 @@
     <LinearLayout
         android:id="@+id/empty_list_view"
         android:layout_width="match_parent"
-        android:layout_height="wrap_content"
+        android:layout_height="match_parent"
         android:layout_gravity="center"
         android:layout_margin="@dimen/standard_margin"
         android:gravity="center_vertical|center_horizontal"