| | |
| | | <androidx.cardview.widget.CardView |
| | | android:id="@+id/cardView" |
| | | android:layout_width="match_parent" |
| | | android:layout_height="wrap_content" |
| | | android:layout_margin="@dimen/dp_2" |
| | | android:layout_height="40dp" |
| | | android:layout_margin="2dp" |
| | | tools:layout_height="wrap_content" |
| | | app:cardCornerRadius="@dimen/dp_10" |
| | | app:cardBackgroundColor="@color/color_card_pink" |
| | | > |
| | |
| | | <RelativeLayout |
| | | android:id="@+id/layout_title" |
| | | android:layout_width="match_parent" |
| | | android:layout_height="@dimen/dp_40" |
| | | android:gravity="center_vertical|center_horizontal" |
| | | android:layout_height="40dp" |
| | | > |
| | | <TextView |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:layout_centerVertical="true" |
| | | android:layout_gravity="center" |
| | | android:textSize="@dimen/sp_16" |
| | | android:layout_centerInParent="true" |
| | | android:text="@{bean.myName+` 的 通 讯 录`}" |
| | | android:textColor="@color/black" |
| | | android:gravity="center" |
| | | android:textStyle="bold" |
| | | tools:text="张三的通讯录" |
| | | android:textSize="16sp" |
| | | tools:text="张三 的 通 讯 录" /> |
| | | <ImageView |
| | | android:id="@+id/iv_fold" |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:background="@drawable/ic_fold" |
| | | android:layout_marginEnd="10dp" |
| | | android:layout_alignParentRight="true" |
| | | android:layout_centerVertical="true" |
| | | /> |
| | | |
| | | |
| | | </RelativeLayout> |
| | | <LinearLayout |
| | | android:id="@+id/layout_content" |
| | | android:layout_width="match_parent" |
| | | android:layout_height="wrap_content" |
| | | android:orientation="vertical" |
| | | android:paddingHorizontal="@dimen/dp_24" |
| | | android:layout_marginBottom="20dp" |
| | | > |
| | | <LinearLayout |
| | | <androidx.recyclerview.widget.RecyclerView |
| | | android:id="@+id/recyclerView" |
| | | android:layout_width="match_parent" |
| | | android:layout_height="wrap_content" |
| | | android:orientation="horizontal" |
| | | android:layout_marginBottom="@dimen/dp_6" |
| | | > |
| | | <TextView |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:text="张二" |
| | | android:textColor="@color/black" |
| | | android:textSize="@dimen/sp_14" |
| | | android:textStyle="bold" |
| | | /> |
| | | |
| | | </LinearLayout> |
| | | <LinearLayout |
| | | android:layout_width="match_parent" |
| | | android:layout_height="wrap_content" |
| | | android:orientation="horizontal" |
| | | android:layout_marginBottom="@dimen/dp_6" |
| | | > |
| | | <TextView |
| | | android:layout_width="0dp" |
| | | android:layout_height="wrap_content" |
| | | android:text="父亲" |
| | | android:textColor="#80000000" |
| | | android:textSize="@dimen/sp_12" |
| | | android:layout_weight="1" |
| | | |
| | | /> |
| | | <TextView |
| | | android:layout_width="0dp" |
| | | android:layout_height="wrap_content" |
| | | android:text="张氏公司" |
| | | android:textColor="#80000000" |
| | | android:textSize="@dimen/sp_12" |
| | | android:layout_weight="1" |
| | | |
| | | /> |
| | | <TextView |
| | | android:layout_width="0dp" |
| | | android:layout_height="wrap_content" |
| | | android:text="12345678901" |
| | | android:textColor="#80000000" |
| | | android:textSize="@dimen/sp_12" |
| | | android:layout_weight="1" |
| | | |
| | | /> |
| | | </LinearLayout> |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | android:layout_marginHorizontal="25dp" |
| | | tools:listitem="@layout/item_contacts_detail" |
| | | /> |
| | | </LinearLayout> |
| | | </LinearLayout> |
| | | |