【发布时间】:2018-08-20 01:51:51
【问题描述】:
我有一个TextView,它在 2 Buttons 旁边显示一条错误消息。它们目前位于水平LinearLayout 内。问题是如果TextView 太宽,2 个Buttons 将被推离屏幕。在这些情况下是否可以将元素向下推?
如果文字很短,没有问题:
(Textview text) (Button1) (Button2)|(Edge of screen)
如果文本视图很长,我想将 2 个按钮向下按“行”
(Realllllllllllly long text that may|(Edge of screen)
span 2 lines)
(Button1) (Button2)|(Edge of screen)
【问题讨论】:
-
你可以通过这个runtime来实现。
标签: android