简体   繁体   English

android的linearlayouts滚动视图

[英]android scroll view of linearlayouts

I would like to ask if doing like this is possible on android: Scrollview of layouts, and each layout in horizontal orientation contains button, another button, and a checkbox. 我想问一下是否可以在android上执行以下操作:Scrollview布局,并且每个水平方向的布局都包含一个按钮,另一个按钮和一个复选框。

For example: 例如:

     button1, button2, checkbox
     button1, button2, checkbox
     .........
     button1, button2, checkbox

Try using a ListView with a SimpleAdapter . 尝试将ListViewSimpleAdapter一起使用。

The SimpleAdapter allows you to specify a layout for each row in the ListView . SimpleAdapter允许您为ListView每一行指定layout

This site has a simple example. 这个站点有一个简单的例子。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM