[英]How to create vertical dynamic listview?
I have to create 1 xml which contains我必须创建 1 个 xml 其中包含
TextView TextView TextView TextView TextView TextView
Pls help me with xml code请帮助我使用 xml 代码
Thanks谢谢
Use droiddraw
to create your application layout and generate xml file.使用
droiddraw
创建您的应用程序布局并生成 xml 文件。
To get source code of list view with image view click here要获取带有图像视图的列表视图的源代码, 请单击此处
You can use droiddraw to create XML.您可以使用 droiddraw 创建 XML。 You can download droiddraw from here Its very easy to use.
您可以从这里下载 droiddraw 它非常易于使用。
Thanks Deepak谢谢迪帕克
Use a relativelayout and position your children as you wish.根据需要使用相对布局和 position 您的孩子。 Using RelativeLayout is preferred while building complex layout.
在构建复杂布局时,首选使用 RelativeLayout。 This ViewGroup avoids unnecessary overhead xml structures, similiar to the old standard
这个 ViewGroup 避免了不必要的开销 xml 结构,类似于旧标准
<table>
in html.在 html 中。 Check out this tutorial: http://developer.android.com/resources/tutorials/views/hello-relativelayout.html
查看本教程: http://developer.android.com/resources/tutorials/views/hello-relativelayout.html
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.