如何调整两个 textview 并排的大小和使用 50%的屏幕的宽度

如题所述

放在LinearLayout布局中,设置android:orientation="horizontal",然后每个TextView的android:layout_width="0dp", android:layout_weight="1",,就会各占屏幕宽度的50%
温馨提示:答案为网友推荐,仅供参考