-
- </android.support.constraint.ConstraintLayout>
- </android.support.v7.widget.CardView>
-
- <android.support.constraint.ConstraintLayout
- android:id="@+id/transaction_delimiter"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_marginStart="8dp"
- android:layout_marginTop="16dp"
- android:layout_marginEnd="8dp"
- android:foregroundGravity="center_vertical"
- android:orientation="horizontal">
-
- <TextView
- android:id="@+id/transaction_delimiter_month"
- android:layout_width="wrap_content"
- android:layout_height="match_parent"
- android:text="---------"
- android:textStyle="bold"
- app:layout_constraintStart_toStartOf="parent"
- tools:ignore="HardcodedText" />
-
- <TextView
- android:id="@+id/transaction_delimiter_date"
- android:layout_width="wrap_content"
- android:layout_height="match_parent"
- android:text="--.--.----"
- android:textStyle="bold"
- app:layout_constraintEnd_toEndOf="parent"
- tools:ignore="HardcodedText" />
-
- <View
- android:id="@+id/transaction_delimiter_line"
- android:layout_width="0dp"
- android:layout_height="0dp"
- android:layout_marginStart="8dp"
- android:layout_marginEnd="8dp"
- android:background="@drawable/dashed_border_1dp"
- app:layout_constraintBottom_toBottomOf="parent"
- app:layout_constraintEnd_toStartOf="@id/transaction_delimiter_date"
- app:layout_constraintStart_toEndOf="@id/transaction_delimiter_month"
- app:layout_constraintTop_toTopOf="parent" />
-
- </android.support.constraint.ConstraintLayout>
-</android.support.v7.widget.ContentFrameLayout>
\ No newline at end of file
+ <androidx.constraintlayout.widget.Barrier
+ android:id="@+id/barrier"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ app:barrierDirection="top"
+ app:constraint_referenced_ids="transaction_row_acc_amounts,transaction_running_total"
+ />
+
+ <TextView
+ android:id="@+id/transaction_running_total"
+ style="@style/transaction_list_comment"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_marginStart="@dimen/half_text_margin"
+ android:gravity="bottom|end"
+ android:text="one two"
+ android:visibility="visible"
+ app:layout_constraintBottom_toBottomOf="@id/transaction_row_acc_amounts"
+ app:layout_constraintEnd_toEndOf="parent"
+ app:layout_constraintStart_toEndOf="@id/transaction_row_acc_amounts"
+ app:layout_goneMarginStart="0dp"
+ />
+ <View
+ android:id="@+id/transaction_running_total_divider"
+ android:layout_width="1dp"
+ android:layout_height="0dp"
+ android:layout_marginStart="@dimen/quarter_text_margin"
+ android:background="?commentColor"
+ app:layout_constraintBottom_toBottomOf="@id/transaction_running_total"
+ app:layout_constraintStart_toEndOf="@id/transaction_row_acc_amounts"
+ app:layout_constraintTop_toBottomOf="@id/barrier"
+ app:layout_goneMarginStart="0dp"
+ />
+
+ </androidx.constraintlayout.widget.ConstraintLayout>
+ </com.google.android.material.card.MaterialCardView>
+
+
+</FrameLayout>
\ No newline at end of file