Skip to content
Snippets Groups Projects
Commit f08f7f09 authored by Janne Mareike Koschinski's avatar Janne Mareike Koschinski
Browse files

Added landscape layout for tablets

parent 17e28987
Branches
Tags
No related merge requests found
<android.support.v4.widget.DrawerLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/drawerLayout"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:fitsSystemWindows="true">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="horizontal">
<fragment
android:id="@+id/fragment_chat_list"
android:name="de.kuschku.quasseldroid_ng.ui.chat.buffers.BufferViewConfigFragment"
android:layout_width="320dp"
android:layout_height="match_parent"
tools:layout="@layout/fragment_chat_list" />
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:fitsSystemWindows="true"
android:orientation="vertical">
<android.support.design.widget.AppBarLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:theme="?attr/actionBarTheme">
<FrameLayout
android:layout_width="match_parent"
android:layout_height="?attr/actionBarSize">
<android.support.v7.widget.Toolbar
android:id="@+id/toolbar"
android:layout_width="match_parent"
android:layout_height="match_parent"
app:contentInsetStartWithNavigation="0dp"
app:popupTheme="@style/Widget.PopupOverlay">
<fragment
android:id="@+id/fragment_toolbar"
android:name="de.kuschku.quasseldroid_ng.ui.chat.ToolbarFragment"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
tools:layout="@layout/fragment_toolbar" />
</android.support.v7.widget.Toolbar>
<de.kuschku.quasseldroid_ng.util.ui.MaterialContentLoadingProgressBar
android:id="@+id/progressBar"
style="@style/Widget.MaterialProgressBar.ProgressBar.Horizontal.NoPadding"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="bottom"
app:mpb_progressStyle="horizontal"
app:mpb_setBothDrawables="true"
app:mpb_useIntrinsicPadding="false"
tools:indeterminate="true" />
</FrameLayout>
</android.support.design.widget.AppBarLayout>
<fragment
android:id="@+id/fragment_messages"
android:name="de.kuschku.quasseldroid_ng.ui.chat.messages.MessageListFragment"
android:layout_width="match_parent"
android:layout_height="0dip"
android:layout_weight="1"
tools:layout="@layout/fragment_messages" />
<fragment
android:id="@+id/fragment_editor"
android:name="de.kuschku.quasseldroid_ng.ui.chat.EditorFragment"
android:layout_width="match_parent"
android:layout_height="wrap_content"
tools:layout="@layout/fragment_editor" />
</LinearLayout>
</LinearLayout>
<fragment
android:id="@+id/fragment_nick_list"
android:name="de.kuschku.quasseldroid_ng.ui.chat.NickListFragment"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_gravity="end"
tools:layout="@layout/fragment_nick_list" />
</android.support.v4.widget.DrawerLayout>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment