有没有办法在水平线性布局中包装图像按钮?或者还有其他方法可以做以下事情吗?
我有六个图像按钮.假设这些按钮出现在中等分辨率设备中,如下所示:
Image button 1 | Image button 2 | Image button 3 | (1st row)
Image button 4 | Image button 5 | Image button 6 | (2nd row)
Run Code Online (Sandbox Code Playgroud)
我希望这些按钮出现在平板电脑或任何高分辨率设备中,如下所示:
Image button 1 | Image button 2 | Image button 3 | Image button 4 | (1st row)
Image button 5 | Image button 6 | (2nd row)
Run Code Online (Sandbox Code Playgroud)
或者像这样:
Image button 1 | Image button 2 | Image button 3 | Image button 4 | Image button 5 | …Run Code Online (Sandbox Code Playgroud)