From 589411a755a74205729555b96d3d895f5e6bc69c Mon Sep 17 00:00:00 2001 From: Torsten Grote Date: Mon, 16 Mar 2020 13:34:52 -0300 Subject: Only show order summary (and product image) if there's only one product --- app/src/main/res/layout/list_item_product_single.xml | 2 ++ app/src/main/res/values/strings.xml | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/app/src/main/res/layout/list_item_product_single.xml b/app/src/main/res/layout/list_item_product_single.xml index a4578b3..a08f1f8 100644 --- a/app/src/main/res/layout/list_item_product_single.xml +++ b/app/src/main/res/layout/list_item_product_single.xml @@ -25,6 +25,7 @@ android:id="@+id/quantity" android:layout_width="wrap_content" android:layout_height="wrap_content" + android:visibility="gone" app:layout_constraintEnd_toStartOf="@+id/name" app:layout_constraintHorizontal_bias="0.5" app:layout_constraintHorizontal_chainStyle="packed" @@ -52,6 +53,7 @@ android:layout_height="wrap_content" android:layout_marginStart="8dp" android:layout_marginEnd="8dp" + android:visibility="gone" app:layout_constrainedWidth="true" app:layout_constraintBottom_toTopOf="@+id/image" app:layout_constraintEnd_toEndOf="parent" diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index e8f95bb..8981e04 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -76,7 +76,7 @@ Show Details Hide Details Payment was successful - Go Back + OK You\'ve already paid for this order. Withdrawal accepted -- cgit v1.2.3