added indeterminate progress bar to show activity since this isn't supported by AppCo...
[pub/Android/ownCloud.git] / res / layout / files.xml
index 649c863..9d57a6a 100644 (file)
 \r
     <!-- The main content view -->\r
     <LinearLayout\r
 \r
     <!-- The main content view -->\r
     <LinearLayout\r
-        xmlns:android="http://schemas.android.com/apk/res/android"\r
         android:layout_width="match_parent"\r
         android:layout_height="match_parent"\r
         android:layout_width="match_parent"\r
         android:layout_height="match_parent"\r
-        android:background="@color/background_color"\r
-        android:baselineAligned="false"\r
-        android:orientation="horizontal"\r
-        android:id="@+id/ListLayout"\r
-        android:contentDescription="@string/list_layout"\r
-        >\r
-\r
-\r
-        <FrameLayout\r
-            android:id="@+id/left_fragment_container"\r
-            android:layout_width="0dp"\r
-            android:layout_height="match_parent"\r
-            android:layout_weight="1" />\r
-\r
-        <FrameLayout\r
-            android:id="@+id/right_fragment_container"\r
-            android:layout_width="0dp"\r
-            android:layout_height="match_parent"\r
-            android:layout_weight="2" />\r
+        android:orientation="vertical">\r
+\r
+        <ProgressBar android:id="@+id/progressBar"\r
+            android:layout_width="match_parent"\r
+            android:layout_height="6dp"\r
+            android:padding="0dp"\r
+            android:layout_margin="0dp"\r
+            style="@style/Widget.ownCloud.TopProgressBar"\r
+            android:indeterminate="true"\r
+            android:indeterminateOnly="true"\r
+            android:background="#ffffff"\r
+\r
+            />\r
+\r
+        <LinearLayout\r
+            xmlns:android="http://schemas.android.com/apk/res/android"\r
+            android:layout_width="match_parent"\r
+            android:layout_height="wrap_content"\r
+            android:background="@color/background_color"\r
+\r
+            android:orientation="horizontal"\r
+            android:id="@+id/ListLayout"\r
+            android:contentDescription="@string/list_layout"\r
+            >\r
+\r
+            <FrameLayout\r
+                android:id="@+id/left_fragment_container"\r
+                android:layout_width="0dp"\r
+                android:layout_height="match_parent"\r
+                android:layout_weight="1" />\r
+\r
+            <FrameLayout\r
+                android:id="@+id/right_fragment_container"\r
+                android:layout_width="0dp"\r
+                android:layout_height="match_parent"\r
+                android:layout_weight="2" />\r
+        </LinearLayout>\r
+\r
     </LinearLayout>\r
 \r
     <include\r
     </LinearLayout>\r
 \r
     <include\r