From: Damyan Ivanov Date: Sun, 14 Jun 2020 11:38:40 +0000 (+0300) Subject: more material transaction list layout X-Git-Tag: v0.14.0~28 X-Git-Url: https://git.ktnx.net/?a=commitdiff_plain;h=08f302d24aa8324a9ea7c32734938069794398b8;p=mobile-ledger.git more material transaction list layout card views no longer use alternate background color day/month indicators are less intrusive while still visible enough --- 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" + />