react-native-netease-imui
Version:
react-native netease imui
96 lines (80 loc) • 3.48 kB
text/xml
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
style="@style/aurora_msgitem_send_style">
<TextView
android:id="@+id/aurora_tv_msgitem_date"
style="@style/aurora_msgitem_date_style" />
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="5dp"
android:gravity="right"
android:orientation="horizontal">
<RelativeLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content">
<ImageButton
android:id="@+id/aurora_ib_msgitem_resend"
android:layout_width="20dp"
android:layout_height="20dp"
android:layout_gravity="center_vertical"
android:layout_marginRight="5dp"
android:background="@drawable/aurora_send_msg_error"
android:clickable="true"
android:scaleType="fitCenter"
android:visibility="gone" />
<ProgressBar
android:id="@+id/aurora_pb_msgitem_sending"
android:layout_width="20dp"
android:layout_height="20dp"
android:layout_gravity="center_vertical"
android:layout_marginRight="3dp"
android:visibility="visible" />
</RelativeLayout>
<LinearLayout
android:layout_marginRight="@dimen/aurora_avatar_padding"
android:background="@drawable/link_bg"
android:id="@+id/item_layout"
android:layout_width="match_parent"
android:layout_height="wrap_content"
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="48dp"
android:layout_height="48dp"
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>
<include layout="@layout/item_head_right"/>
</LinearLayout>
</LinearLayout>