fragment+ViewPager+listview更新显示与更新问题 本帖最后由 homg92 于 2014-09-25 13:07:25 编辑 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 看你emptyview和listview是怎么布局的,会不会是因为你的emptyview把listview给覆盖了 是的,确定。只执行了getcount。 <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="match_parent" android:background="@color/content_bg" > <ListView android:id="@+idlistview" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_margin="10dp" /> <TextView android:id="@+id/list_empty_tv" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_gravity="center" android:text="@string/remind_listview_empty" android:textSize="15sp" android:visibility="gone" /></RelativeLayout> android 颜色定义问题 JAVA是不是有一些通用的架构方法? Android 中文 API (100) —— ScrollView 请教下关于界面布局的问题 android支持多点触屏吗? 问一下Android的APK文件执行时,文件会解压到什么地方去 求问怎么在安卓开发中通过一个按钮调出系统自带闹钟界面? 请问关于listview显示的问题 遇到瓶颈了,各位大神帮帮忙 怎样在执行onPause()之前,显示toast信息? 手写输入法如何监控 点击一键清理后, 看应用管理,某些服务显示(正在重新启动),而有些不受一件清理影响怎么回事?
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@color/content_bg" > <ListView
android:id="@+idlistview"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:layout_margin="10dp" /> <TextView
android:id="@+id/list_empty_tv"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:text="@string/remind_listview_empty"
android:textSize="15sp"
android:visibility="gone" /></RelativeLayout>