<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
    android:orientation="vertical"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:layoutDirection="rtl"
    android:background="@color/app_background"
    xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto">
  <include layout="@layout/toolbar" />

  <% if (haveList) { %>
    <<%= appPackage %>.utils.customview.LoadingLayout
      android:id="@+id/loadinglayout"
      android:layout_width="match_parent"
      android:layout_height="match_parent">
      <android.support.v7.widget.RecyclerView
        android:id="@+id/rv<%= listName %>"
        android:layout_width="match_parent"
        android:layout_height="match_parent" />
    </<%= appPackage %>.utils.customview.LoadingLayout>
<% } %>

<% if (haveFrag) { %>
<FrameLayout
android:id="@+id/fragment_container"
android:layout_width="match_parent"
android:layout_height="match_parent" />
<% } %>


</LinearLayout>


