[英]How to add latest goole play service android application in older version phone?
[英]My MainActivity lags while using android older versions (oreo for example) but works smoothly in the latest version , how to fix it?
我的 MainActivity 在使用 android 旧版本(例如奥利奥)时滞后/滚动不顺畅,但在最新版本中运行顺畅,我仅在主页上遇到这个问题,主要布局是协调器布局。
这很可能是兼容性问题。 确保您的所有项目结构都利用了 Android Jetpack 架构。
例如:使用AppCompatButton
而不是Button
使用LinearLayoutCompat
而不是LinearLayout
...等等。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.