From 1d2527061a99e4ba34133c120b74fcc2dcee7018 Mon Sep 17 00:00:00 2001 From: Arc Wang Date: Wed, 8 May 2019 11:43:22 +0800 Subject: [PATCH] Fix Wi-Fi QR code scanner height at 360dp To avoid error message cut on small screen devices Bug: 131628795 Test: manual Change-Id: I33fa55da22823064608739bed33cdd287bffa0b8 --- res/layout/wifi_dpp_qrcode_scanner_fragment.xml | 11 ++++------- src/com/android/settings/wifi/qrcode/QrCamera.java | 3 --- 2 files changed, 4 insertions(+), 10 deletions(-) diff --git a/res/layout/wifi_dpp_qrcode_scanner_fragment.xml b/res/layout/wifi_dpp_qrcode_scanner_fragment.xml index 68ba2771ad3..33a942c894c 100644 --- a/res/layout/wifi_dpp_qrcode_scanner_fragment.xml +++ b/res/layout/wifi_dpp_qrcode_scanner_fragment.xml @@ -43,21 +43,18 @@ android:layout_marginBottom="8dp" style="?android:attr/progressBarStyleHorizontal"/> - + android:layout_height="@dimen/qrcode_preview_size"/> - + android:layout_height="@dimen/qrcode_preview_size"/> +