REFACTORING: fix layout problems in orientation changes after removing FileDetailActivity
[pub/Android/ownCloud.git] / res / layout / files.xml
index 8a1c221..74a9e4b 100644 (file)
   You should have received a copy of the GNU General Public License\r
   along with this program.  If not, see <http://www.gnu.org/licenses/>.\r
  -->\r
-<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"\r
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"\r
     android:layout_width="match_parent"\r
     android:layout_height="match_parent"\r
     android:background="@color/owncloud_white"\r
-    android:id="@+id/single_fragment_container">\r
+    android:orientation="horizontal"\r
+    android:baselineAligned="false"\r
+    >\r
 \r
-    <!-- \r
-    <fragment\r
-        android:id="@+id/fileList"\r
-        android:layout_width="fill_parent"\r
-        android:layout_height="fill_parent"\r
-        class="com.owncloud.android.ui.fragment.OCFileListFragment" >\r
-    </fragment>\r
-     -->\r
-\r
-</FrameLayout>\r
+       <FrameLayout \r
+               android:layout_width="0dp"\r
+               android:layout_height="match_parent"\r
+               android:layout_weight="1"\r
+               android:id="@+id/left_fragment_container"\r
+           />\r
+       \r
+       <FrameLayout \r
+               android:layout_width="0dp"\r
+               android:layout_height="match_parent"\r
+               android:layout_weight="2"\r
+               android:id="@+id/right_fragment_container"\r
+           />\r
+       \r
+ </LinearLayout>
\ No newline at end of file