loadinglayout
loadinglayout copied to clipboard
fragment 显示空白的补救措施~
对于fragment 不要直接替换他的child 会导致新的view高度为0 所以加一层在下面那层作怪~
··· <FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="match_parent">
<LinearLayout
android:id="@+id/ll_root"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">
//多加里一层framelayout LoadingLayout.wrap(llRoot) ···