- <TableLayout
- android:id="@+id/transaction_row_acc_amounts"
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- android:layout_marginStart="8dp"
- android:layout_weight="5"
- app:layout_constraintRight_toRightOf="parent"
- app:layout_constraintStart_toEndOf="@id/transaction_row_description">
+ <androidx.constraintlayout.widget.ConstraintLayout
+ android:id="@+id/transaction_row"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:gravity="center_vertical"
+ android:minHeight="36dp"
+ android:padding="8dp"
+ >
+
+ <LinearLayout
+ android:id="@+id/transaction_row_head"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:orientation="vertical"
+ app:layout_constraintEnd_toEndOf="parent"
+ app:layout_constraintStart_toStartOf="parent"
+ app:layout_constraintTop_toTopOf="parent"
+ >
+
+ <TextView
+ android:id="@+id/transaction_row_description"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:text="---."
+ android:textAppearance="@android:style/TextAppearance.Material.Medium"
+ android:textStyle="bold"
+ tools:ignore="HardcodedText"
+ />
+ <TextView
+ android:id="@+id/transaction_comment"
+ style="@style/transaction_list_comment"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_marginStart="0dp"
+ android:layout_marginTop="0dp"
+ android:text="Comment text"
+ tools:ignore="HardcodedText"
+ />
+ </LinearLayout>