Skip to content

Instantly share code, notes, and snippets.

@robUx4
Last active August 29, 2015 14:16
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 robUx4/55af9357e95af7ded348 to your computer and use it in GitHub Desktop.
Save robUx4/55af9357e95af7ded348 to your computer and use it in GitHub Desktop.
Navigation Drawer layout
<?xml version="1.0" encoding="utf-8"?>
<android.support.v4.widget.DrawerLayout
android:id="@+id/drawer_layout"
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:fitsSystemWindows="true">
<!-- The main content view -->
<include layout="@layout/main" />
<!-- The navigation drawer -->
<include layout="@layout/flymenu"/>
</android.support.v4.widget.DrawerLayout>
<?xml version="1.0" encoding="utf-8"?>
<com.levelup.widgets.android.ScrimInsetsFrameLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_gravity="left|start"
android:background="@color/plume_exp_bg_black"
android:fitsSystemWindows="true"
app:insetForeground="#4000">
<LinearLayout
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:clipToPadding="false"
android:orientation="vertical"
android:paddingTop="@dimen/flyMenu_padding_top">
<ImageView
android:layout_width="fill_parent"
android:layout_height="?attr/actionBarSize"
android:scaleType="center"
android:background="?attr/colorPrimary"
android:layout_gravity="center_horizontal"
android:src="@drawable/actionbar_icon"/>
<com.levelupstudio.recyclerview.ExpandableRecyclerView
android:id="@+id/expandableListView1"
style="@style/Style.ListColumn"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:groupIndicator="@android:color/transparent"
android:scrollbars="none"
tools:listitem="@layout/simple_expandable_list_item_icon"/>
</LinearLayout>
</com.levelup.widgets.android.ScrimInsetsFrameLayout>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment