<?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="@dimen/h120"
|
android:background="@drawable/bg_write_border">
|
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="@dimen/h80"
|
android:orientation="horizontal">
|
|
<TextView
|
android:id="@+id/deviceIp"
|
style="@style/setting_text"
|
android:layout_width="0dp"
|
android:layout_height="match_parent"
|
android:layout_weight="1.3"
|
android:gravity="center"
|
android:text="" />
|
<TextView
|
android:id="@+id/deviceName"
|
style="@style/setting_text"
|
android:layout_width="0dp"
|
android:layout_height="match_parent"
|
android:layout_weight="1"
|
android:gravity="center"
|
android:text="" />
|
<LinearLayout
|
android:layout_width="0dp"
|
android:layout_height="match_parent"
|
android:layout_weight="2"
|
android:gravity="center">
|
<CheckBox
|
android:id="@+id/valid"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:text="启用"
|
android:button="@drawable/check_box_selector" />
|
|
<ImageView
|
android:id="@+id/deleteOfficeDeviceItem"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_marginLeft="@dimen/w25"
|
android:background="@drawable/icon_delete" />
|
</LinearLayout>
|
|
|
</LinearLayout>
|
|
|
</RelativeLayout>
|