调整layout

serial
BlueMatthew 2 years ago
parent db99318e28
commit 5ed8465c02

@ -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" />

@ -5,4 +5,8 @@
<string name="osd_right_top">右上 OSD</string>
<string name="osd_right_bottom">右下 OSD</string>
<string name="osd_left_bottom">左下 OSD</string>
<string name="channel_cfg_camera_id">Camera Id</string>
<string name="btn_save">保存</string>
<string name="channel_cfg_auto_exposure">自动曝光</string>
<string name="channel_cfg_auto_focus">自动对焦</string>
</resources>
Loading…
Cancel
Save