先是显示主体布局的页面
[code]
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
>
<ListView android:id="@+id/mainListView"
android:layout_width="fill_parent"
android:layout_height="match_parent"
/>
</RelativeLayout>
[/code]
[code]
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
>
<ListView android:id="@+id/mainListView"
android:layout_width="fill_parent"
android:layout_height="match_parent"
/>
</RelativeLayout>
[/code]
解决方案 »
- Android客户端如何保持接收的图片?
- android activity 启动dialog 需求让activity 显示为透明色
- android游戏开发关于fash
- 关于android源码模块编译的问题
- android的一些问题
- 在程序运行过程中能不能隐藏标题栏?
- 给弹出框的确定按钮添加监听器
- 在手机浏览器中获取GPS坐标准确吗?
- activity生命周期问题,两个activity之间跳转的onstop和ondestroy
- 请教,为何从桌面悬浮窗service启动activity要等待3秒钟?
- 如何获得listview中的一个Item的view.
- 关于android mediaplay的调用问题
http://blog.csdn.net/xys289187120/article/details/6636139