<LinearLayout
android:id="@+id/transaction_row_head"
- android:layout_width="match_parent"
+ android:layout_width="0dp"
android:layout_height="wrap_content"
android:orientation="vertical"
app:layout_constraintEnd_toEndOf="parent"
<LinearLayout
android:id="@+id/transaction_row_acc_amounts"
- android:layout_width="match_parent"
+ android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginTop="8dp"
android:orientation="vertical"
- app:layout_constraintEnd_toEndOf="parent"
+ app:layout_constraintEnd_toStartOf="@id/transaction_running_total"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/transaction_row_head"
>
<include layout="@layout/transaction_list_row_accounts_table_row" />
</LinearLayout>
+ <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>