4 つの TextView でレイアウトを作成する必要があります。
最初の TextView は画面の左境界に配置され、2 番目の TextView はサイズが異なる場合があり、3 番目の TextView は 2 番目の textView の後に配置され、4 番目の TextView は画面の右境界に配置されます。
2 番目の TextView が短い場合、3 番目の TextView の後に次のような空白が追加されます。
[TextView1 TextView2 TextView3 (free space) TextView4]
2 番目の TextView が長い場合は、最後に ... を付けて省略します。
[TextView1 VeryLooooooongTexVi... TextView3 TextView4]
このレイアウトをxmlで書くにはどうすればよいですか? LinearLayout を使用する必要がありますか、それとも TableLayout の方が優れていますか? 例を挙げていただけますか?