Skip to content

Instantly share code, notes, and snippets.

@li2
Last active August 15, 2016 05:18
Show Gist options
  • Save li2/f4035ac857abf5318ce30cae1b5ac247 to your computer and use it in GitHub Desktop.
Save li2/f4035ac857abf5318ce30cae1b5ac247 to your computer and use it in GitHub Desktop.
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:fitsSystemWindows="true">
<include
layout="@layout/toolbar_actionbar"
android:layout_alignParentTop="true"
android:layout_width="match_parent"
android:layout_height="wrap_content"/>
<FrameLayout
android:id="@+id/contentFragmentContainer"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_marginTop="@dimen/headerBarHeight"
android:layout_above="@+id/operationToolbarViewStub"
app:layout_behavior="@string/appbar_scrolling_view_behavior"/>
<ViewStub
android:id="@id/operationToolbarViewStub"
android:inflatedId="@id/operationToolbarViewStub"
android:layout_width="match_parent"
android:layout_height="@dimen/footerBarHeight"
android:layout_alignParentBottom="true"
android:layout_centerHorizontal="true"/>
</RelativeLayout>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment