ConstraintLayout的定位不起作用

huangapple go评论53阅读模式
英文:

ConstraintLayout positioning doesn’t work

问题

当我将一个项目拖入Android Studio中的ConstraintLayout中时,它会直接放在布局的顶部,直到我为其添加约束之前,我无法移动它。我想要在设计时启用位置调整。

这是我想要的效果:

ConstraintLayout的定位不起作用

当我在ConstraintLayout中添加一个项目时,它总是默认放在顶部的位置:

ConstraintLayout的定位不起作用

我已经到处搜索,但找不到任何解决方案。欢迎任何帮助。

英文:

When I drag an item into a ConstraintLayout in Android Studio, it goes directly to the top of the layout and I can't move it until I put the constraints on it. I want to turn on design time position.

This is what I want:

ConstraintLayout的定位不起作用

When I add an item inside constraint layout, there is always a default location in the top:

ConstraintLayout的定位不起作用

I searched everywhere and I couldn’t find any solution. Any help is welcome.

答案1

得分: 0

你必须将你的电脑区域格式更改为英语。

英文:

You have to change your pc region format to English
see

huangapple
  • 本文由 发表于 2023年7月3日 15:01:04
  • 转载请务必保留本文链接:https://go.coder-hub.com/76602510.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定