From b0b6adc58b4fd8df291ffa58f3014e1da3e42f23 Mon Sep 17 00:00:00 2001 From: unyoungwax Date: Tue, 23 Feb 2016 14:41:26 +0800 Subject: Resize QR code properly in landscape orientation --- OpenKeychain/src/main/res/layout/qr_code_activity.xml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'OpenKeychain') diff --git a/OpenKeychain/src/main/res/layout/qr_code_activity.xml b/OpenKeychain/src/main/res/layout/qr_code_activity.xml index 5709bf0ff..47f5c06d8 100644 --- a/OpenKeychain/src/main/res/layout/qr_code_activity.xml +++ b/OpenKeychain/src/main/res/layout/qr_code_activity.xml @@ -27,12 +27,11 @@ app:cardUseCompatPadding="true" app:cardCornerRadius="4dp"> - + android:layout_height="match_parent" + android:scaleType="centerInside"/> -- cgit v1.2.3