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.
私は 3 行と 3 列を持っています。画像を (1,1) の場所に配置し、垂直方向の場所を保持するために垂直方向にスパンしたいのですが、そうすることができますか?
android:layout_span="3" を追加して、3 列にまたがります。例えば:
<TableRow> <Button android:id="@+id/item_id" android:layout_span="3" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="item text" /> </TableRow>