You've already forked android_translation_layer
mirror of
https://gitlab.com/android_translation_layer/android_translation_layer.git
synced 2025-10-27 11:48:10 -07:00
TextView: relayout after setText()
This is necessary, when TextViews are recycled by RecyclerView
This commit is contained in:
@@ -63,6 +63,7 @@ public class TextView extends View {
|
||||
|
||||
if (text instanceof android.text.Spanned)
|
||||
native_set_markup(1);
|
||||
requestLayout();
|
||||
}
|
||||
|
||||
public void setText(int resId) {
|
||||
|
||||
Reference in New Issue
Block a user