Skip to content

Instantly share code, notes, and snippets.

@nicoqueijo
Created May 14, 2020 18:05
Show Gist options
  • Save nicoqueijo/9acfc6cc13e452d600d4988652664466 to your computer and use it in GitHub Desktop.
Save nicoqueijo/9acfc6cc13e452d600d4988652664466 to your computer and use it in GitHub Desktop.
<?xml version="1.0" encoding="utf-8"?>
<androidx.coordinatorlayout.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:background="@android:color/black"
tools:context=".MainActivity">
<com.bosphere.fadingedgelayout.FadingEdgeLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
app:fel_edge="bottom"
app:fel_size_bottom="90dp">
<ScrollView
android:id="@+id/scroll_view"
android:layout_width="match_parent"
android:layout_height="match_parent">
<com.jmedeisis.draglinearlayout.DragLinearLayout
android:id="@+id/drag_linear_layout"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:paddingBottom="90dp" />
</ScrollView>
</com.bosphere.fadingedgelayout.FadingEdgeLayout>
<com.google.android.material.floatingactionbutton.FloatingActionButton
android:id="@+id/floating_action_button"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="bottom|center_horizontal"
android:layout_marginBottom="16dp"
android:src="@drawable/ic_add"
app:borderWidth="0dp"
app:fabSize="normal" />
</androidx.coordinatorlayout.widget.CoordinatorLayout>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment