title: Inflating view taking too much time in onCreateView in fragment
body: <p>I've using the <code>Fragment</code> inside the <code>Navigation Drawer</code>.
  In Drawer there are 7 more option menus are presents and all other working fine.
  Only this fragment tasking 3sec time to show the views.</p>
  
  <p>I've find using debug mode, below this only line taking that much time to execute.</p>
  
  <pre><code>final View view=inflater.inflate(R.layout.fragment_vehicle_inspection,container,false);
  </code></pre>
  
  <p>Moreover I've using 4 include layout in XML part.</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
      android:layout_width="match_parent"
      android:layout_height="match_parent"&gt;
  
      &lt;LinearLayout
          android:id="@+id/lat_inspection_vendor_name_layout"
          android:layout_width="match_parent"
          android:layout_height="wrap_content"
          android:layout_margin="@dimen/margin_05dp"
          android:orientation="horizontal"&gt;
  
          &lt;TextView
              android:id="@+id/txt_inspection_vendor_name"
              android:layout_width="0dp"
              android:layout_height="wrap_content"
              android:layout_weight="1"
              android:drawableEnd="@drawable/ic_action_edit"
              android:gravity="center"
              android:maxLines="1"
              android:textColor="@color/colorAccent"
              android:textSize="@dimen/margin_15sp"
              android:textStyle="bold" /&gt;
      &lt;/LinearLayout&gt;
  
      &lt;include
          android:id="@+id/include_inspection_function_layout"
          layout="@layout/fragment_inspection_function_layout_card"
          android:layout_width="match_parent"
          android:layout_height="wrap_content"
          android:layout_below="@+id/lat_inspection_vendor_name_layout"
          android:layout_marginTop="@dimen/margin_05dp"
          android:visibility="gone" /&gt;
  
      &lt;ScrollView
          android:id="@+id/scroll_inspection"
          android:layout_width="match_parent"
          android:layout_height="wrap_content"
          android:layout_below="@+id/include_inspection_function_layout"
          android:layout_marginTop="@dimen/margin_10dp"
          android:focusableInTouchMode="true"
          android:focusable="true"&gt;
  
          &lt;LinearLayout
              android:layout_width="match_parent"
              android:layout_height="wrap_content"
              android:orientation="vertical"&gt;
  
              &lt;include layout="@layout/fragment_inspection_vendor_details_card" /&gt;
  
              &lt;LinearLayout
                  android:id="@+id/lat_inspection_form"
                  android:layout_width="match_parent"
                  android:layout_height="wrap_content"
                  android:orientation="vertical"
                  android:visibility="gone"&gt;
  
                  &lt;include layout="@layout/fragment_inspection_vehicle_form_row_card" /&gt;
  
                  &lt;include layout="@layout/fragment_inspection_vehicle_features_row_card" /&gt;
  
                  &lt;include layout="@layout/fragment_inspection_vehicle_form_penalty_row_card" /&gt;
              &lt;/LinearLayout&gt;
          &lt;/LinearLayout&gt;
      &lt;/ScrollView&gt;
  &lt;/RelativeLayout&gt;
  </code></pre>
  
  <p>I hope include part is not affect inflate view.</p>
  
  <p>I've using 26- EditText, 26-checkbox and 30-TextViews inside the include layout.
  My concern is Inflating too much number of views only taking time.</p>
  
  <p>Please assist me to encounter this problem.
  Thanks in advance.</p>