Skip to content

Instantly share code, notes, and snippets.

@architjn
Created January 31, 2016 18:01
Show Gist options
  • Save architjn/15da7c5df93481371e5c to your computer and use it in GitHub Desktop.
Save architjn/15da7c5df93481371e5c to your computer and use it in GitHub Desktop.
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout 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="false">
<android.support.v7.widget.Toolbar
android:id="@+id/toolbar"
android:layout_width="match_parent"
android:layout_height="?attr/actionBarSize"
android:background="?attr/colorPrimary"
android:elevation="0dp"
android:fitsSystemWindows="true"
android:gravity="top"
android:theme="@style/AppTheme.AppBarOverlay"
app:popupTheme="@style/AppTheme.PopupOverlay" />
<android.support.design.widget.FloatingActionButton
android:id="@+id/fab"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="bottom|right"
android:layout_margin="16dp"
android:fitsSystemWindows="true"
android:src="@android:drawable/ic_input_add"
android:tint="@android:color/white" />
<ImageView
android:layout_width="match_parent"
android:layout_height="match_parent"
android:fitsSystemWindows="false"
android:src="#009000" />
</FrameLayout>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment