From 25d5ebb48d87e9b3c0ecad9972e5ccc7c916f627 Mon Sep 17 00:00:00 2001
From: Janne Koschinski <janne@kuschku.de>
Date: Fri, 4 May 2018 00:17:12 +0200
Subject: [PATCH] Fix several layout problems, fixes #69

Signed-off-by: Janne Koschinski <janne@kuschku.de>
---
 app/src/main/res/layout-land/layout_main.xml         | 10 ++--------
 app/src/main/res/layout-sw600dp-land/layout_main.xml |  7 -------
 2 files changed, 2 insertions(+), 15 deletions(-)

diff --git a/app/src/main/res/layout-land/layout_main.xml b/app/src/main/res/layout-land/layout_main.xml
index 6ca37163d..4f23eab72 100644
--- a/app/src/main/res/layout-land/layout_main.xml
+++ b/app/src/main/res/layout-land/layout_main.xml
@@ -24,14 +24,14 @@
   android:layout_height="match_parent"
   android:gravity="bottom">
 
-  <include layout="@layout/layout_toolbar" />
-
   <android.support.design.widget.CoordinatorLayout
     android:layout_width="match_parent"
     android:layout_height="match_parent"
     android:layout_marginBottom="?actionBarSize"
     android:orientation="vertical">
 
+    <include layout="@layout/layout_toolbar" />
+
     <fragment
       android:id="@+id/fragment_messages"
       android:name="de.kuschku.quasseldroid.ui.chat.messages.MessageListFragment"
@@ -39,12 +39,6 @@
       android:layout_height="match_parent"
       tools:layout="@layout/fragment_messages" />
 
-    <de.kuschku.quasseldroid.util.ui.ShadowView
-      android:layout_width="match_parent"
-      android:layout_height="16dp"
-      android:gravity="bottom"
-      app:layout_anchor="@id/autocomplete_list" />
-
     <android.support.v7.widget.RecyclerView
       android:id="@+id/autocomplete_list"
       android:layout_width="match_parent"
diff --git a/app/src/main/res/layout-sw600dp-land/layout_main.xml b/app/src/main/res/layout-sw600dp-land/layout_main.xml
index 4cc02bced..1e0c0825b 100644
--- a/app/src/main/res/layout-sw600dp-land/layout_main.xml
+++ b/app/src/main/res/layout-sw600dp-land/layout_main.xml
@@ -38,13 +38,6 @@
       android:layout_marginBottom="?actionBarSize"
       android:orientation="vertical">
 
-      <fragment
-        android:id="@+id/fragment_messages"
-        android:name="de.kuschku.quasseldroid.ui.chat.messages.MessageListFragment"
-        android:layout_width="match_parent"
-        android:layout_height="match_parent"
-        tools:layout="@layout/fragment_messages" />
-
       <android.support.v7.widget.RecyclerView
         android:id="@+id/autocomplete_list"
         android:layout_width="match_parent"
-- 
GitLab