document.write('
Data hosted with ♥ by Pastebin.com - Download Raw - See Original
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <LinearLayout
  3.     xmlns:android="http://schemas.android.com/apk/res/android"
  4.     xmlns:tools="http://schemas.android.com/tools"
  5.     android:layout_width="match_parent"
  6.     android:orientation="vertical"
  7.     android:layout_height="match_parent"
  8.     tools:context=".MainActivity">
  9.  
  10.     <include layout="@layout/toolbar"/>
  11.  
  12.     <android.support.v4.widget.DrawerLayout
  13.         xmlns:android="http://schemas.android.com/apk/res/android"
  14.         android:id="@+id/drawer_layout"
  15.         android:layout_width="match_parent"
  16.         android:layout_height="match_parent">
  17.  
  18.         <!-- Framelayout to display Fragments -->
  19.         <FrameLayout
  20.             android:id="@+id/frame_container"
  21.             android:layout_width="match_parent"
  22.             android:layout_height="match_parent" />
  23.  
  24.         <!-- ExpandableListview to display slider menu -->
  25.  
  26.         <ExpandableListView
  27.             android:id="@+id/explist_slidermenu"
  28.             android:layout_width="240dp"
  29.             android:layout_height="match_parent"
  30.             android:layout_gravity="start"
  31.             android:choiceMode="singleChoice"
  32.             android:divider="#A4C739"
  33.             android:dividerHeight="0.5dp"
  34.             android:listSelector="@drawable/list_selector"
  35.             android:background="@null"
  36.         />
  37.  
  38.     </android.support.v4.widget.DrawerLayout>
  39.  
  40. </LinearLayout>
');