我应该在android中使用哪种布局?

时间:2020-11-02 19:40:58

标签: android android-layout

我制作了一个用于提高听力技能的应用程序。我想放置几个EditText像这样: enter image description here

当我输入某些单词时,我希望放在右侧的其他单词会像下面这样排成一行: enter image description here

最终,如果EditBox到达屏幕边框,我希望他可以像这样用多行编辑属性来换行:

enter image description here

我的问题是应该使用哪种布局以及如何做得更好。我需要任何想法。谢谢。

1 个答案:

答案 0 :(得分:0)

尝试使用弹性框布局:https://github.com/google/flexbox-layout。这是Google的官方图书馆。