I have an ImageView
in my TableRow
that needs to have a rowSpan. However, I only found tutorials to do this with XML.
Like this one here:
Is it even possible to do rowspan with TableLayout
or do I have to use GridLayout
?
您可以使用ImageView.setLayoutParams(LayoutParams)方法更改ImageView的高度和宽度等。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.