From: Damyan Ivanov Date: Sun, 16 Dec 2018 18:01:34 +0000 (+0000) Subject: drop shadow below the info about list freshness X-Git-Tag: v0.3~209 X-Git-Url: https://git.ktnx.net/?a=commitdiff_plain;h=b78adb39561c840d31f537d5516040352671a805;p=mobile-ledger.git drop shadow below the info about list freshness --- diff --git a/app/src/main/java/net/ktnx/mobileledger/TransactionListAdapter.java b/app/src/main/java/net/ktnx/mobileledger/TransactionListAdapter.java index 263aa96e..267b759e 100644 --- a/app/src/main/java/net/ktnx/mobileledger/TransactionListAdapter.java +++ b/app/src/main/java/net/ktnx/mobileledger/TransactionListAdapter.java @@ -76,8 +76,9 @@ class TransactionListAdapter } else { if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.M) holder.row - .setBackgroundColor(rm.getColor(R.color.drawer_background, ctx.getTheme())); - else holder.row.setBackgroundColor(rm.getColor(R.color.drawer_background)); + .setBackgroundColor(rm.getColor(R.color.table_row_odd_bg, ctx + .getTheme())); + else holder.row.setBackgroundColor(rm.getColor(R.color.table_row_odd_bg)); } holder.row.setTag(R.id.POS, position); diff --git a/app/src/main/res/drawable/drop_shadow.xml b/app/src/main/res/drawable/drop_shadow.xml new file mode 100644 index 00000000..01f3b027 --- /dev/null +++ b/app/src/main/res/drawable/drop_shadow.xml @@ -0,0 +1,24 @@ + + + + + \ No newline at end of file diff --git a/app/src/main/res/layout/transaction_list_fragment.xml b/app/src/main/res/layout/transaction_list_fragment.xml index bc9ad599..19bb72fa 100644 --- a/app/src/main/res/layout/transaction_list_fragment.xml +++ b/app/src/main/res/layout/transaction_list_fragment.xml @@ -50,6 +50,13 @@ android:text="TextView" /> + + #4db6ac #289d29b1 #ffffffff + #28fae0ff