From 5ed8465c02058552fe64e9cc1e57253679e12699 Mon Sep 17 00:00:00 2001 From: BlueMatthew Date: Fri, 22 Dec 2023 10:48:35 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4layout?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/src/main/res/layout/activity_channel.xml | 7 ++++--- app/src/main/res/values/strings.xml | 4 ++++ 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/app/src/main/res/layout/activity_channel.xml b/app/src/main/res/layout/activity_channel.xml index ebb97772..88de13aa 100644 --- a/app/src/main/res/layout/activity_channel.xml +++ b/app/src/main/res/layout/activity_channel.xml @@ -22,6 +22,7 @@ android:layout_width="64dp" android:layout_height="wrap_content" android:ems="10" + android:hint="@string/channel_cfg_camera_id" android:inputType="numberDecimal" android:layout_marginStart="6dp" android:layout_marginTop="6dp" @@ -35,7 +36,7 @@ android:layout_height="wrap_content" android:layout_marginEnd="12dp" android:layout_marginTop="6dp" - android:text="保存" + android:text="@string/btn_save" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintTop_toTopOf="parent" /> @@ -46,7 +47,7 @@ android:layout_height="wrap_content" android:layout_marginStart="12dp" android:layout_marginTop="6dp" - android:text="自动曝光" + android:text="@string/channel_cfg_auto_exposure" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toBottomOf="@+id/btnSave" /> @@ -56,7 +57,7 @@ android:layout_height="wrap_content" android:layout_marginStart="12dp" android:layout_marginTop="6dp" - android:text="自动对焦" + android:text="@string/channel_cfg_auto_focus" app:layout_constraintStart_toEndOf="@+id/btnAutoExplosure" app:layout_constraintTop_toBottomOf="@+id/btnSave" /> diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 4b6e9c35..1478cede 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -5,4 +5,8 @@ 右上 OSD 右下 OSD 左下 OSD + Camera Id + 保存 + 自动曝光 + 自动对焦 \ No newline at end of file