【发布时间】:2017-02-02 17:27:19
【问题描述】:
在新的Android Studio 2.2 中引入了约束布局,我已经搜索并阅读了这个新的布局here 和here。在this link 中,我读到了约束和相对布局之间的差异,但仍然存在一些问题:
- 我们能否将
RelativeLayout完全替换为ConstraintLayout,如here 所述? - 旧版本的设备能支持
ConstraintLayout吗? - 要使用
ConstraintLayout设计应用程序,我们必须更新到 Android Studio 2.2? - 使用
ConstraintLayout我们不需要为所有屏幕分辨率编写许多dimens.xml 来获得响应式应用程序吗?
【问题讨论】:
标签: android android-layout android-studio-2.2 android-constraintlayout