Android: Last line of textview cut off

后端 未结 20 1367
北荒
北荒 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:12

    After trying a million different things, I think I have the answer.

    I applied a LayoutGravity to the TextView item:

    android:layout_gravity="fill"
    

    Seems to solve all clipping issues I had. Hope this helps someone with the same problem.

提交回复
热议问题