android:animateLayoutChanges="false"
android:orientation="vertical">
- <LinearLayout
+ <androidx.constraintlayout.widget.ConstraintLayout
android:id="@+id/ntr_data"
android:layout_width="match_parent"
- android:layout_height="wrap_content">
+ android:layout_height="wrap_content"
+ android:orientation="horizontal">
<EditText
android:id="@+id/new_transaction_date"
android:textAlignment="gravity"
android:textCursorDrawable="@android:color/transparent"
app:layout_constrainedHeight="true"
- app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintHorizontal_weight="8"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"
<net.ktnx.mobileledger.ui.AutoCompleteTextViewWithClear
android:id="@+id/new_transaction_description"
- android:layout_width="match_parent"
+ android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_gravity="bottom"
android:layout_marginStart="8dp"
android:nextFocusUp="@+id/new_transaction_date"
android:selectAllOnFocus="false"
android:singleLine="true"
- app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintHorizontal_weight="30"
- app:layout_constraintStart_toEndOf="@+id/new_transaction_date"
+ app:layout_constraintStart_toEndOf="@id/new_transaction_date"
app:layout_constraintTop_toTopOf="parent" />
- </LinearLayout>
+
+ <ProgressBar
+ android:id="@+id/progressBar"
+ style="@style/Widget.AppCompat.ProgressBar.Horizontal"
+ android:layout_width="0dp"
+ android:layout_height="wrap_content"
+ android:indeterminate="true"
+ android:indeterminateBehavior="cycle"
+ android:orientation="horizontal"
+ android:visibility="invisible"
+ app:layout_constraintTop_toBottomOf="@id/new_transaction_date"
+ app:layout_constraintStart_toStartOf="parent"
+ app:layout_constraintEnd_toEndOf="parent
+"/>
+ </androidx.constraintlayout.widget.ConstraintLayout>
<androidx.constraintlayout.widget.ConstraintLayout
android:id="@+id/ntr_account"