Skip to content

Instantly share code, notes, and snippets.

@manishkpr
Last active December 30, 2016 08:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save manishkpr/5405aeb593c22e085420b7733e8ef74e to your computer and use it in GitHub Desktop.
Save manishkpr/5405aeb593c22e085420b7733e8ef74e to your computer and use it in GitHub Desktop.
activity_main.xml
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/drawer_layout"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context=".MainActivity" >
<FrameLayout
android:id="@+id/main"
android:layout_width="match_parent"
android:layout_height="match_parent" >
<ListView
android:id="@+id/drawer"
android:layout_width="240dp"
android:layout_height="match_parent"
android:layout_gravity="start"
android:background="#FFF"
android:choiceMode="singleChoice"/>
</LinearLayout>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment