Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
画像を横に並べるために、水平方向の線形レイアウトを使用しています。ただし、画面サイズが原因で画像が収まらない場合に、画像が自動的に次の行に移動する方法はありますか?
小さな画面(または小さな密度)で画像が切り捨てられたくないだけです ありがとう
RelativeLayout を使用し、画像のサイズとスペースに従ってコードを介して画像を並べ替えます。
また
GridLayout を拡張し、独自の実装を作成します。
これは LinearLayout ではそのままでは不可能です。