Android: Last line of textview cut off

后端 未结 20 1381
北荒
北荒 2020-11-28 02:46

I have a horizontal LinearLayout containing a TextView followed by a Spinner next to it. This LinearLayout is dynamically

20条回答
  •  南笙
    南笙 (楼主)
    2020-11-28 03:28

    I have this same problem, and its very annoying.

    It only happens with Arabic text.

    If you make the label multi-line and adding a \n at the end of your string, it would fix it, but the problem is that there would be a big gap between this label and the object below it, due to the fact that this field now has a new empty line below it.

    A custom control can be done to get around that. But overall, this is an annoying bug.

提交回复
热议问题