- android:orientation="horizontal"
- android:paddingStart="8dp"
- android:paddingEnd="8dp">
-
- <TextView
- android:id="@+id/account_row_acc_name"
- style="@style/account_summary_account_name"
- android:text="Account name, a really long one. A very very very long one. It may even spawn on more than two lines -- three, four or more."
- tools:ignore="HardcodedText" />
-
- <TextView
- android:id="@+id/account_row_acc_amounts"
- style="@style/account_summary_amounts"
- android:text="123,45\n678,90"
- tools:ignore="HardcodedText" />
- </LinearLayout>
- </LinearLayout>
-</android.support.constraint.ConstraintLayout>
\ No newline at end of file
+ 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>
+
+ <LinearLayout
+ android:id="@+id/transaction_row_acc_amounts"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_marginTop="8dp"
+ android:orientation="vertical"
+ app:layout_constraintEnd_toEndOf="parent"
+ app:layout_constraintStart_toStartOf="parent"
+ app:layout_constraintTop_toBottomOf="@+id/transaction_row_head"
+ >
+
+ <include layout="@layout/transaction_list_row_accounts_table_row" />
+ <include layout="@layout/transaction_list_row_accounts_table_row" />
+
+ </LinearLayout>
+
+ </androidx.constraintlayout.widget.ConstraintLayout>
+ </com.google.android.material.card.MaterialCardView>
+
+ <androidx.constraintlayout.widget.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"
+ >
+
+ <TextView
+ android:id="@+id/transaction_delimiter_month"
+ android:layout_width="wrap_content"
+ android:layout_height="match_parent"
+ android:layout_marginHorizontal="4dp"
+ android:text="---------"
+ android:textColor="?colorPrimary"
+ android:textStyle="bold"
+ app:layout_constraintEnd_toEndOf="parent"
+ tools:ignore="HardcodedText"
+ />
+
+ <TextView
+ android:id="@+id/transaction_delimiter_date"
+ android:layout_width="wrap_content"
+ android:layout_height="match_parent"
+ android:layout_marginHorizontal="4dp"
+ android:text="--.--.----"
+ android:textColor="?colorPrimary"
+ android:textStyle="bold"
+ app:layout_constraintStart_toStartOf="parent"
+ tools:ignore="HardcodedText"
+ />
+
+ <View
+ android:id="@+id/transaction_delimiter_thick"
+ android:layout_width="0dp"
+ android:layout_height="1dp"
+ android:layout_marginHorizontal="16dp"
+ android:background="?colorPrimary"
+ app:layout_constraintBottom_toBottomOf="parent"
+ app:layout_constraintEnd_toStartOf="@id/transaction_delimiter_month"
+ app:layout_constraintStart_toEndOf="@id/transaction_delimiter_date"
+ app:layout_constraintTop_toTopOf="parent"
+ />
+
+ </androidx.constraintlayout.widget.ConstraintLayout>
+ <include layout="@layout/last_update_layout" />
+
+</FrameLayout>
\ No newline at end of file