Newer
Older
OperationSite_Test / app / src / main / res / layout / activity_disclosure.xml
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    android:id="@+id/rootView"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:background="@color/white"
    android:orientation="vertical">

    <com.pengxh.kt.lite.widget.TitleBarView
        android:id="@+id/titleView"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:background="@color/mainThemeColor"
        app:tbv_left_image="@drawable/ic_title_left"
        app:tbv_show_left_image="true"
        app:tbv_show_right_image="false"
        app:tbv_smaller_title="true"
        app:tbv_text="现场交底"
        app:tbv_text_color="@color/white" />

    <LinearLayout
        android:layout_width="match_parent"
        android:layout_height="0dp"
        android:layout_marginHorizontal="@dimen/dp_10"
        android:layout_marginTop="@dimen/dp_10"
        android:layout_weight="1"
        android:orientation="vertical">

        <LinearLayout
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_marginBottom="@dimen/dp_10"
            android:orientation="horizontal">

            <Button
                android:id="@+id/startCheckButton"
                android:layout_width="0dp"
                android:layout_height="wrap_content"
                android:layout_weight="1"
                android:text="开始交底" />

            <Button
                android:id="@+id/showOtherCommandButton"
                android:layout_width="0dp"
                android:layout_height="wrap_content"
                android:layout_marginHorizontal="@dimen/dp_10"
                android:layout_weight="1"
                android:text="其他指令" />

            <Button
                android:id="@+id/showControlViewButton"
                android:layout_width="0dp"
                android:layout_height="wrap_content"
                android:layout_weight="1"
                android:text="控制设备" />
        </LinearLayout>

        <com.shuyu.gsyvideoplayer.video.NormalGSYVideoPlayer
            android:id="@+id/rtspPlayerView"
            android:layout_width="match_parent"
            android:layout_height="220dp"
            android:clickable="false"
            android:focusable="false" />

        <TextView
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_marginVertical="@dimen/dp_10"
            android:text="此页面视频会自动播放,如果没有播放点击视频中间播放按钮,确保有画面再和管理员沟通什么时候点击“开始交底”,安全树会开始自动识别画面,然后会说话。然后注意现场情况,依旧是听现场管理员指挥再点击“作业气体检测完成”。"
            android:textColor="@color/orangeTextColor"
            android:textSize="@dimen/sp_12" />

        <Button
            android:id="@+id/confirmAirButton"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:text="作业气体检测完成" />
    </LinearLayout>
</LinearLayout>