Using Android Studio 3.4 Canary 9 and 10 ConstraintLayout 2.0.0.alpha3
I am having an issue with constraint layout in the bleeding edge build of Android Studio 3.4 canary 9. Basically, when you click on a view in constraint layout, say on a chain element, you should be able to see small icons appear that allow you to perform certain actions on the views.
As you can see, under each view are 3 buttons that allow you to change the chain settings. However, this is what I get in my layout editor on 3.4.C09 when clicking on an element in a chain:
Did they get disabled or moved elsewhere? Is this a bug? I have looked everywhere in the IDE without any luck, tried zooming in / zooming out, changing the theme, invalidating caches/restart, clean rebuild etc.
Thank you for any help provided!
UPDATE
Now you should see Circle Chain mode
option in right-click menu in Android Studio 3.6.
According to the official response, this function has been removed in AS3.4. But there seems to be no alternative. I have reported this problem to Goole and you can track here .
For now, you can add app:layout_constraintHorizontal_chainStyle
attr in xml manually. And after that Cycle chain mode
options will appeare in the right-click menu.
你正试图在单个按钮上连接苹果链...首先通过键盘上的Ctrl选择多个项目,如按钮,然后右键单击鼠标,你会在你的android工作室看到链启用
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.