<?xml version="1.0" encoding="utf-8"?>
<android.support.constraint.ConstraintLayout 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:layout_width="match_parent"
    android:layout_height="match_parent"
    android:background="@color/colorPrimaryDark"
    tools:context="com.clonejw.telecine.activities.LoginActivity">

    <LinearLayout
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:orientation="vertical">


        <android.support.v7.widget.Toolbar
            android:id="@+id/toolbar"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:background="@color/colorPrimaryDark"
            android:elevation="3dp"
            app:layout_constraintEnd_toEndOf="parent"
            app:layout_constraintStart_toStartOf="parent"
            app:popupTheme="@style/PopupOverlay">

            <LinearLayout
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:orientation="horizontal">

                <Button
                    android:id="@+id/menu_expand"
                    android:layout_width="50dp"
                    android:layout_height="wrap_content"
                    android:layout_weight="0"
                    android:background="#00000000"
                    android:drawableLeft="@drawable/ic_menu"
                    android:drawableStart="@drawable/ic_menu" />

                <ImageView
                    android:layout_width="wrap_content"
                    android:layout_height="30dp"
                    android:layout_marginTop="10dp"
                    android:layout_weight="1"
                    app:srcCompat="@drawable/logo" />

                <Button
                    android:id="@+id/search_btn"
                    android:layout_width="50dp"
                    android:layout_height="wrap_content"
                    android:layout_marginRight="15dp"
                    android:layout_weight="0"
                    android:background="#00000000"
                    android:drawableEnd="@drawable/ic_search"
                    android:drawableRight="@drawable/ic_search" />


            </LinearLayout>
        </android.support.v7.widget.Toolbar>
        <RelativeLayout
            android:layout_width="match_parent"
            android:layout_height="match_parent">
            android:layout_width="match_parent"
            android:layout_height="wrap_content">
            <android.support.v4.widget.DrawerLayout
                xmlns:android="http://schemas.android.com/apk/res/android"
                android:id="@+id/drawey_layout"
                android:orientation="vertical"
                android:layout_width="match_parent"
                android:elevation="3dp"
                android:layout_height="match_parent">



                <FrameLayout
                    android:id="@+id/container_fragment2"
                    android:layout_width="fill_parent"
                    android:layout_height="fill_parent"
                    android:layout_marginTop="1dp"
                    android:layout_alignParentRight="true"
                    android:layout_alignParentEnd="true"
                    >

                        <LinearLayout
                            android:layout_width="match_parent"
                            android:layout_height="wrap_content"
                            android:elevation="3dp"
                            android:orientation="vertical"
                            >


                            <include layout="@layout/categoryvids"
                                android:layout_marginTop="10dp"
                                android:elevation="3dp"
                                android:layout_width="match_parent"
                                android:layout_height="wrap_content" />
                        </LinearLayout>
                    <include
                        android:elevation="1dp"
                        layout="@layout/slidelanc_page"
                        android:layout_width="match_parent"
                        android:layout_height="230dp" />
                </FrameLayout>

                <LinearLayout
                    android:id="@+id/left_drawer"
                    android:background="#000"
                    android:orientation="vertical"
                    android:layout_gravity="start"
                    android:layout_width="250dp"
                    android:layout_height="match_parent">
                    <android.support.constraint.ConstraintLayout
                        android:layout_width="match_parent"
                        android:layout_height="wrap_content">

                        <Button
                            android:id="@+id/sign_in"
                            android:layout_width="150dp"
                            android:layout_height="40dp"
                            android:layout_marginTop="16dp"
                            android:background="@drawable/btn_sign_in"
                            android:elevation="3dp"
                            android:text="Entrar"
                            android:textColor="#fff"
                            android:visibility="visible"
                            app:layout_constraintEnd_toEndOf="parent"
                            app:layout_constraintStart_toStartOf="parent"
                            app:layout_constraintTop_toTopOf="parent"
                            tools:ignore="MissingConstraints" />
                        <Button
                            android:visibility="gone"
                            android:id="@+id/mypainel"
                            android:layout_width="150dp"
                            android:layout_height="40dp"
                            android:layout_marginTop="16dp"
                            android:background="@drawable/btn_sign_in"
                            android:text="Meu Painel"
                            android:elevation="3dp"
                            android:textColor="#fff"
                            app:layout_constraintEnd_toEndOf="parent"
                            app:layout_constraintStart_toStartOf="parent"
                            app:layout_constraintTop_toTopOf="parent"

                            tools:ignore="MissingConstraints" />

                    </android.support.constraint.ConstraintLayout>
                    <Button
                        android:id="@+id/btnlancamento"
                        android:layout_width="match_parent"
                        android:background="@drawable/button_menu_focus"
                        android:layout_marginTop="20dp"
                        android:text="Lançamento"
                        android:textColor="#fff"
                        android:textAllCaps="true"
                        android:paddingLeft="20dp"
                        android:textAlignment="textStart"
                        android:layout_height="wrap_content"
                        tools:ignore="RtlCompat" />

                    <Button
                        android:layout_width="match_parent"
                        android:background="@drawable/button_menu_focus_tercy"
                        android:layout_marginTop="0dp"
                        android:text="Gêneros"
                        android:textColor="#fff"
                        android:textAllCaps="true"
                        android:paddingLeft="20dp"
                        android:textAlignment="textStart"
                        android:layout_height="wrap_content"
                        tools:ignore="RtlCompat" />
                    <LinearLayout
                        android:layout_width="match_parent"
                        android:layout_height="wrap_content"
                        android:orientation="horizontal">
                        <Button
                            android:id="@+id/btnacao"
                            android:layout_weight="1"
                            android:layout_width="match_parent"
                            android:background="@drawable/button_menu_focus_tercy"
                            android:layout_marginTop="0dp"
                            android:text="Ação"
                            android:textColor="#fff"
                            android:textAllCaps="true"
                            android:paddingLeft="10dp"
                            android:textAlignment="textStart"
                            android:layout_height="wrap_content"
                            tools:ignore="RtlCompat" />
                        <Button
                            android:id="@+id/animabtn"
                            android:layout_weight="1"
                            android:layout_width="match_parent"
                            android:background="@drawable/button_menu_focus_tercy"
                            android:layout_marginTop="0dp"
                            android:text="Animação"
                            android:textColor="#fff"
                            android:textAllCaps="true"
                            android:paddingLeft="10dp"
                            android:textAlignment="textStart"
                            android:layout_height="wrap_content"
                            tools:ignore="RtlCompat" />
                    </LinearLayout>
                    <LinearLayout
                        android:layout_width="match_parent"
                        android:layout_height="wrap_content"
                        android:orientation="horizontal">
                        <Button
                            android:id="@+id/aventurabtn"
                            android:layout_weight="1"
                            android:layout_width="match_parent"
                            android:background="@drawable/button_menu_focus_tercy"
                            android:layout_marginTop="0dp"
                            android:text="Aventura"
                            android:textColor="#fff"
                            android:textAllCaps="true"
                            android:paddingLeft="10dp"
                            android:textAlignment="textStart"
                            android:layout_height="wrap_content"
                            tools:ignore="RtlCompat" />
                        <Button
                            android:id="@+id/combtn"
                            android:layout_weight="1"
                            android:layout_width="match_parent"
                            android:background="@drawable/button_menu_focus_tercy"
                            android:layout_marginTop="0dp"
                            android:text="Comédia"
                            android:textColor="#fff"
                            android:textAllCaps="true"
                            android:paddingLeft="10dp"
                            android:textAlignment="textStart"
                            android:layout_height="wrap_content"
                            tools:ignore="RtlCompat" />
                    </LinearLayout>
                    <LinearLayout
                        android:layout_width="match_parent"
                        android:layout_height="wrap_content"
                        android:orientation="horizontal">

                        <Button
                            android:id="@+id/docbtn"
                            android:layout_weight="1"
                            android:layout_width="match_parent"
                            android:background="@drawable/button_menu_focus_tercy"
                            android:layout_marginTop="0dp"
                            android:text="Documentário"
                            android:textColor="#fff"
                            android:textAllCaps="true"
                            android:paddingLeft="10dp"
                            android:textAlignment="textStart"
                            android:layout_height="wrap_content"
                            tools:ignore="RtlCompat" />
                        <Button
                            android:id="@+id/dramabtn"
                            android:layout_weight="1"
                            android:layout_width="match_parent"
                            android:background="@drawable/button_menu_focus_tercy"
                            android:layout_marginTop="0dp"
                            android:text="Drama"
                            android:textColor="#fff"
                            android:textAllCaps="true"
                            android:paddingLeft="10dp"
                            android:textAlignment="textStart"
                            android:layout_height="wrap_content"
                            tools:ignore="RtlCompat" />
                    </LinearLayout>
                    <LinearLayout
                        android:layout_width="match_parent"
                        android:layout_height="wrap_content"
                        android:orientation="horizontal">
                        <Button
                            android:id="@+id/familiabtn"
                            android:layout_weight="1"
                            android:layout_width="match_parent"
                            android:background="@drawable/button_menu_focus_tercy"
                            android:layout_marginTop="0dp"
                            android:text="Família"
                            android:textColor="#fff"
                            android:textAllCaps="true"
                            android:paddingLeft="10dp"
                            android:textAlignment="textStart"
                            android:layout_height="wrap_content"
                            tools:ignore="RtlCompat" />
                        <Button
                            android:id="@+id/faroestebtn"
                            android:layout_weight="1"
                            android:layout_width="match_parent"
                            android:background="@drawable/button_menu_focus_tercy"
                            android:layout_marginTop="0dp"
                            android:text="Faroeste"
                            android:textColor="#fff"
                            android:textAllCaps="true"
                            android:paddingLeft="10dp"
                            android:textAlignment="textStart"
                            android:layout_height="wrap_content"
                            tools:ignore="RtlCompat" />
                    </LinearLayout>
                    <LinearLayout
                        android:layout_width="match_parent"
                        android:layout_height="wrap_content"
                        android:orientation="horizontal">
                        <Button
                            android:id="@+id/fcienbtn"
                            android:layout_weight="1"
                            android:layout_width="match_parent"
                            android:background="@drawable/button_menu_focus_tercy"
                            android:layout_marginTop="0dp"
                            android:text="F.Científica"
                            android:textColor="#fff"
                            android:textAllCaps="true"
                            android:paddingLeft="10dp"
                            android:textAlignment="textStart"
                            android:layout_height="wrap_content"
                            tools:ignore="RtlCompat" />
                        <Button
                            android:id="@+id/guerra"
                            android:layout_weight="1"
                            android:layout_width="match_parent"
                            android:background="@drawable/button_menu_focus_tercy"
                            android:layout_marginTop="0dp"
                            android:text="Guerra"
                            android:textColor="#fff"
                            android:textAllCaps="true"
                            android:paddingLeft="10dp"
                            android:textAlignment="textStart"
                            android:layout_height="wrap_content"
                            tools:ignore="RtlCompat" />
                    </LinearLayout>
                    <LinearLayout
                        android:layout_width="match_parent"
                        android:layout_height="wrap_content"
                        android:orientation="horizontal">
                        <Button
                            android:id="@+id/historia"
                            android:layout_weight="1"
                            android:layout_width="match_parent"
                            android:background="@drawable/button_menu_focus_tercy"
                            android:layout_marginTop="0dp"
                            android:text="História"
                            android:textColor="#fff"
                            android:textAllCaps="true"
                            android:paddingLeft="10dp"
                            android:textAlignment="textStart"
                            android:layout_height="wrap_content"
                            tools:ignore="RtlCompat" />
                        <Button
                            android:id="@+id/misterio"
                            android:layout_weight="1"
                            android:layout_width="match_parent"
                            android:background="@drawable/button_menu_focus_tercy"
                            android:layout_marginTop="0dp"
                            android:text="Mistério"
                            android:textColor="#fff"
                            android:textAllCaps="true"
                            android:paddingLeft="10dp"
                            android:textAlignment="textStart"
                            android:layout_height="wrap_content"
                            tools:ignore="RtlCompat" />
                    </LinearLayout>
                    <LinearLayout
                        android:layout_width="match_parent"
                        android:layout_height="wrap_content"
                        android:orientation="horizontal">
                        <Button
                            android:id="@+id/romance"
                            android:layout_weight="1"
                            android:layout_width="match_parent"
                            android:background="@drawable/button_menu_focus_tercy"
                            android:layout_marginTop="0dp"
                            android:text="Romance"
                            android:textColor="#fff"
                            android:textAllCaps="true"
                            android:paddingLeft="10dp"
                            android:textAlignment="textStart"
                            android:layout_height="wrap_content"
                            tools:ignore="RtlCompat" />
                        <Button
                            android:id="@+id/terror"
                            android:layout_weight="1"
                            android:layout_width="match_parent"
                            android:background="@drawable/button_menu_focus_tercy"
                            android:layout_marginTop="0dp"
                            android:text="Terror"
                            android:textColor="#fff"
                            android:textAllCaps="true"
                            android:paddingLeft="10dp"
                            android:textAlignment="textStart"
                            android:layout_height="wrap_content"
                            tools:ignore="RtlCompat" />
                    </LinearLayout>
                </LinearLayout>

            </android.support.v4.widget.DrawerLayout>


        </RelativeLayout>

    </LinearLayout>

</android.support.constraint.ConstraintLayout>
