<?xml version="1.0" encoding="utf-8"?>
<layout xmlns:tools="http://schemas.android.com/tools"
    xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto">
    <data>
        <variable name="model" type="com.paulds.simpleftp.presentation.model.MainViewModel" />
    </data>

    <android.support.design.widget.CoordinatorLayout
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:fitsSystemWindows="true"
        tools:context="presentation.activities.MainActivity">

        <android.support.design.widget.AppBarLayout
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:theme="@style/AppTheme.AppBarOverlay"
            android:id="@+id/view">

            <android.support.v7.widget.Toolbar
                android:id="@+id/toolbar"
                android:layout_width="match_parent"
                android:layout_height="?attr/actionBarSize"
                android:background="?attr/colorPrimary"
                app:popupTheme="@style/AppTheme.PopupOverlay">

                <TextView
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:text="Toolbar Title"
                    android:layout_gravity="left"
                    android:id="@+id/toolbar_title" />

                <ImageView
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:layout_gravity="right"
                    android:src="@drawable/ic_settings_24dp"
                    android:id="@+id/ibServers"
                    android:onClick="@{model.openParameters}"
                    android:padding="15dp"
                    android:clickable="true"
                    android:focusable="true"
                    android:focusableInTouchMode="true" />

            </android.support.v7.widget.Toolbar>

        </android.support.design.widget.AppBarLayout>

        <LinearLayout
            android:layout_width="match_parent"
            android:layout_height="match_parent"
            android:orientation="horizontal"
            android:paddingTop="?attr/actionBarSize"
            android:weightSum="2">

            <fragment
                android:id="@+id/firstExplorer"
                android:layout_width="match_parent"
                android:layout_weight="1"
                android:layout_height="match_parent"
                class="com.paulds.simpleftp.presentation.fragments.ExplorerFragment"
                tools:layout="@layout/fragment_explorer" />

            <fragment
                android:id="@+id/secondExplorer"
                android:layout_width="match_parent"
                android:layout_weight="1"
                android:layout_height="match_parent"
                class="com.paulds.simpleftp.presentation.fragments.ExplorerFragment"
                tools:layout="@layout/fragment_explorer" />

        </LinearLayout>

    </android.support.design.widget.CoordinatorLayout>
</layout>
Add specific layout for landscape screens.
Add specific layout for landscape screens.
