@@ -0,0 +1,1241 @@
+package org.sufficientlysecure.htmltextview;%0A%0Aimport android.content.Context;%0Aimport android.graphics.drawable.Drawable;%0Aimport android.text.Html;%0Aimport android.util.Log;%0Aimport android.widget.TextView;%0A%0Aimport java.io.IOException;%0Aimport java.io.InputStream;%0A%0A/**%0A * Assets Image Getter%0A * %0A * Load image from assets folder%0A *%0A * @author %3Ca href=%22mailto:daniel@passos.me%22%3EDaniel Passos%3C/a%3E%0A */%0Apublic class HtmlAssetsImageGetter implements Html.ImageGetter %7B%0A%0A    private final Context context;%0A%0A    public HtmlAssetsImageGetter(Context context) %7B%0A        this.context = context;%0A    %7D%0A%0A    public HtmlAssetsImageGetter(TextView textView) %7B%0A        this.context = textView.getContext();%0A    %7D%0A%0A    @Override%0A    public Drawable getDrawable(String source) %7B%0A%0A        try %7B%0A            InputStream inputStream = context.getAssets().open(source);%0A            Drawable d = Drawable.createFromStream(inputStream, null);%0A            d.setBounds(0, 0, d.getIntrinsicWidth(), d.getIntrinsicHeight());%0A            return d;%0A        %7D catch (IOException e) %7B%0A            // prevent a crash if the resource still can't be found%0A            Log.e(HtmlTextView.TAG, %22source could not be found: %22 + source);%0A            return null;%0A        %7D%0A%0A    %7D%0A%0A%7D%0A

Add assets image getter