whycxzp
2024-07-27 efa5fe48ebc866ec07a597ef551cf7e13c3b7aba
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="match_parent"
    android:layout_height="match_parent">
 
    <com.whyc.widget.Camera2TextureView4
        android:id="@+id/camera2_texture_view"
        android:layout_width="100dp"
        android:layout_height="100dp"
        android:layout_below="@id/camera2_inspection_list"
        />
 
    <Button
        android:id="@+id/camera2_recording"
        android:text="启动录像"
        android:layout_width="100dp"
        android:layout_height="40dp"/>
    <Button
        android:id="@+id/camera2_inspection_list"
        android:layout_below="@+id/camera2_recording"
        android:text="暂空"
        android:layout_width="100dp"
        android:layout_height="40dp"/>
 
    <ScrollView
        android:layout_width="match_parent"
        android:layout_height="wrap_content">
        <android.support.v7.widget.RecyclerView
            android:id="@+id/task_list"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            />
 
    </ScrollView>
    <LinearLayout
        android:visibility="gone"
        android:layout_width="300dp"
        android:layout_height="100dp"
        android:orientation="vertical"
        android:background="@color/transparent_teal"
        android:layout_centerHorizontal="true"
        android:layout_centerVertical="true"
        android:id="@+id/ll_up_text">
 
        <TextView
            android:id="@+id/tv_device"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:text="设备工作状态"/>
    </LinearLayout>
</RelativeLayout>