Zia*_*man 6 layout android constraints android-studio
我在android studio的大多数UI中使用约束布局,但在图形编辑器中设计它非常慢.应用约束非常慢.
我的笔记本电脑很好.i7第5代16 gb ram和500 ssd.我认为应该没有性能限制.问题出在android studio中.如何提高图形编辑器的性能.请帮忙.
使用图形编辑器时,CPU使用率也高达50%.
要提高性能,有三点需要注意:
增加Android Studio的VM堆大小:https://developer.android.com/studio/intro/studio-config.html#adjusting_heap_size
将设计图面切换为仅蓝图模式:https://developer.android.com/studio/write/layout-editor.html#change-appearance
确保使用最新版本的Constraint Layout库v1.0.2:https://androidstudio.googleblog.com/2017/03/constraintlayout-102-is-now-available.html
| 归档时间: |
|
| 查看次数: |
1106 次 |
| 最近记录: |