]> git.ktnx.net Git - mobile-ledger.git/blobdiff - app/src/main/res/layout/fragment_new_transaction.xml
move previous transaction lookup progress bar to the fragment
[mobile-ledger.git] / app / src / main / res / layout / fragment_new_transaction.xml
index 5981f8e7fec85a895a0e45093364913a320204a7..f35df638e8575175a4bc35d57ecf55aa2d2653fa 100644 (file)
     <androidx.constraintlayout.widget.ConstraintLayout
         android:layout_width="match_parent"
         android:layout_height="match_parent"
+        android:animateLayoutChanges="true"
         tools:context="net.ktnx.mobileledger.ui.activity.NewTransactionActivity">
 
+        <ProgressBar
+            android:id="@+id/progressBar"
+            style="@style/Widget.AppCompat.ProgressBar"
+            android:layout_width="wrap_content"
+            android:layout_height="wrap_content"
+            android:layout_marginStart="8dp"
+            android:layout_marginEnd="8dp"
+            android:indeterminate="true"
+            android:indeterminateBehavior="cycle"
+            android:visibility="invisible"
+            app:layout_constraintBottom_toBottomOf="parent"
+            app:layout_constraintEnd_toEndOf="parent"
+            app:layout_constraintStart_toStartOf="parent"
+            app:layout_constraintTop_toTopOf="parent" />
+
         <androidx.recyclerview.widget.RecyclerView
             android:orientation="vertical"
             android:id="@+id/new_transaction_accounts"