- android:layout_height="wrap_content"
- android:layout_gravity="top|end"
- android:layout_marginBottom="80dp"
- android:clickable="true"
- android:focusable="auto"
- app:layout_anchor="@id/fab"
- app:layout_anchorGravity="top"
- app:srcCompat="@drawable/svg_thick_plus_white" />
-
-</android.support.design.widget.CoordinatorLayout>
\ No newline at end of file
+ android:layout_height="match_parent">
+
+ <ProgressBar
+ android:id="@+id/save_transaction_progress"
+ android:layout_width="80dp"
+ android:layout_height="80dp"
+ android:layout_margin="4dp"
+ android:indeterminate="true"
+ android:visibility="invisible"
+ app:layout_constraintBottom_toBottomOf="parent"
+ app:layout_constraintEnd_toEndOf="parent" />
+
+ <com.google.android.material.floatingactionbutton.FloatingActionButton
+ android:id="@+id/fab"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_gravity="center"
+ android:padding="@dimen/fab_margin"
+ android:tint="@android:color/white"
+ android:visibility="gone"
+ app:backgroundTint="?colorPrimary"
+ app:layout_constraintBottom_toBottomOf="@id/save_transaction_progress"
+ app:layout_constraintEnd_toEndOf="@id/save_transaction_progress"
+ app:layout_constraintStart_toStartOf="@id/save_transaction_progress"
+ app:layout_constraintTop_toTopOf="@id/save_transaction_progress"
+ app:srcCompat="@drawable/ic_save_white_24dp" />
+
+ </androidx.constraintlayout.widget.ConstraintLayout>
+
+</androidx.coordinatorlayout.widget.CoordinatorLayout>
\ No newline at end of file