loadinglayout icon indicating copy to clipboard operation
loadinglayout copied to clipboard

fragment 显示空白的补救措施~

Open luhaoaimama1 opened this issue 8 years ago • 0 comments

对于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) ···

luhaoaimama1 avatar Aug 27 '17 04:08 luhaoaimama1