gpt4 book ai didi

带有应用程序包的 Android MotionLayout 无法正常工作

转载 作者:行者123 更新时间:2023-11-29 23:28:03 29 4
gpt4 key购买 nike

我有简单的project与运动布局。有一个使用 setProgress() 方法更改 MotionLayout 状态的搜索栏。

当我部署默认 APK 时,一切正常, subview 移动。如果我使用“来自应用程序包的 APK”部署,MotionLayout 不起作用( subview 不移动),就像它错过了 layoutDescription。

enter image description here

示例项目 here .

MotionLayout 版本:

'com.android.support.constraint:constraint-layout:2.0.0-alpha2'

最佳答案

这将在 ConstraintLayout alpha 3 中得到修复:https://twitter.com/johnhoford/status/1061001715481079808

关于带有应用程序包的 Android MotionLayout 无法正常工作,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/53168571/

29 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com