title: Button inside Navigation Drawer
body: <p>I need Button at bottom of Navigation Drawer i have added linearlayout also inside drawer layout but m getting class cast exception for drawer layout from that linear layout, my code is</p>
  
  <pre><code>            &lt;android.support.v4.widget.DrawerLayout
              xmlns:android="http://schemas.android.com/apk/res/android"
              android:id="@+id/drawer_layout"
              android:layout_gravity="right"
  
              android:layout_width="match_parent"
              android:layout_height="match_parent"&gt;
  
                &lt;FrameLayout
               android:id="@+id/content_frame"
               android:layout_width="match_parent"
               android:layout_height="match_parent" &gt;
  
                  &lt;/FrameLayout&gt;
      &lt;LinearLayout
                              android:id="@+id/right_drawer"
                          android:layout_height="wrap_content"
                          android:layout_width="240dp"
                          android:orientation="vertical" &gt;
                                       &lt;Button
                                            android:id="@+id/btn_Apply"
                                            android:layout_width="wrap_content"
                                            android:layout_height="wrap_content"&gt;
  
                                  &lt;ListView
                              android:id="@+id/right_drawer_list"
                              android:layout_width="400dp"
                              android:layout_height="match_parent"
                              android:layout_gravity="end"
                              android:choiceMode="singleChoice"
                              android:divider="@android:colortransparent"
                              android:dividerHeight="0dp"
                              android:background="#111"/&gt;
  </code></pre>
  
  <p>
        </p>