【问题标题】:Android Instant App + ConstraintLayout Group not workingAndroid Instant App + ConstraintLayout Group 不起作用
【发布时间】:2018-11-28 09:43:58
【问题描述】:

我在我的androidx.constraintlayout.widget.ConstraintLayout 中使用androidx.constraintlayout.widget.Group 来设置整个组的visibility

这适用于普通应用程序,但一旦我运行与 Instant 应用程序相同的代码,它就会中断并且visibility 不会被应用。

Logcat 为我添加到组中的每个视图发布类似 W/ConstraintHelper: Could not find id of "divider" 的错误。


是否有任何已知的错误/解决方法?

【问题讨论】:

标签: android android-constraintlayout android-instant-apps


【解决方案1】:

似乎有一个解决方法:https://stackoverflow.com/a/54961700/2170109

感谢@TWL 指向它。

PS:自从我开始作曲后,我没有测试它。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2023-03-25
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2019-02-20
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多