xuxiuxi
2017-05-11 109ffe9a777658936a38d0c146579a67c60a0d17
VisitFace/DemoForBsk/app/src/main/res/layout/fragment_device_left.xml
@@ -1,34 +1,40 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:orientation="vertical" android:layout_width="match_parent"
    android:layout_height="match_parent">
    android:layout_height="match_parent"
    android:id="@+id/fragment_check_in_left_parent"
    >
    <TextView
        android:id="@+id/fragment_device_back"
        android:layout_width="wrap_content"
        android:layout_height="30dp"
        android:layout_height="@dimen/h30dp"
        android:text="&lt; 设备管理"
        android:layout_marginLeft="10dp"
        android:layout_marginTop="10dp"
        android:layout_marginLeft="@dimen/w10dp"
        android:layout_marginTop="@dimen/h10dp"
        android:layout_centerVertical="true"
        android:textColor="#8BD2F6"
        android:textSize="@dimen/w14dp"
        />
    <LinearLayout
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:background="@color/colorSearch"
        android:orientation="vertical">
        <EditText
        android:orientation="vertical"
        >
        <cn.com.basic.face.widget.checkin.SearchEditText
            android:id="@+id/fragment_device_left_search"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_marginTop="5.5dp"
            android:layout_marginBottom="5.5dp"
            android:layout_marginLeft="4dp"
            android:layout_marginRight="4dp"
            android:layout_marginTop="@dimen/h6dp"
            android:layout_marginBottom="@dimen/h6dp"
            android:layout_marginLeft="@dimen/w4dp"
            android:layout_marginRight="@dimen/w4dp"
            android:gravity="center"
            android:hint="Search"
            android:textColorHint="@color/colorSearch"
            android:background="@drawable/visitor_register_search_et"/>
            android:background="@drawable/visitor_register_search_et"
            android:textSize="@dimen/w14dp"/>
        <LinearLayout
            android:layout_width="match_parent"
            android:layout_height="match_parent"
@@ -38,10 +44,10 @@
            <TextView
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:textSize="@dimen/text_size_big"
                android:textSize="@dimen/w16dp"
                android:textColor="@color/colorText_5"
                android:background="@color/colorBackground"
                android:padding="22dp"
                android:padding="@dimen/w22dp"
                android:text="@string/device_set"/>
            <RelativeLayout
@@ -54,25 +60,25 @@
                <RadioButton
                    android:id="@+id/fragment_device_left_wifi_check_box"
                    android:layout_centerVertical="true"
                    android:layout_marginLeft="24dp"
                    android:layout_marginLeft="@dimen/w24dp"
                    android:clickable="false"
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content" />
                <LinearLayout
                    android:layout_width="match_parent"
                    android:layout_height="56dp"
                    android:layout_height="@dimen/h56dp"
                    android:orientation="vertical"
                    android:layout_marginLeft="30dp"
                    android:layout_marginRight="30dp"
                    android:layout_marginLeft="@dimen/w30dp"
                    android:layout_marginRight="@dimen/w30dp"
                    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="@drawable/u216"
                        android:drawablePadding="20dp"
                        android:drawablePadding="@dimen/w20dp"
                        android:gravity="center_vertical"
                        android:textSize="@dimen/text_size_big"
                        android:textSize="@dimen/w16dp"
                        android:textColor="@color/colorText_5"/>
                </LinearLayout>
            </RelativeLayout>
@@ -85,24 +91,24 @@
                <RadioButton
                    android:id="@+id/fragment_device_left_lan_check_box"
                    android:layout_centerVertical="true"
                    android:layout_marginLeft="24dp"
                    android:layout_marginLeft="@dimen/w24dp"
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content" />
                <LinearLayout
                    android:layout_width="match_parent"
                    android:layout_height="56dp"
                    android:layout_height="@dimen/h56dp"
                    android:orientation="vertical"
                    android:layout_marginLeft="30dp"
                    android:layout_marginRight="30dp"
                    android:layout_marginLeft="@dimen/w30dp"
                    android:layout_marginRight="@dimen/w30dp"
                    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="@drawable/u222"
                        android:drawablePadding="20dp"
                        android:drawablePadding="@dimen/w20dp"
                        android:gravity="center_vertical"
                        android:textSize="@dimen/text_size_big"
                        android:textSize="@dimen/w16dp"
                        android:textColor="@color/colorText_5"/>
                </LinearLayout>
@@ -110,7 +116,7 @@
                    android:layout_width="match_parent"
                    android:layout_height="1dp"
                    android:background="@color/colorText_b"
                    android:layout_marginLeft="24dp"
                    android:layout_marginLeft="@dimen/w24dp"
                    />
            </RelativeLayout>
            <RelativeLayout
@@ -122,40 +128,40 @@
                <RadioButton
                    android:id="@+id/fragment_device_left_school_check_box"
                    android:layout_centerVertical="true"
                    android:layout_marginLeft="24dp"
                    android:layout_marginLeft="@dimen/w24dp"
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content" />
                <LinearLayout
                    android:layout_width="match_parent"
                    android:layout_height="56dp"
                    android:layout_height="@dimen/h56dp"
                    android:orientation="vertical"
                    android:layout_marginLeft="30dp"
                    android:layout_marginRight="30dp"
                    android:layout_marginLeft="@dimen/w30dp"
                    android:layout_marginRight="@dimen/w30dp"
                    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="@drawable/u325"
                        android:drawablePadding="20dp"
                        android:drawablePadding="@dimen/w20dp"
                        android:gravity="center_vertical"
                        android:textSize="@dimen/text_size_big"
                        android:textSize="@dimen/w16dp"
                        android:textColor="@color/colorText_5"/>
                </LinearLayout>
                <View
                    android:layout_width="match_parent"
                    android:layout_height="1dp"
                    android:background="@color/colorText_b"
                    android:layout_marginLeft="24dp"
                    android:layout_marginLeft="@dimen/w24dp"
                    />
            </RelativeLayout>
            <TextView
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:textSize="@dimen/text_size_big"
                android:textSize="@dimen/w16dp"
                android:textColor="@color/colorText_5"
                android:background="@color/colorBackground"
                android:padding="22dp"
                android:padding="@dimen/w22dp"
                android:text="@string/device_camera"/>
            <RelativeLayout
                android:background="@android:color/white"
@@ -166,24 +172,24 @@
                <RadioButton
                    android:id="@+id/fragment_device_left_camera1_check_box"
                    android:layout_centerVertical="true"
                    android:layout_marginLeft="24dp"
                    android:layout_marginLeft="@dimen/w24dp"
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content" />
                <LinearLayout
                    android:layout_width="match_parent"
                    android:layout_height="56dp"
                    android:layout_height="@dimen/h56dp"
                    android:orientation="vertical"
                    android:layout_marginLeft="30dp"
                    android:layout_marginRight="30dp"
                    android:layout_marginLeft="@dimen/w30dp"
                    android:layout_marginRight="@dimen/w30dp"
                    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="@drawable/u233"
                        android:drawablePadding="20dp"
                        android:drawablePadding="@dimen/w20dp"
                        android:gravity="center_vertical"
                        android:textSize="@dimen/text_size_big"
                        android:textSize="@dimen/w16dp"
                        android:textColor="@color/colorText_5"/>
                </LinearLayout>
            </RelativeLayout>
@@ -196,38 +202,38 @@
                <RadioButton
                    android:id="@+id/fragment_device_left_camera2_check_box"
                    android:layout_centerVertical="true"
                    android:layout_marginLeft="24dp"
                    android:layout_marginLeft="@dimen/w24dp"
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content" />
                <LinearLayout
                    android:layout_width="match_parent"
                    android:layout_height="56dp"
                    android:layout_height="@dimen/h56dp"
                    android:orientation="vertical"
                    android:layout_marginLeft="30dp"
                    android:layout_marginRight="30dp"
                    android:layout_marginLeft="@dimen/w30dp"
                    android:layout_marginRight="@dimen/w30dp"
                    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="@drawable/u233"
                        android:drawablePadding="20dp"
                        android:drawablePadding="@dimen/w20dp"
                        android:gravity="center_vertical"
                        android:textSize="@dimen/text_size_big"
                        android:textSize="@dimen/w16dp"
                        android:textColor="@color/colorText_5"/>
                </LinearLayout>
                <View
                    android:layout_width="match_parent"
                    android:layout_height="1dp"
                    android:background="@color/colorText_b"
                    android:layout_marginLeft="24dp"
                    android:layout_marginLeft="@dimen/w24dp"
                    />
            </RelativeLayout>
            <View
                android:layout_width="match_parent"
                android:layout_height="1dp"
                android:background="@color/colorText_b"
                android:layout_marginLeft="24dp"
                android:layout_marginLeft="@dimen/w24dp"
                />
        </LinearLayout>
    </LinearLayout>