写个xml做成上面那种布局,上面用户信息什么的应该从网络上读出来的吧,有个List吧应该,自己写个adapter在getView里用layoutInflater获取你的xml,用findviewbyid获取里面的控件,然后放数据就可以了。。
解决方案 »
- android4.0 (或android2.3)下, 如何设置系统默认Wallpaper?
- adb卡死
- android用图片代替xml里的数据
- 【咨询】想买一款便宜的Android手机,其版本Android是否可以升级?
- 移动开发者注意:Android4.0半数应用未适配,格局恐变
- Android入门该安装什么?
- android 如何设置 android:layout_width常量
- 如何防止android加载so库之后被系统回收
- 项目管理器下面的android2.2的
- ANR Cmd line: com.android.music
- 我在开发一个读新闻应用,有没android的例子能实现将文字变成声音的功能,最好能有现成的代码实现吗?
- 【求教帖】textview中文字的自定义下划线问题
可以参照这样的写法:
SimpleAdapter adapter = new SimpleAdapter(getActivity(), data2,R.layout.mainlist_item, new String[] { "img", "num",
"contract", }, new int[] { R.id.img, R.id.num,R.id.contract });