Skip to content
This repository has been archived by the owner on Mar 9, 2021. It is now read-only.

fragment 显示空白的补救措施~ #11

Open
luhaoaimama1 opened this issue Aug 27, 2017 · 0 comments
Open

fragment 显示空白的补救措施~ #11

luhaoaimama1 opened this issue Aug 27, 2017 · 0 comments

Comments

@luhaoaimama1
Copy link

对于fragment 不要直接替换他的child 会导致新的view高度为0 所以加一层在下面那层作怪~

···

<LinearLayout
    android:id="@+id/ll_root"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:orientation="vertical">

//多加里一层framelayout
LoadingLayout.wrap(llRoot)
···

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant