[6.7.0]考试面板UI改版
@@ -89,8 +89,8 @@ class ExamControlWindow constructor(activity: Activity): View.OnTouchListener{
|
||||
it.format = PixelFormat.RGBA_8888
|
||||
it.flags = WindowManager.LayoutParams.FLAG_NOT_TOUCH_MODAL
|
||||
it.gravity = Gravity.START or Gravity.TOP
|
||||
it.width = 844
|
||||
it.height = 1114
|
||||
it.width = 906
|
||||
it.height = 1176
|
||||
it.alpha = 1.0f
|
||||
}
|
||||
}
|
||||
|
||||
|
Before Width: | Height: | Size: 135 KiB After Width: | Height: | Size: 928 KiB |
|
Before Width: | Height: | Size: 109 KiB |
|
Before Width: | Height: | Size: 13 KiB After Width: | Height: | Size: 12 KiB |
|
Before Width: | Height: | Size: 12 KiB After Width: | Height: | Size: 11 KiB |
|
Before Width: | Height: | Size: 14 KiB After Width: | Height: | Size: 13 KiB |
|
Before Width: | Height: | Size: 15 KiB After Width: | Height: | Size: 14 KiB |
|
Before Width: | Height: | Size: 21 KiB After Width: | Height: | Size: 21 KiB |
|
Before Width: | Height: | Size: 12 KiB After Width: | Height: | Size: 11 KiB |
|
Before Width: | Height: | Size: 31 KiB After Width: | Height: | Size: 31 KiB |
@@ -1,38 +1,27 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="@dimen/dp_844"
|
||||
android:layout_height="@dimen/dp_1114"
|
||||
android:layout_width="@dimen/dp_906"
|
||||
android:layout_height="@dimen/dp_1176"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
android:background="@drawable/bg_exam_control">
|
||||
|
||||
<View
|
||||
android:id="@+id/viewTitleBg"
|
||||
android:layout_width="@dimen/dp_844"
|
||||
android:layout_height="@dimen/dp_102"
|
||||
android:background="@drawable/bg_exam_control_title"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
app:layout_constraintLeft_toLeftOf="parent"
|
||||
app:layout_constraintRight_toRightOf="parent"
|
||||
/>
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
app:layout_constraintTop_toTopOf="@id/viewTitleBg"
|
||||
app:layout_constraintBottom_toBottomOf="@id/viewTitleBg"
|
||||
app:layout_constraintLeft_toLeftOf="@id/viewTitleBg"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
app:layout_constraintLeft_toLeftOf="parent"
|
||||
android:text="@string/exam_vehicle_control"
|
||||
android:textSize="@dimen/sp_34"
|
||||
android:textColor="@color/white"
|
||||
android:layout_marginStart="@dimen/dp_63"
|
||||
android:layout_marginStart="@dimen/dp_94"
|
||||
android:layout_marginTop="@dimen/dp_58"
|
||||
/>
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/ivCloseExam"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
app:layout_constraintTop_toTopOf="@id/viewTitleBg"
|
||||
app:layout_constraintBottom_toBottomOf="@id/viewTitleBg"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
app:layout_constraintRight_toRightOf="parent"
|
||||
android:src="@drawable/icon_exam_close"
|
||||
android:contentDescription="@string/exam_close"
|
||||
@@ -40,6 +29,7 @@
|
||||
android:paddingTop="@dimen/dp_30"
|
||||
android:paddingBottom="@dimen/dp_30"
|
||||
android:paddingStart="@dimen/dp_56"
|
||||
android:layout_margin="@dimen/dp_31"
|
||||
/>
|
||||
|
||||
<View
|
||||
@@ -49,7 +39,7 @@
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
app:layout_constraintLeft_toLeftOf="parent"
|
||||
app:layout_constraintRight_toRightOf="parent"
|
||||
android:layout_marginTop="@dimen/dp_142"
|
||||
android:layout_marginTop="@dimen/dp_173"
|
||||
android:background="@drawable/bg_exam_vehicle_mode"
|
||||
/>
|
||||
|
||||
@@ -197,7 +187,7 @@
|
||||
app:layout_constraintTop_toBottomOf="@id/viewVehicleModeBg"
|
||||
app:layout_constraintLeft_toLeftOf="parent"
|
||||
android:layout_marginTop="@dimen/dp_40"
|
||||
android:layout_marginLeft="@dimen/dp_47"
|
||||
android:layout_marginLeft="@dimen/dp_78"
|
||||
android:background="@drawable/bg_exam_seat_status"
|
||||
/>
|
||||
|
||||
@@ -269,7 +259,7 @@
|
||||
app:layout_constraintRight_toRightOf="parent"
|
||||
android:src="@drawable/exam_line_to_right_selector"
|
||||
android:layout_marginTop="@dimen/dp_40"
|
||||
android:layout_marginRight="@dimen/dp_47"
|
||||
android:layout_marginRight="@dimen/dp_78"
|
||||
android:contentDescription="@string/exam_line_to_right"
|
||||
/>
|
||||
|
||||
@@ -340,6 +330,7 @@
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
android:src="@drawable/exam_emergency_stop_selector"
|
||||
android:contentDescription="@string/exam_emergency_stop"
|
||||
android:layout_marginBottom="@dimen/dp_31"
|
||||
/>
|
||||
|
||||
|
||||
|
||||