Skip to content

在ConstraintLayout 为啥始终都是居中的? #52

@csh159

Description

@csh159

这么写,是居中的,并没有距离顶部0.3的位置
<com.github.nukc.stateview.StateView
android:id="@+id/stateview"
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintRight_toRightOf="parent"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintVertical_bias="0.3"
android:layout_width="wrap_content"
android:layout_height="wrap_content"/>

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