Files
July/app/src/main/res/layout/allocation_item.xml
2020-08-25 10:08:00 +08:00

70 lines
2.2 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="75dp"
android:layout_marginTop="8dp"
android:orientation="horizontal"
android:background="#ffffff"
>
<RelativeLayout
android:id="@+id/rl_remove"
android:layout_width="40dp"
android:layout_height="40dp"
android:layout_gravity="center_vertical"
android:gravity="center"
>
<ImageView
android:id="@+id/select_iv"
android:layout_width="20dp"
android:layout_height="20dp"
android:src="@mipmap/icon_cheched_true" />
</RelativeLayout>
<RelativeLayout
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_weight="1">
<com.fenghoo.seven.widget.CircleImageView
android:id="@+id/iv_default_image"
android:layout_width="55dp"
android:layout_height="70dp"
android:layout_centerVertical="true"
android:layout_centerHorizontal="true"
android:src="@mipmap/icon_default_head">
</com.fenghoo.seven.widget.CircleImageView>
</RelativeLayout>
<RelativeLayout
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_weight="2"
android:layout_marginLeft="10dp">
<TextView
android:id="@+id/tv_into_time_value"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textSize="12sp"
android:layout_marginTop="16dp"
android:textColor="#333333"
android:text="2017-12-25 10:50" />
<TextView
android:layout_width="52.5dp"
android:layout_height="13.5dp"
android:text="已分配2次"
android:layout_marginTop="9dp"
android:background="@drawable/shape_allocation_tv"
android:layout_below="@+id/tv_into_time_value"
android:textColor="#ffffffff"
android:textSize="10sp"
/>
</RelativeLayout>
</LinearLayout>