Create gridlayout. [closed]
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 6 years ago . I need to create a layout like this: , I'm trying to do this using gridlayout, but it I cannot find the correct method. Can anyone please give me some guidance? Thanks! 回答1: I guess that the most straightforward way is combining horizontal and vertical LinearLayouts , setting different weights to its subviews.