开发者社区 问答 正文

关于Android 把PullToRefresh控件放在列表上面后 原来的列表被覆盖掉了

xml布局如图

   <com.handmark.pulltorefresh.library.PullToRefreshListView
        android:id="@+id/pull_refresh_list"
        android:layout_width="fill_parent"
        android:layout_height="fill_parent"
        android:orientation="vertical"
     />
    <ListView
        android:id="@+id/lvNews"
        android:layout_width="fill_parent"
        android:layout_height="fill_parent" >
    </ListView>

求解决方法 顺便求教PullToRefresh的使用

展开
收起
爵霸 2016-03-12 15:00:00 1917 分享 版权
1 条回答
写回答
取消 提交回答
  • 肯定覆盖啊,你的设置都是fill_parent,充满了父容器

    2019-07-17 19:00:56
    赞同 展开评论