textview前面如果有标签,就缩进,然后又关键字就标红,用正则表达式判断如果有效表情,就显示小表情,如果textview过长,就收缩(提供思路)
效果如下:
1.
2.
3.
xml(部分):
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_below="@+id/xxx_reply_title" >
<ImageView
android:id="@+id/xxx_reply_img"
android:layout_width="20dp"
android:layout_height="20dp"
android:layout_alignBottom="@+id/xxx_reply_detail"
android:layout_alignParentRight="true"
android:layout_gravity="right"
android:layout_marginRight="10dp"
android:background=