You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
225 lines
8.1 KiB
225 lines
8.1 KiB
<?xml version="1.0" encoding="utf-8"?>
|
|
<!--
|
|
Copyright (C) 2025 Rockchip Limited
|
|
|
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
you may not use this file except in compliance with the License.
|
|
You may obtain a copy of the License at
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
Unless required by applicable law or agreed to in writing, software
|
|
distributed under the License is distributed on an "AS IS" BASIS,
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
See the License for the specific language governing permissions and
|
|
limitations under the License.
|
|
-->
|
|
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:background="@color/black">
|
|
|
|
|
|
<!-- <TextView-->
|
|
<!-- android:id="@+id/tv_title"-->
|
|
<!-- android:text="RKDMS"-->
|
|
<!-- android:layout_width="300dp"-->
|
|
<!-- android:layout_height="200dp"-->
|
|
<!-- android:textSize="24sp"-->
|
|
<!-- android:gravity="center"-->
|
|
<!-- android:textColor="@color/white"/>-->
|
|
|
|
|
|
<ImageView
|
|
android:id="@+id/face_recognition_view"
|
|
android:scaleType="centerInside"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent" />
|
|
|
|
<RelativeLayout
|
|
android:id="@+id/ll_content_top"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_centerHorizontal="true">
|
|
|
|
<ImageView
|
|
android:id="@+id/iv_camera"
|
|
android:layout_width="48dp"
|
|
android:layout_height="48dp"
|
|
android:layout_marginTop="24dp"
|
|
android:layout_marginRight="16dp"
|
|
android:background="@drawable/icon_normal_bg"
|
|
android:padding="10dp"
|
|
android:src="@drawable/ic_camera" />
|
|
|
|
<TextView
|
|
android:id="@+id/tv_camera"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_below="@+id/iv_camera"
|
|
android:layout_alignLeft="@+id/iv_camera"
|
|
android:layout_marginTop="8dp"
|
|
android:text="Camera"
|
|
android:textColor="@color/white" />
|
|
|
|
<ImageView
|
|
android:id="@+id/iv_attentive"
|
|
android:layout_width="48dp"
|
|
android:layout_height="48dp"
|
|
android:layout_marginTop="24dp"
|
|
android:layout_marginRight="16dp"
|
|
android:layout_toRightOf="@+id/iv_camera"
|
|
android:background="@drawable/icon_normal_bg"
|
|
android:padding="10dp"
|
|
android:src="@drawable/ic_attentive" />
|
|
|
|
<TextView
|
|
android:id="@+id/tv_attentive"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_below="@+id/iv_attentive"
|
|
android:layout_alignLeft="@+id/iv_attentive"
|
|
android:layout_marginTop="8dp"
|
|
android:text="Attentive"
|
|
android:textColor="@color/white" />
|
|
|
|
<ImageView
|
|
android:id="@+id/iv_awake"
|
|
android:layout_width="48dp"
|
|
android:layout_height="48dp"
|
|
android:layout_marginTop="24dp"
|
|
android:layout_marginRight="16dp"
|
|
android:layout_toRightOf="@+id/iv_attentive"
|
|
android:background="@drawable/icon_normal_bg"
|
|
android:padding="10dp"
|
|
android:src="@drawable/ic_awake" />
|
|
|
|
<TextView
|
|
android:id="@+id/tv_awake"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_below="@+id/iv_awake"
|
|
android:layout_alignLeft="@+id/iv_awake"
|
|
android:layout_marginTop="8dp"
|
|
android:text="Awake"
|
|
android:textColor="@color/white" />
|
|
|
|
<ImageView
|
|
android:id="@+id/iv_seatbelt"
|
|
android:layout_width="48dp"
|
|
android:layout_height="48dp"
|
|
android:layout_marginTop="24dp"
|
|
android:layout_marginRight="16dp"
|
|
android:layout_toRightOf="@+id/iv_awake"
|
|
android:background="@drawable/icon_normal_bg"
|
|
android:padding="10dp"
|
|
android:src="@drawable/ic_seatbelt" />
|
|
|
|
<TextView
|
|
android:id="@+id/tv_seatbelt"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_below="@+id/iv_seatbelt"
|
|
android:layout_alignLeft="@+id/iv_seatbelt"
|
|
android:layout_marginTop="8dp"
|
|
android:text="Seatbelt"
|
|
android:textColor="@color/white" />
|
|
|
|
<ImageView
|
|
android:id="@+id/iv_phone"
|
|
android:layout_width="48dp"
|
|
android:layout_height="48dp"
|
|
android:layout_marginTop="24dp"
|
|
android:layout_marginRight="16dp"
|
|
android:layout_toRightOf="@+id/iv_seatbelt"
|
|
android:background="@drawable/icon_normal_bg"
|
|
android:padding="10dp"
|
|
android:src="@drawable/ic_phone" />
|
|
|
|
<TextView
|
|
android:id="@+id/tv_phone"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_below="@+id/iv_phone"
|
|
android:layout_alignLeft="@+id/iv_phone"
|
|
android:layout_marginTop="8dp"
|
|
android:text="Phone"
|
|
android:textColor="@color/white" />
|
|
|
|
<ImageView
|
|
android:id="@+id/iv_smoking"
|
|
android:layout_width="48dp"
|
|
android:layout_height="48dp"
|
|
android:layout_marginTop="24dp"
|
|
android:layout_toRightOf="@+id/iv_phone"
|
|
android:background="@drawable/icon_normal_bg"
|
|
android:padding="10dp"
|
|
android:src="@drawable/ic_smoking" />
|
|
|
|
<TextView
|
|
android:id="@+id/tv_smoking"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_below="@+id/iv_smoking"
|
|
android:layout_alignLeft="@+id/iv_smoking"
|
|
android:layout_marginTop="8dp"
|
|
android:text="Smoking"
|
|
android:textColor="@color/white" />
|
|
|
|
</RelativeLayout>
|
|
|
|
|
|
<LinearLayout
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_centerVertical="true"
|
|
android:layout_marginLeft="16dp"
|
|
android:orientation="vertical">
|
|
|
|
<TextView
|
|
android:id="@+id/tv_fps"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginBottom="12dp"
|
|
android:text="FPS:30"
|
|
android:textColor="@color/teal_700"
|
|
android:textSize="20sp" />
|
|
|
|
<TextView
|
|
android:id="@+id/tv_person_id"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginBottom="12dp"
|
|
android:text="Persona ID: Tal"
|
|
android:textColor="@color/teal_700"
|
|
android:textSize="20sp"/>
|
|
|
|
<TextView
|
|
android:id="@+id/tv_aoi"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginBottom="12dp"
|
|
android:text="AOI: None"
|
|
android:textColor="@color/teal_700"
|
|
android:textSize="20sp"/>
|
|
|
|
<TextView
|
|
android:id="@+id/tv_eye_mode"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginBottom="12dp"
|
|
android:text="Eye Mode: SACCADE"
|
|
android:textColor="@color/teal_700"
|
|
android:textSize="20sp" />
|
|
|
|
<TextView
|
|
android:id="@+id/tv_real_driver"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="Real Driver: YES"
|
|
android:textColor="@color/teal_700"
|
|
android:textSize="20sp" />
|
|
</LinearLayout>
|
|
|
|
|
|
</RelativeLayout> |