From 0820be398686e231ae77e5d1d4ff26e2111be836 Mon Sep 17 00:00:00 2001 From: Branden Archer Date: Mon, 19 Feb 2018 23:02:54 -0500 Subject: [PATCH] Reduce space used in header for card view The landscape view left little room for the barcode and card ID because the header took up a lot of space. Further, on smaller phones it would take up a large portion of the screen. This change reduces the header from 224dp to two action bar sizes plus the size of the textview for the store name. --- app/src/main/res/layout/loyalty_card_view_layout.xml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/src/main/res/layout/loyalty_card_view_layout.xml b/app/src/main/res/layout/loyalty_card_view_layout.xml index 14a1d5868..8fef9e8e2 100644 --- a/app/src/main/res/layout/loyalty_card_view_layout.xml +++ b/app/src/main/res/layout/loyalty_card_view_layout.xml @@ -100,7 +100,7 @@ android:clipChildren="false" android:clipToPadding="false" android:layout_width="fill_parent" - android:layout_height="224.0dip" + android:layout_height="wrap_content" android:weightSum="1.0" android:fitsSystemWindows="true">