xuxiuxi
2017-05-11 109ffe9a777658936a38d0c146579a67c60a0d17
VisitFace/DemoForBsk/app/src/main/res/layout/fragment_device_right_camera2.xml
@@ -2,167 +2,298 @@
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:orientation="vertical" android:layout_width="match_parent"
    android:layout_height="match_parent">
    <ScrollView
    <LinearLayout
        android:layout_width="match_parent"
        android:layout_height="match_parent">
        android:layout_height="match_parent"
        android:gravity="center_horizontal"
        android:orientation="vertical">
        <LinearLayout
            android:layout_width="match_parent"
            android:layout_height="match_parent"
            android:gravity="center_horizontal"
            android:orientation="vertical">
            <LinearLayout
                android:layout_width="match_parent"
                android:layout_height="76dp"
                android:gravity="right|center_vertical"
                android:orientation="horizontal">
                <TextView
                    android:id="@+id/fragment_device_right_delete"
                    android:layout_width="40dp"
                    android:layout_height="36dp"
                    android:gravity="center"
                    android:textColor="@android:color/white"
                    android:background="@drawable/u194"
                    android:text=""/>
                <TextView
                    android:id="@+id/fragment_device_right_add"
                    android:layout_width="40dp"
                    android:layout_height="36dp"
                    android:gravity="center"
                    android:layout_marginLeft="10dp"
                    android:textColor="@android:color/white"
                    android:background="@drawable/u249"
                    android:text=""/>
                <TextView
                    android:id="@+id/fragment_device_right_save"
                    android:layout_width="40dp"
                    android:layout_height="36dp"
                    android:gravity="center"
                    android:layout_marginLeft="10dp"
                    android:layout_marginRight="10dp"
                    android:textColor="@android:color/white"
                    android:background="@drawable/u208"
                    android:text=""/>
            </LinearLayout>
            android:layout_height="@dimen/h76dp"
            android:gravity="right|center_vertical"
            android:orientation="horizontal">
            <TextView
                android:id="@+id/fragment_device_right_camera2_delete"
                android:layout_width="@dimen/w40dp"
                android:layout_height="@dimen/h36dp"
                android:gravity="center"
                android:textColor="@android:color/white"
                android:background="@drawable/u194"
                android:text=""/>
            <TextView
                android:id="@+id/fragment_device_right_camera2_add"
                android:layout_width="@dimen/w40dp"
                android:layout_height="@dimen/h36dp"
                android:gravity="center"
                android:layout_marginLeft="@dimen/w10dp"
                android:textColor="@android:color/white"
                android:background="@drawable/u249"
                android:text=""/>
            <TextView
                android:id="@+id/fragment_device_right_camera2_save"
                android:layout_width="@dimen/w40dp"
                android:layout_height="@dimen/h36dp"
                android:gravity="center"
                android:layout_marginLeft="@dimen/w10dp"
                android:layout_marginRight="@dimen/w10dp"
                android:textColor="@android:color/white"
                android:background="@drawable/u208"
                android:text=""/>
        </LinearLayout>
        <ScrollView
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            >
            <LinearLayout
                android:orientation="vertical"
                android:layout_width="596dp"
                android:layout_width="@dimen/w596dp"
                android:layout_height="wrap_content"
                android:layout_gravity="center_horizontal"
                >
                <LinearLayout
                    android:orientation="vertical"
                    android:layout_width="match_parent"
                    android:layout_height="wrap_content">
                    <LinearLayout
                        android:paddingTop="13dp"
                        android:paddingBottom="13dp"
                        android:gravity="center_horizontal"
                        android:layout_width="match_parent"
                    android:layout_width="@dimen/w611dp"
                    android:layout_height="wrap_content"
                    android:layout_marginTop="@dimen/h20dp"
                    android:orientation="vertical">
                    <TextView
                        android:layout_width="wrap_content"
                        android:layout_height="wrap_content"
                        android:orientation="horizontal">
                        <LinearLayout
                            android:layout_width="wrap_content"
                            android:layout_height="wrap_content"
                            android:orientation="horizontal"
                            android:layout_weight="1"
                            >
                            <TextView
                                android:layout_width="wrap_content"
                                android:layout_height="wrap_content"
                                android:textSize="@dimen/text_size_navigation"
                                android:text="camera2"
                                android:gravity="left"
                                android:layout_gravity="left"
                                android:textColor="@color/colorPrimary"/>
                        </LinearLayout>
                        <Switch
                            android:layout_width="wrap_content"
                            android:layout_height="wrap_content"
                            android:layout_weight="0"
                            android:checked="true"
                            />
                    </LinearLayout>
                        android:textColor="@color/colorPrimary"
                        android:textStyle="bold"
                        android:textSize="@dimen/w16dp"
                        android:text="摄像机2"
                        android:id="@+id/fragment_check_in_right_visitor_reason_text_view"
                        android:layout_marginBottom="@dimen/h20dp"
                        />
                    <View
                        android:layout_width="match_parent"
                        android:layout_height="@dimen/view_size_1"
                        android:background="@color/colorText_b"
                        android:layout_marginLeft="5dp"/>
                        android:background="@color/colorText_b"/>
                </LinearLayout>
                <LinearLayout
                    android:orientation="vertical"
                    android:layout_width="match_parent"
                    android:layout_height="wrap_content">
                    <LinearLayout
                        android:paddingTop="13dp"
                        android:gravity="center_horizontal"
                    android:layout_width="@dimen/w611dp"
                    android:layout_height="wrap_content"
                    android:layout_marginTop="@dimen/h10dp"
                    android:orientation="vertical">
                    <TextView
                        android:layout_width="wrap_content"
                        android:layout_height="wrap_content"
                        android:textStyle="bold"
                        android:layout_marginTop="@dimen/h10dp"
                        android:textSize="@dimen/w14dp"
                        android:layout_marginBottom="@dimen/h6dp"
                        android:text="摄像机品牌"
                        />
                    <RelativeLayout
                        android:layout_width="match_parent"
                        android:layout_height="wrap_content"
                        android:orientation="horizontal">
                        <LinearLayout
                        android:orientation="horizontal"
                        >
                        <EditText
                            android:id="@+id/fragment_device_right_camera2_brand"
                            android:layout_width="wrap_content"
                            android:layout_height="wrap_content"
                            android:orientation="horizontal"
                            android:layout_weight="1"
                            >
                            <TextView
                                android:layout_width="wrap_content"
                                android:layout_height="wrap_content"
                                android:textSize="@dimen/text_size_big"
                                android:text="选择网络"
                                android:gravity="left"
                                android:layout_gravity="left"
                                android:textColor="@color/colorText_b"
                                />
                        </LinearLayout>
                    </LinearLayout>
                </LinearLayout>
                <LinearLayout
                    android:orientation="vertical"
                    android:layout_width="match_parent"
                    android:layout_height="wrap_content">
                    <LinearLayout
                        android:paddingTop="13dp"
                        android:paddingBottom="13dp"
                        android:gravity="center_horizontal"
                        android:layout_width="match_parent"
                        android:layout_height="wrap_content"
                        android:orientation="horizontal">
                        <LinearLayout
                            android:layout_width="wrap_content"
                            android:layout_height="wrap_content"
                            android:orientation="horizontal"
                            android:layout_weight="1"
                            >
                            <TextView
                                android:layout_width="wrap_content"
                                android:layout_height="wrap_content"
                                android:textSize="@dimen/text_size_big"
                                android:text="网络1"
                                android:gravity="left"
                                android:layout_gravity="left"
                                />
                        </LinearLayout>
                        <TextView
                            android:layout_width="wrap_content"
                            android:layout_height="wrap_content"
                            android:background="@drawable/u39"
                            android:background="@null"
                            android:layout_marginBottom="@dimen/h12dp"
                            android:text=""
                            android:hint="海康"
                            android:editable="false"
                            android:textColorHint="@color/colorText_b"
                            android:textSize="@dimen/w14dp"
                            android:textColor="@color/colorText_b"
                            />
                        <TextView
                            android:layout_width="10dp"
                            android:layout_height="wrap_content"
                            />
                        <TextView
                        <ImageView
                            android:layout_width="wrap_content"
                            android:layout_height="wrap_content"
                            android:background="@drawable/u41"
                            android:background="@drawable/u51"
                            android:id="@+id/fragment_device_right_camera2_brand_more"
                            android:layout_marginRight="@dimen/w15dp"
                            android:layout_alignParentRight="true"
                            />
                    </LinearLayout>
                    </RelativeLayout>
                    <View
                        android:layout_width="match_parent"
                        android:layout_height="@dimen/view_size_1"
                        android:background="@color/colorText_b"
                        android:layout_marginLeft="5dp"/>
                        android:background="@color/colorText_b"/>
                </LinearLayout>
                <LinearLayout
                    android:layout_width="@dimen/w611dp"
                    android:layout_height="wrap_content"
                    android:layout_marginTop="@dimen/h10dp"
                    android:orientation="vertical">
                    <TextView
                        android:layout_width="wrap_content"
                        android:layout_height="wrap_content"
                        android:textStyle="bold"
                        android:layout_marginTop="@dimen/h10dp"
                        android:textSize="@dimen/w14dp"
                        android:layout_marginBottom="@dimen/h6dp"
                        android:text="IP"
                        />
                    <EditText
                        android:id="@+id/fragment_device_right_camera2_ip"
                        android:layout_width="match_parent"
                        android:layout_height="wrap_content"
                        android:background="@null"
                        android:layout_marginBottom="@dimen/h12dp"
                        android:text=""
                        android:hint="000.000.0.0"
                        android:inputType="number"
                        android:digits="0123456789."
                        android:textColorHint="@color/colorText_b"
                        android:textSize="@dimen/w14dp"
                        android:textColor="@color/colorText_b"
                        />
                    <View
                        android:layout_width="match_parent"
                        android:layout_height="@dimen/view_size_1"
                        android:background="@color/colorText_b"/>
                </LinearLayout>
                <LinearLayout
                    android:layout_width="@dimen/w611dp"
                    android:layout_height="wrap_content"
                    android:layout_marginTop="@dimen/h10dp"
                    android:orientation="vertical">
                    <TextView
                        android:layout_width="wrap_content"
                        android:layout_height="wrap_content"
                        android:textStyle="bold"
                        android:layout_marginTop="@dimen/h10dp"
                        android:textSize="@dimen/w14dp"
                        android:layout_marginBottom="@dimen/h6dp"
                        android:text="端口"
                        />
                    <EditText
                        android:id="@+id/fragment_device_right_camera2_port"
                        android:layout_width="match_parent"
                        android:layout_height="wrap_content"
                        android:background="@null"
                        android:layout_marginBottom="@dimen/h12dp"
                        android:text=""
                        android:hint="000"
                        android:inputType="number"
                        android:digits="0123456789"
                        android:textSize="@dimen/w14dp"
                        android:textColorHint="@color/colorText_b"
                        android:textColor="@color/colorText_b"
                        />
                    <View
                        android:layout_width="match_parent"
                        android:layout_height="@dimen/view_size_1"
                        android:background="@color/colorText_b"/>
                </LinearLayout>
                <LinearLayout
                    android:layout_width="@dimen/w611dp"
                    android:layout_height="wrap_content"
                    android:layout_marginTop="@dimen/h10dp"
                    android:orientation="vertical">
                    <TextView
                        android:layout_width="wrap_content"
                        android:layout_height="wrap_content"
                        android:textStyle="bold"
                        android:layout_marginTop="@dimen/h10dp"
                        android:textSize="@dimen/w14dp"
                        android:layout_marginBottom="@dimen/h6dp"
                        android:text="分辨率"
                        />
                    <RelativeLayout
                        android:layout_width="match_parent"
                        android:layout_height="wrap_content"
                        android:orientation="horizontal"
                        >
                        <EditText
                            android:id="@+id/fragment_device_right_camera2_resolution"
                            android:layout_width="@dimen/w580dp"
                            android:layout_height="wrap_content"
                            android:background="@null"
                            android:layout_marginBottom="@dimen/h12dp"
                            android:text=""
                            android:hint="704*480"
                            android:textSize="@dimen/w14dp"
                            android:textColorHint="@color/colorText_b"
                            android:textColor="@color/colorText_b"
                            android:editable="false"
                            />
                        <ImageView
                            android:layout_width="wrap_content"
                            android:layout_height="wrap_content"
                            android:background="@drawable/u51"
                            android:id="@+id/fragment_device_right_camera2_resolution_more"
                            android:layout_marginRight="@dimen/w15dp"
                            android:layout_alignParentRight="true"
                            />
                    </RelativeLayout>
                    <View
                        android:layout_width="match_parent"
                        android:layout_height="@dimen/view_size_1"
                        android:background="@color/colorText_b"/>
                </LinearLayout>
                <LinearLayout
                    android:layout_width="@dimen/w611dp"
                    android:layout_height="wrap_content"
                    android:layout_marginTop="@dimen/h10dp"
                    android:orientation="vertical">
                    <TextView
                        android:layout_width="wrap_content"
                        android:layout_height="wrap_content"
                        android:textStyle="bold"
                        android:layout_marginTop="@dimen/h10dp"
                        android:textSize="@dimen/w14dp"
                        android:layout_marginBottom="@dimen/h6dp"
                        android:text="用户名"
                        />
                    <EditText
                        android:id="@+id/fragment_device_right_camera2_username"
                        android:layout_width="match_parent"
                        android:layout_height="wrap_content"
                        android:background="@null"
                        android:layout_marginBottom="@dimen/h12dp"
                        android:text=""
                        android:hint="admin"
                        android:textSize="@dimen/w14dp"
                        android:textColorHint="@color/colorText_b"
                        android:textColor="@color/colorText_b"
                        />
                    <View
                        android:layout_width="match_parent"
                        android:layout_height="@dimen/view_size_1"
                        android:background="@color/colorText_b"/>
                </LinearLayout>
                <LinearLayout
                    android:layout_width="@dimen/w611dp"
                    android:layout_height="wrap_content"
                    android:layout_marginTop="@dimen/h10dp"
                    android:orientation="vertical">
                    <TextView
                        android:layout_width="wrap_content"
                        android:layout_height="wrap_content"
                        android:textStyle="bold"
                        android:layout_marginTop="@dimen/h10dp"
                        android:textSize="@dimen/w14dp"
                        android:layout_marginBottom="@dimen/h6dp"
                        android:text="密码"
                        />
                    <EditText
                        android:id="@+id/fragment_device_right_camera2_password"
                        android:layout_width="match_parent"
                        android:layout_height="wrap_content"
                        android:background="@null"
                        android:layout_marginBottom="@dimen/h12dp"
                        android:text=""
                        android:hint="********"
                        android:textSize="@dimen/w14dp"
                        android:inputType="textPassword"
                        android:textColorHint="@color/colorText_b"
                        android:textColor="@color/colorText_b"
                        />
                    <View
                        android:layout_width="match_parent"
                        android:layout_height="@dimen/view_size_1"
                        android:background="@color/colorText_b"/>
                </LinearLayout>
            </LinearLayout>
        </LinearLayout>
    </ScrollView>
        </ScrollView>
    </LinearLayout>
</LinearLayout>