Created
May 3, 2015 15:34
-
-
Save dzt/800160d53e9d7b30880c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<android.support.v4.widget.DrawerLayout xmlns:android="http://schemas.android.com/apk/res/android" | |
xmlns:tools="http://schemas.android.com/tools" | |
android:layout_width="match_parent" | |
android:layout_height="match_parent" | |
tools:context=".MainActivity" | |
android:id="@+id/drawer" | |
> | |
<!-- The main content view --> | |
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" | |
xmlns:tools="http://schemas.android.com/tools" | |
android:id="@+id/container" | |
android:layout_width="match_parent" | |
android:layout_height="match_parent" | |
tools:context=".MainActivity" | |
tools:ignore="MergeRootFrame"> | |
<include layout="@layout/toolbar"/> | |
<android.support.v4.widget.SwipeRefreshLayout | |
android:layout_width="match_parent" | |
android:layout_height="match_parent" | |
android:id="@+id/swipeContainer"> | |
</android.support.v4.widget.SwipeRefreshLayout> | |
</FrameLayout> | |
<!-- The navigation drawer --> | |
<ListView | |
android:layout_marginTop="?attr/actionBarSize" | |
android:id="@+id/left_drawer" | |
android:layout_width="240dp" | |
android:layout_height="match_parent" | |
android:layout_gravity="start" | |
android:choiceMode="singleChoice" | |
android:divider="@android:color/transparent" | |
android:dividerHeight="0dp" | |
android:background="#ffffffff"/> | |
</android.support.v4.widget.DrawerLayout> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment