]> git.ktnx.net Git - mobile-ledger.git/blobdiff - app/src/main/res/layout/activity_new_transaction.xml
abandon the new transaction FAB and use a menu item
[mobile-ledger.git] / app / src / main / res / layout / activity_new_transaction.xml
index 69ef23ec3cdabf636c47114a6ff1887b8b3554a4..d5f2087730f7f24c9bfed27c060be99f2add1334 100644 (file)
 
     <include layout="@layout/content_new_transaction" />
 
-    <android.support.design.widget.FloatingActionButton
-        android:id="@+id/fab"
-        android:layout_width="wrap_content"
-        android:layout_height="wrap_content"
-        android:layout_gravity="bottom|end"
-        android:layout_margin="@dimen/fab_margin"
-        app:backgroundTint="@color/colorPrimary"
-        app:srcCompat="@android:drawable/ic_menu_send" />
-
-    <android.support.design.widget.FloatingActionButton
-        android:id="@+id/fab_add_account"
+    <android.support.constraint.ConstraintLayout
         android:layout_width="match_parent"
-        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: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" />
+
+    </android.support.constraint.ConstraintLayout>
 
 </android.support.design.widget.CoordinatorLayout>
\ No newline at end of file