summaryrefslogtreecommitdiff
path: root/res/layout/wallet_card_view.xml
diff options
context:
space:
mode:
authorSean Pont <seanpont@google.com>2020-03-23 09:13:35 -0700
committerSean Pont <seanpont@google.com>2020-03-30 13:40:10 -0700
commit72c441f0414a05103691c661dcbb9564bd7b4f92 (patch)
tree1da30586e8ca26d145435733276b647904a88576 /res/layout/wallet_card_view.xml
parentd147fd775f148d08af686e951455a7da8f2bdf0b (diff)
downloadQuickAccessWallet-72c441f0414a05103691c661dcbb9564bd7b4f92.tar.gz
Quick access wallet UI updates: add wallet button and empty state
With cards: https://screenshot.googleplex.com/rKvd33vyO6x Empty state: https://screenshot.googleplex.com/vXCBJtFmtRJ Error: https://screenshot.googleplex.com/ZOkOzytvgq9 Bug: b/150331865 Test: atest QuickAccessWalletRoboTests Test: manual Change-Id: I8964d3e19af53c39383ac1bea266e79b49e352f0
Diffstat (limited to 'res/layout/wallet_card_view.xml')
-rw-r--r--res/layout/wallet_card_view.xml9
1 files changed, 3 insertions, 6 deletions
diff --git a/res/layout/wallet_card_view.xml b/res/layout/wallet_card_view.xml
index d61493f..3b1f7c1 100644
--- a/res/layout/wallet_card_view.xml
+++ b/res/layout/wallet_card_view.xml
@@ -21,18 +21,15 @@
android:layout_height="wrap_content">
<androidx.cardview.widget.CardView
- android:id="@+id/Card"
+ android:id="@+id/card"
android:layout_width="match_parent"
android:layout_height="match_parent"
- android:layout_marginStart="16dp"
- android:layout_marginTop="16dp"
- android:layout_marginEnd="16dp"
- android:layout_marginBottom="20dp"
+ android:layout_margin="@dimen/card_margin"
android:foreground="?android:attr/selectableItemBackground"
app:cardBackgroundColor="@android:color/transparent"
app:cardElevation="12dp">
<ImageView
- android:id="@+id/Image"
+ android:id="@+id/image"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:adjustViewBounds="true"