diff options
author | Christian Schneppe <christian@pix-art.de> | 2017-05-09 20:31:52 +0200 |
---|---|---|
committer | Christian Schneppe <christian@pix-art.de> | 2017-05-09 20:31:52 +0200 |
commit | ce86dfb58f8db458e474d1b06825d8df53cf60e7 (patch) | |
tree | 9d449e0011511f03f85c00572fcbe8a789707912 /src/main/res/layout-w945dp/fragment_conversations_overview.xml | |
parent | 6907f57f80fe35400132730fe5cf06e0511dab04 (diff) |
simple fix for landscape tablet layouts
Diffstat (limited to 'src/main/res/layout-w945dp/fragment_conversations_overview.xml')
-rw-r--r-- | src/main/res/layout-w945dp/fragment_conversations_overview.xml | 21 |
1 files changed, 10 insertions, 11 deletions
diff --git a/src/main/res/layout-w945dp/fragment_conversations_overview.xml b/src/main/res/layout-w945dp/fragment_conversations_overview.xml index c6cc7d7c2..127264945 100644 --- a/src/main/res/layout-w945dp/fragment_conversations_overview.xml +++ b/src/main/res/layout-w945dp/fragment_conversations_overview.xml @@ -1,14 +1,12 @@ -<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" +<android.support.v4.widget.SlidingPaneLayout xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/content_view_ll" android:layout_width="match_parent" - android:layout_height="match_parent" - android:orientation="horizontal" - android:baselineAligned="false"> + android:layout_height="match_parent"> - <LinearLayout - android:layout_width="0dp" - android:layout_height="match_parent" + <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" + android:layout_width="fill_parent" android:layout_weight="1" + android:layout_height="match_parent" android:background="@color/grey50" android:orientation="vertical"> @@ -23,9 +21,10 @@ <LinearLayout android:id="@+id/selected_conversation" - android:layout_width="0dp" - android:layout_weight="2" + android:layout_width="fill_parent" android:layout_height="match_parent" - android:orientation="vertical"></LinearLayout> + android:layout_weight="2" + android:orientation="vertical"> + </LinearLayout> -</LinearLayout>
\ No newline at end of file +</android.support.v4.widget.SlidingPaneLayout>
\ No newline at end of file |