Solved 'Share with copied link' flow
[pub/Android/ownCloud.git] / res / layout / text_file_preview.xml
index d34045c..f33b3d8 100644 (file)
@@ -1,23 +1,12 @@
 <?xml version="1.0" encoding="utf-8"?>
-<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
+<ListView xmlns:android="http://schemas.android.com/apk/res/android"
+    android:id="@+id/text_preview_list"
     android:layout_width="match_parent"
-    android:layout_height="match_parent"
+    android:layout_height="wrap_content"
+    android:visibility="gone"
+    android:divider="@null"
+    android:dividerHeight="0dp"
+    android:focusable="false"
+    android:focusableInTouchMode="false"
     android:layout_marginStart="8dp"
-    android:layout_marginEnd="8dp">
-
-    <ListView
-        android:id="@+id/text_preview_list"
-        android:layout_width="match_parent"
-        android:layout_height="wrap_content"
-        android:visibility="gone"
-        android:divider="@null"
-        android:dividerHeight="0dp"
-        android:focusable="false"
-        android:focusableInTouchMode="false" />
-
-    <ProgressBar
-        android:id="@+id/progress_bar"
-        android:layout_width="wrap_content"
-        android:layout_height="wrap_content"
-        android:layout_gravity="center" />
-</FrameLayout>
\ No newline at end of file
+    android:layout_marginEnd="8dp" />
\ No newline at end of file