Skip to content

Instantly share code, notes, and snippets.

@dodushka
Created January 16, 2017 02:41
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 dodushka/8553dbf8b4e089ece0db8dc24cdcb3c8 to your computer and use it in GitHub Desktop.
Save dodushka/8553dbf8b4e089ece0db8dc24cdcb3c8 to your computer and use it in GitHub Desktop.
<?xml version="1.0" encoding="utf-8"?>
<android.support.design.widget.CoordinatorLayout 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:fitsSystemWindows="true"
tools:context="biz.clickky.ads_sdk_tracker.myapplication.Main2Activity">
<android.support.design.widget.AppBarLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:theme="@style/AppTheme.AppBarOverlay">
<android.support.v7.widget.Toolbar
android:id="@+id/toolbar"
android:layout_width="match_parent"
android:layout_height="?attr/actionBarSize"
android:background="?attr/colorPrimary"
app:popupTheme="@style/AppTheme.PopupOverlay" />
</android.support.design.widget.AppBarLayout>
<android.support.v4.widget.NestedScrollView
android:id="@+id/lvToDoList"
android:layout_width="match_parent"
android:layout_height="match_parent">
<TextView
android:text="lalallalalalalalallalalllalalalalallalaalalalalalalalalalallallalalalaalalalalalalalalallalalalalalalalalalalalallalalalalalallallalallalalalalalallalallalalalalalallalallalalalalalallalallalalalalalallalallalalalalalallalallalalalalalallalallalalalalalallalallalalalalalallalallalalalalalallalallalalalalalallalallalalalalalallalallalalalalalallalallalalalalalallalallalalalalalallalallalalalalalallalallalalalalalallalallalalalalalallalallalalalalalallalallalalalalalallalallalalalalalallalallalalalalalallalallalalalalalallalallalalalalalallalallalalalalalallalallalalalalalallalallalalalalalal"
android:layout_width="match_parent"
android:textSize="45sp"
android:layout_height="wrap_content" />
</android.support.v4.widget.NestedScrollView>
<FrameLayout
android:id="@+id/fab"
android:layout_width="match_parent"
android:layout_height="60dp"
android:background="@color/colorAccent"
app:layout_anchor="@id/lvToDoList"
app:layout_anchorGravity="bottom"
app:layout_behavior="your_package.QuickReturnFloaterBehavior"
app:srcCompat="@android:drawable/ic_dialog_email" />
</android.support.design.widget.CoordinatorLayout>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment