android - ConstraintLayout views in top left corner -
every time create views button
, textview
in constraintlayout
, stuck @ top corner instead of placed them.
i tried create new activities , change emulator, result still same.
this screenshot of what's happening:
what may issue?
as stated in constraint layout guides:
if view has no constraints when run layout on device, drawn @ position [0,0] (the top-left corner).
you must add @ least 1 horizontal , 1 vertical constraint view.
i guess haven't applied constraints.
Comments
Post a Comment