| | |
| | | <?xml version="1.0" encoding="utf-8"?> |
| | | <layout xmlns:android="http://schemas.android.com/apk/res/android" |
| | | xmlns:app="http://schemas.android.com/apk/res-auto"> |
| | | xmlns:app="http://schemas.android.com/apk/res-auto" |
| | | xmlns:tools="http://schemas.android.com/tools"> |
| | | |
| | | <data> |
| | | <variable |
| | |
| | | android:layout_height="@dimen/dp_40" |
| | | android:gravity="center_vertical" |
| | | > |
| | | <CheckBox |
| | | android:id="@+id/checkbox" |
| | | android:layout_width="18dp" |
| | | android:layout_height="18dp" |
| | | android:layout_marginStart="3dp" |
| | | android:layout_centerVertical="true" |
| | | android:button="@drawable/selector_checkbox" |
| | | android:background="?selectableItemBackgroundBorderless" |
| | | /> |
| | | <TextView |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | |
| | | android:textColor="@color/black" |
| | | android:text="@{bean.relationship}" |
| | | android:layout_weight="1" |
| | | tools:text="夫妻" |
| | | android:textStyle="bold" |
| | | /> |
| | | <TextView |
| | |
| | | android:layout_height="wrap_content" |
| | | android:textSize="@dimen/sp_16" |
| | | android:textColor="@color/black" |
| | | android:text="@{bean.idName}" |
| | | android:text="@{bean.associate}" |
| | | android:textStyle="bold" |
| | | android:layout_marginEnd="24dp" |
| | | android:layout_alignParentEnd="true" |
| | | android:layout_centerVertical="true" |
| | | tools:text="张三" |
| | | /> |
| | | </RelativeLayout> |
| | | <LinearLayout |
| | | android:id="@+id/layout_content" |
| | | android:layout_width="match_parent" |
| | | android:layout_height="wrap_content" |
| | | android:orientation="vertical" |
| | |
| | | <TextView |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:text="张氏公司" |
| | | android:text="@{bean.School}" |
| | | android:textColor="@color/black" |
| | | android:textSize="@dimen/sp_12" |
| | | android:textStyle="bold" |
| | |
| | | <TextView |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:text="经理" |
| | | android:text="@{bean.identity}" |
| | | android:textColor="@color/black" |
| | | android:textSize="@dimen/sp_12" |
| | | android:textStyle="bold" |
| | |
| | | <TextView |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:text="@{bean.politicalStatus}" |
| | | android:textColor="@color/black" |
| | | android:text="@{bean.politicalStatus}" |
| | | android:textSize="@dimen/sp_12" |
| | | android:textStyle="bold" |
| | | /> |