mirror of
https://gitlab.com/android_translation_layer/android_translation_layer.git
synced 2025-04-29 04:37:58 +03:00
TextView: relayout after setText()
This is necessary, when TextViews are recycled by RecyclerView
This commit is contained in:
parent
7b952c4336
commit
77403170d2
1 changed files with 1 additions and 0 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue