Advertisement
Guest User

Untitled

a guest
Jul 3rd, 2015
206
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 1.28 KB | None | 0 0
  1. <android.support.v4.widget.DrawerLayout xmlns:android="http://schemas.android.com/apk/res/android"
  2.    android:id="@+id/drawer_layout"
  3.    android:layout_width="match_parent"
  4.    android:layout_height="match_parent">
  5.  
  6.     <RelativeLayout
  7.        android:layout_width="match_parent"
  8.        android:layout_height="match_parent">
  9.  
  10.         <ListView
  11.            android:id="@android:id/list"
  12.            android:layout_width="wrap_content"
  13.            android:layout_height="wrap_content"
  14.            android:layout_alignParentTop="true"
  15.            android:layout_centerHorizontal="true" />
  16.  
  17.         <TextView
  18.            android:id="@android:id/empty"
  19.            android:layout_width="wrap_content"
  20.            android:layout_height="wrap_content"
  21.            android:layout_centerInParent="true"
  22.            android:text="No results" />
  23.     </RelativeLayout>
  24.  
  25.     <!-- The navigation drawer -->
  26.     <ListView
  27.        android:id="@+id/left_drawer"
  28.        android:layout_width="240dp"
  29.        android:layout_height="match_parent"
  30.        android:layout_gravity="start"
  31.        android:background="#111"
  32.        android:choiceMode="singleChoice"
  33.        android:divider="@android:color/transparent"
  34.        android:dividerHeight="0dp" />
  35. </android.support.v4.widget.DrawerLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement