From 08f302d24aa8324a9ea7c32734938069794398b8 Mon Sep 17 00:00:00 2001 From: Damyan Ivanov Date: Sun, 14 Jun 2020 14:38:40 +0300 Subject: [PATCH] more material transaction list layout card views no longer use alternate background color day/month indicators are less intrusive while still visible enough --- .../TransactionListAdapter.java | 2 - .../TransactionRowHolder.java | 3 +- .../main/res/layout/transaction_list_row.xml | 69 +++++++------------ 3 files changed, 25 insertions(+), 49 deletions(-) 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 3946474f..35e68e59 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 @@ -97,14 +97,12 @@ public class TransactionListAdapter extends RecyclerView.Adapter - + app:cardCornerRadius="4dp" + app:cardElevation="2dp" + app:cardUseCompatPadding="false" + > - - + app:layout_constraintTop_toBottomOf="@+id/transaction_row_head" + > @@ -99,7 +93,7 @@ - + - - + app:layout_constraintEnd_toStartOf="@id/transaction_delimiter_month" + app:layout_constraintStart_toEndOf="@id/transaction_delimiter_date" + app:layout_constraintTop_toTopOf="parent" + /> -- 2.39.5