From: Damyan Ivanov Date: Fri, 21 Dec 2018 19:29:53 +0000 (+0000) Subject: border under transaction header, other improvements. much better now X-Git-Tag: v0.3~186 X-Git-Url: https://git.ktnx.net/?a=commitdiff_plain;h=d9072bc6499617e6c835ce25579e2ecafe9e4a41;p=mobile-ledger.git border under transaction header, other improvements. much better now --- diff --git a/app/src/main/res/drawable/dashed_border_1dp.xml b/app/src/main/res/drawable/dashed_border_1dp.xml new file mode 100644 index 00000000..25016e18 --- /dev/null +++ b/app/src/main/res/drawable/dashed_border_1dp.xml @@ -0,0 +1,28 @@ + + + + + + \ 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 09f5611e..b21a10c8 100644 --- a/app/src/main/res/layout/transaction_list_fragment.xml +++ b/app/src/main/res/layout/transaction_list_fragment.xml @@ -20,7 +20,7 @@ xmlns:tools="http://schemas.android.com/tools" android:id="@+id/transaction_list" android:layout_width="match_parent" - android:layout_height="wrap_content" + android:layout_height="match_parent" app:layout_behavior="@string/appbar_scrolling_view_behavior" app:layout_constraintBottom_toBottomOf="parent" tools:context=".TransactionListActivity"> diff --git a/app/src/main/res/layout/transaction_list_row.xml b/app/src/main/res/layout/transaction_list_row.xml index 692e554b..fb5d44ed 100644 --- a/app/src/main/res/layout/transaction_list_row.xml +++ b/app/src/main/res/layout/transaction_list_row.xml @@ -58,14 +58,26 @@ app:layout_constraintEnd_toEndOf="parent" /> + + + app:layout_constraintEnd_toEndOf="parent" + app:layout_constraintStart_toStartOf="parent" + app:layout_constraintTop_toBottomOf="@+id/transaction_row_header_border"> + android:paddingEnd="0dp"> diff --git a/app/src/main/res/values/colors.xml b/app/src/main/res/values/colors.xml index 7d1c6fa8..09da57b3 100644 --- a/app/src/main/res/values/colors.xml +++ b/app/src/main/res/values/colors.xml @@ -23,4 +23,5 @@ #289d29b1 #ffffffff #28fae0ff + #804a148c