android - MotionLayout:重新启动 onCreate() 时布局中包含的视图不可见
问题描述
首次启动屏幕后不显示包含的视图。
转载视频: https ://drive.google.com/open?id=1EzNe5kXHZ_91kycYsZ8RlcEDZwX3EEyv
主要布局: https ://gist.github.com/albka1986/9028905ece74d2e58d5fca7afd796732
场景: https ://gist.github.com/albka1986/f17a538980aa02001094df99eec775ba
版本:'androidx.constraintlayout:constraintlayout:2.0.0-alpha5'
解决方案
该错误已在“androidx.constraintlayout:constraintlayout:2.0.0-beta1”中修复。
现在我不能再复制它了。
推荐阅读
- javascript - 如何通过单击按钮在 jquery 中检索值?
- javascript - Bootstrap v4:单击选项卡导航项滚动到选项卡内容 div
- python - BeautifulSoup 返回无
- ldap - 在 redmine 上带有 starttls 的 LDAP
- java - 无法确定合适的驱动程序类
- image - 检测 RGB 图像中的对象 (MATLAB R2014a)
- excel - 如果我在带箭头的文本框中输入“V”,想要使用左函数突出显示该行
- javascript - 将firebase电话号码保存到本地存储变量
- php - 使用静态类成员作为超级全局变量的php线程安全
- apache-kafka - Kafka生产者表现不佳