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

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

@luhaoaimama1

Description

@luhaoaimama1

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions