xuxiuxi
2017-04-06 e692ffe58337b1ee0a5dada57f4e3cf707de551e
VisitFace/DemoForBsk/app/src/main/res/layout/fragment_device_left.xml
@@ -3,7 +3,7 @@
    android:orientation="vertical" android:layout_width="match_parent"
    android:layout_height="match_parent">
    <TextView
        android:id="@+id/device_manager_back"
        android:id="@+id/fragment_device_back"
        android:layout_width="wrap_content"
        android:layout_height="30dp"
        android:text="&lt; 设备管理"
@@ -18,7 +18,7 @@
        android:background="@color/colorSearch"
        android:orientation="vertical">
        <EditText
            android:id="@+id/fragment_attendance_left_search"
            android:id="@+id/fragment_device_left_search"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_marginTop="5.5dp"
@@ -43,22 +43,109 @@
                android:background="@color/colorBackground"
                android:padding="22dp"
                android:text="@string/device_set"/>
            <include
                android:id="@+id/device_wifi"
                layout="@layout/fragment_device_left_row"
                android:layout_height="wrap_content"
                android:layout_width="match_parent"/>
            <include
                android:id="@+id/device_landline"
                layout="@layout/fragment_device_left_row"
                android:layout_height="wrap_content"
                android:layout_width="match_parent"/>
            <include
                android:id="@+id/device_school"
                layout="@layout/fragment_device_left_row"
                android:layout_height="wrap_content"
                android:layout_width="match_parent"/>
            <RelativeLayout
                android:background="@android:color/white"
                android:layout_width="match_parent"
                android:layout_height="wrap_content">
                <CheckBox
                    android:id="@+id/fragment_device_left_wifi_check_box"
                    android:layout_centerVertical="true"
                    android:clickable="false"
                    android:layout_marginLeft="24dp"
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content" />
                <LinearLayout
                    android:layout_width="match_parent"
                    android:layout_height="56dp"
                    android:orientation="vertical"
                    android:layout_marginLeft="30dp"
                    android:layout_marginRight="30dp"
                    android:layout_toRightOf="@id/fragment_device_left_wifi_check_box">
                    <TextView
                        android:layout_width="wrap_content"
                        android:layout_height="match_parent"
                        android:text="无线WIFI设置"
                        android:drawableLeft="@mipmap/ic_launcher"
                        android:drawablePadding="20dp"
                        android:gravity="center_vertical"
                        android:textSize="@dimen/text_size_big"
                        android:textColor="@color/colorText_5"/>
                    <View
                        android:layout_width="match_parent"
                        android:layout_height="1dp"
                        android:background="@color/colorText_b"/>
                </LinearLayout>
            </RelativeLayout>
            <RelativeLayout
                android:background="@android:color/white"
                android:layout_width="match_parent"
                android:layout_height="wrap_content">
                <CheckBox
                    android:id="@+id/fragment_device_left_lan_check_box"
                    android:layout_centerVertical="true"
                    android:clickable="false"
                    android:layout_marginLeft="24dp"
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content" />
                <LinearLayout
                    android:layout_width="match_parent"
                    android:layout_height="56dp"
                    android:orientation="vertical"
                    android:layout_marginLeft="30dp"
                    android:layout_marginRight="30dp"
                    android:layout_toRightOf="@id/fragment_device_left_lan_check_box">
                    <TextView
                        android:layout_width="wrap_content"
                        android:layout_height="match_parent"
                        android:text="有线网络设置"
                        android:drawableLeft="@mipmap/ic_launcher"
                        android:drawablePadding="20dp"
                        android:gravity="center_vertical"
                        android:textSize="@dimen/text_size_big"
                        android:textColor="@color/colorText_5"/>
                    <View
                        android:layout_width="match_parent"
                        android:layout_height="1dp"
                        android:background="@color/colorText_b"/>
                </LinearLayout>
            </RelativeLayout>
            <RelativeLayout
                android:background="@android:color/white"
                android:layout_width="match_parent"
                android:layout_height="wrap_content">
                <CheckBox
                    android:id="@+id/fragment_device_left_school_check_box"
                    android:layout_centerVertical="true"
                    android:clickable="false"
                    android:layout_marginLeft="24dp"
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content" />
                <LinearLayout
                    android:layout_width="match_parent"
                    android:layout_height="56dp"
                    android:orientation="vertical"
                    android:layout_marginLeft="30dp"
                    android:layout_marginRight="30dp"
                    android:layout_toRightOf="@id/fragment_device_left_school_check_box">
                    <TextView
                        android:layout_width="wrap_content"
                        android:layout_height="match_parent"
                        android:text="所属学校设置"
                        android:drawableLeft="@mipmap/ic_launcher"
                        android:drawablePadding="20dp"
                        android:gravity="center_vertical"
                        android:textSize="@dimen/text_size_big"
                        android:textColor="@color/colorText_5"/>
                    <View
                        android:layout_width="match_parent"
                        android:layout_height="1dp"
                        android:background="@color/colorText_b"/>
                </LinearLayout>
            </RelativeLayout>
            <TextView
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
@@ -67,16 +154,74 @@
                android:background="@color/colorBackground"
                android:padding="22dp"
                android:text="@string/device_camera"/>
            <include
                android:id="@+id/device_camera1"
                layout="@layout/fragment_device_left_row"
                android:layout_height="wrap_content"
                android:layout_width="match_parent"/>
            <include
                android:id="@+id/device_camera2"
                layout="@layout/fragment_device_left_row"
                android:layout_height="wrap_content"
                android:layout_width="match_parent"/>
            <RelativeLayout
                android:background="@android:color/white"
                android:layout_width="match_parent"
                android:layout_height="wrap_content">
                <CheckBox
                    android:id="@+id/fragment_device_left_camera1_check_box"
                    android:layout_centerVertical="true"
                    android:clickable="false"
                    android:layout_marginLeft="24dp"
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content" />
                <LinearLayout
                    android:layout_width="match_parent"
                    android:layout_height="56dp"
                    android:orientation="vertical"
                    android:layout_marginLeft="30dp"
                    android:layout_marginRight="30dp"
                    android:layout_toRightOf="@id/fragment_device_left_camera1_check_box">
                    <TextView
                        android:layout_width="wrap_content"
                        android:layout_height="match_parent"
                        android:text="摄像机1"
                        android:drawableLeft="@mipmap/ic_launcher"
                        android:drawablePadding="20dp"
                        android:gravity="center_vertical"
                        android:textSize="@dimen/text_size_big"
                        android:textColor="@color/colorText_5"/>
                    <View
                        android:layout_width="match_parent"
                        android:layout_height="1dp"
                        android:background="@color/colorText_b"/>
                </LinearLayout>
            </RelativeLayout>
            <RelativeLayout
                android:background="@android:color/white"
                android:layout_width="match_parent"
                android:layout_height="wrap_content">
                <CheckBox
                    android:id="@+id/fragment_device_left_camera2_check_box"
                    android:layout_centerVertical="true"
                    android:clickable="false"
                    android:layout_marginLeft="24dp"
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content" />
                <LinearLayout
                    android:layout_width="match_parent"
                    android:layout_height="56dp"
                    android:orientation="vertical"
                    android:layout_marginLeft="30dp"
                    android:layout_marginRight="30dp"
                    android:layout_toRightOf="@id/fragment_device_left_camera2_check_box">
                    <TextView
                        android:layout_width="wrap_content"
                        android:layout_height="match_parent"
                        android:text="摄像机2"
                        android:drawableLeft="@mipmap/ic_launcher"
                        android:drawablePadding="20dp"
                        android:gravity="center_vertical"
                        android:textSize="@dimen/text_size_big"
                        android:textColor="@color/colorText_5"/>
                    <View
                        android:layout_width="match_parent"
                        android:layout_height="1dp"
                        android:background="@color/colorText_b"/>
                </LinearLayout>
            </RelativeLayout>
        </LinearLayout>
    </LinearLayout>
</LinearLayout>