From ba4247457b9c62f207dae6d0c4e6a39791c07a43 Mon Sep 17 00:00:00 2001 From: md Date: Mon, 6 Sep 2021 15:23:28 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E8=BF=9E=E6=8B=8D=E7=9A=84?= =?UTF-8?q?=E5=88=86=E8=BE=A8=E7=8E=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/build.gradle | 2 +- app/src/main/res/layout/activity_pictures.xml | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index 0997c7c..db38c8b 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -3,7 +3,7 @@ apply plugin: 'com.android.application' android { compileSdkVersion 29 buildToolsVersion '29.0.2' - // ndkVersion '23.0.7123448' + ndkVersion '23.0.7123448' defaultConfig { applicationId "com.navinfo.outdoor" diff --git a/app/src/main/res/layout/activity_pictures.xml b/app/src/main/res/layout/activity_pictures.xml index c42032f..dbb217c 100644 --- a/app/src/main/res/layout/activity_pictures.xml +++ b/app/src/main/res/layout/activity_pictures.xml @@ -16,11 +16,11 @@ android:id="@+id/camera" android:layout_width="match_parent" android:layout_height="match_parent" - app:cameraPictureSizeMaxArea="3200000" - app:cameraPictureSizeMaxHeight="2000" - app:cameraPictureSizeMinHeight="1000" - app:cameraPictureSizeMaxWidth="2000" - app:cameraPictureSizeMinWidth="1000" + app:cameraPictureSizeMaxArea="1700000" + app:cameraPictureSizeMaxHeight="1280" + app:cameraPictureSizeMinHeight="720" + app:cameraPictureSizeMaxWidth="1280" + app:cameraPictureSizeMinWidth="720" app:cameraPictureSizeAspectRatio="1280:720" android:keepScreenOn="true" app:layout_constraintBottom_toBottomOf="parent"