From 8d376242685dcbd2f99a856daccc760fcc5bb535 Mon Sep 17 00:00:00 2001 From: Damyan Ivanov Date: Sun, 5 Jan 2020 23:07:52 +0200 Subject: [PATCH] initial (buggy) implementation showing account comments in transaction list --- .../TransactionListAdapter.java | 44 +++++-------- .../main/res/layout/transaction_list_row.xml | 60 ++---------------- ...ransaction_list_row_accounts_table_row.xml | 62 +++++++++++++++++++ 3 files changed, 85 insertions(+), 81 deletions(-) create mode 100644 app/src/main/res/layout/transaction_list_row_accounts_table_row.xml diff --git a/app/src/main/java/net/ktnx/mobileledger/ui/transaction_list/TransactionListAdapter.java b/app/src/main/java/net/ktnx/mobileledger/ui/transaction_list/TransactionListAdapter.java index 13983309..d8e2c7b0 100644 --- a/app/src/main/java/net/ktnx/mobileledger/ui/transaction_list/TransactionListAdapter.java +++ b/app/src/main/java/net/ktnx/mobileledger/ui/transaction_list/TransactionListAdapter.java @@ -163,35 +163,16 @@ public class TransactionListAdapter extends RecyclerView.Adapter - - - - - - - - - - - - - + + + @@ -186,8 +138,8 @@ android:layout_height="16dp" android:layout_marginStart="8dp" android:layout_marginEnd="8dp" - android:background="@drawable/dashed_border_1dp" android:alpha="0.3" + 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" diff --git a/app/src/main/res/layout/transaction_list_row_accounts_table_row.xml b/app/src/main/res/layout/transaction_list_row_accounts_table_row.xml new file mode 100644 index 00000000..228660e9 --- /dev/null +++ b/app/src/main/res/layout/transaction_list_row_accounts_table_row.xml @@ -0,0 +1,62 @@ + + + + + + + + + + + + + -- 2.39.5