Small improvement

pull/174/head
M66B 5 years ago
parent fe37d7f26b
commit 0dbcc687cc

@ -277,6 +277,7 @@ public class ActivitySignature extends ActivityBase {
ImageSpan is = new ImageSpan(getDrawableByUri(this, uri), uri.toString(), ImageSpan.ALIGN_BASELINE);
ssb.setSpan(is, start, start + 1, Spanned.SPAN_EXCLUSIVE_EXCLUSIVE);
etText.setText(ssb);
etText.setSelection(start + 1);
}
static Drawable getDrawableByUri(Context context, Uri uri) {

Loading…
Cancel
Save