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>