SwipeToLoadLayout设置高度为wrap_content但是仍然充满父布局,留下一大段空白
ShshyDevooo opened this issue · comments
DevShShY commented
SwipeToLoadLayout设置高度为wrap_content但是仍然充满父布局,留下一大段空白
DevShShY commented
<com.aspsine.swipetoloadlayout.SwipeToLoadLayout
android:id="@+id/swipelayout"
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:load_more_enabled="true"
app:refresh_enabled="false"
app:swipe_style="above">
<android.support.v7.widget.RecyclerView
android:id="@id/swipe_target"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@drawable/bg_table"></android.support.v7.widget.RecyclerView>
<include
android:id="@id/swipe_load_more_footer"
layout="@layout/layout_google_hook_footer"/>
</com.aspsine.swipetoloadlayout.SwipeToLoadLayout>
这个是我写的布局文件,请问是我这边写的有问题还是都存在这个问题呢?
Simon1121 commented
我也是这样,估计是只能match_parent