Improve Transactions' cards UI.
This commit is contained in:
parent
22666021f1
commit
1565bab28c
3 changed files with 8 additions and 2 deletions
|
@ -9,6 +9,8 @@
|
||||||
android:id="@+id/rvTransactions"
|
android:id="@+id/rvTransactions"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
|
android:padding="@dimen/card_margin"
|
||||||
|
android:clipToPadding="false"
|
||||||
tools:listitem="@layout/item_transaction"
|
tools:listitem="@layout/item_transaction"
|
||||||
tools:itemCount="6"/>
|
tools:itemCount="6"/>
|
||||||
|
|
||||||
|
|
|
@ -8,8 +8,8 @@
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_gravity="center"
|
android:layout_gravity="center"
|
||||||
card_view:cardElevation="4dp"
|
card_view:cardElevation="4dp"
|
||||||
card_view:cardCornerRadius="4dp"
|
card_view:cardCornerRadius="@dimen/card_radius"
|
||||||
android:layout_margin="4dp">
|
android:layout_margin="@dimen/card_margin">
|
||||||
|
|
||||||
<androidx.constraintlayout.widget.ConstraintLayout
|
<androidx.constraintlayout.widget.ConstraintLayout
|
||||||
android:id="@+id/rootView"
|
android:id="@+id/rootView"
|
||||||
|
|
|
@ -15,4 +15,8 @@
|
||||||
<!-- Initial setup -->
|
<!-- Initial setup -->
|
||||||
<dimen name="logo_size">180dp</dimen>
|
<dimen name="logo_size">180dp</dimen>
|
||||||
|
|
||||||
|
<!-- Transactions -->
|
||||||
|
<dimen name="card_margin">4dp</dimen>
|
||||||
|
<dimen name="card_radius">4dp</dimen>
|
||||||
|
|
||||||
</resources>
|
</resources>
|
||||||
|
|
Loading…
Reference in a new issue