item_fafang.xml
1.5 KB
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical" android:layout_width="match_parent"
android:layout_height="match_parent">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="@dimen/dp_44"
android:background="#FFF3E0"
android:layout_marginLeft="@dimen/dp_16"
android:layout_marginRight="@dimen/dp_16"
android:orientation="horizontal">
<TextView
android:id="@+id/content_tv"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:maxLines="1"
android:maxWidth="@dimen/dp_285"
android:layout_gravity="center"
android:textColor="#F57F17"
android:layout_marginLeft="@dimen/dp_16"
android:textSize="@dimen/sp_14"
android:ellipsize="end"
android:text="您有学生达到“喜报”的发放评价标准了,赶快…"/>
<View
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_weight="1"/>
<ImageView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@mipmap/icon_fafang_cheng"
android:layout_gravity="center"
android:layout_marginRight="@dimen/dp_16"/>
</LinearLayout>
</LinearLayout>