react-native-netease-imui
Version:
react-native netease imui
80 lines (68 loc) • 3.01 kB
text/xml
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
style="@style/aurora_msgitem_receive_style">
<TextView
android:id="@+id/aurora_tv_msgitem_date"
style="@style/aurora_msgitem_date_style" />
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="4dp">
<cn.jiguang.imui.view.CircleImageView
android:id="@+id/aurora_iv_msgitem_avatar"
style="@style/aurora_msgitem_receiver_avatar_style"
android:visibility="gone" />
<TextView
android:id="@+id/aurora_tv_msgitem_display_name"
style="@style/aurora_msgitem_display_name_style"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_toRightOf="@id/aurora_iv_msgitem_avatar" />
<LinearLayout
android:layout_marginTop="@dimen/aurora_message_padding_top"
android:id="@+id/item_layout"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_margin="20dp"
android:background="@drawable/link_bg"
android:orientation="vertical">
<TextView
android:id="@+id/link_title"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="title" />
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="10dp"
android:orientation="horizontal">
<TextView
android:id="@+id/link_content"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_weight="1"
android:ellipsize="end"
android:lines="4" />
<ImageView
android:layout_width="64dp"
android:layout_height="64dp"
android:layout_marginRight="8dp"
android:src="@drawable/bank_transfer" />
</LinearLayout>
<View
android:layout_width="match_parent"
android:layout_height="1sp"
android:layout_marginLeft="10dp"
android:layout_marginRight="10dp"
android:layout_marginTop="10dp"
android:background="#e6e1e1" />
<TextView
android:padding="6dp"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center"
android:text="立即查看"
android:textSize="15sp" />
</LinearLayout>
</RelativeLayout>
</LinearLayout>