Improve Transactions' cards UI.

This commit is contained in:
Severiano Jaramillo 2018-12-13 11:49:57 -06:00
parent 22666021f1
commit 1565bab28c
3 changed files with 8 additions and 2 deletions

View file

@ -9,6 +9,8 @@
android:id="@+id/rvTransactions"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:padding="@dimen/card_margin"
android:clipToPadding="false"
tools:listitem="@layout/item_transaction"
tools:itemCount="6"/>

View file

@ -8,8 +8,8 @@
android:layout_height="wrap_content"
android:layout_gravity="center"
card_view:cardElevation="4dp"
card_view:cardCornerRadius="4dp"
android:layout_margin="4dp">
card_view:cardCornerRadius="@dimen/card_radius"
android:layout_margin="@dimen/card_margin">
<androidx.constraintlayout.widget.ConstraintLayout
android:id="@+id/rootView"

View file

@ -15,4 +15,8 @@
<!-- Initial setup -->
<dimen name="logo_size">180dp</dimen>
<!-- Transactions -->
<dimen name="card_margin">4dp</dimen>
<dimen name="card_radius">4dp</dimen>
</resources>