@@ -0,0 +1,1319 @@
+package com.chinalwb.are;%0A%0Aimport android.content.Context;%0Aimport android.support.annotation.Nullable;%0Aimport android.support.v7.widget.AppCompatTextView;%0Aimport android.text.Spanned;%0Aimport android.util.AttributeSet;%0A%0Aimport com.chinalwb.are.android.inner.Html;%0Aimport com.chinalwb.are.render.AreImageGetter;%0Aimport com.chinalwb.are.render.AreTagHandler;%0A%0A/**%0A * @author dlink%0A * @email linxy59@mail2.sysu.edu.cn%0A * @date 2018/5/20%0A * @discription null%0A * @usage null%0A */%0Apublic class ARETextView extends AppCompatTextView %7B%0A    Context mContext;%0A%0A    public ARETextView(Context context) %7B%0A        super(context);%0A        mContext = context;%0A    %7D%0A%0A    public ARETextView(Context context, @Nullable AttributeSet attrs) %7B%0A        super(context, attrs);%0A        mContext = context;%0A    %7D%0A%0A    public ARETextView(Context context, @Nullable AttributeSet attrs, int defStyleAttr) %7B%0A        super(context, attrs, defStyleAttr);%0A        mContext = context;%0A    %7D%0A%0A    public void fromHtml(String html) %7B%0A        Html.sContext = mContext;%0A        Html.ImageGetter imageGetter = new AreImageGetter(mContext, this);%0A        Html.TagHandler tagHandler = new AreTagHandler();%0A        Spanned spanned = Html.fromHtml(html, Html.FROM_HTML_SEPARATOR_LINE_BREAK_PARAGRAPH, imageGetter, tagHandler);%0A        setText(spanned);%0A    %7D%0A%0A%7D%0A

add ARETextView