我想将View的左侧和右侧约束到它的父视图的边距,并使其填充分配的空间.但是,将宽度设置为match_parent或者wrap_content似乎产生相同的结果.
match_parent
wrap_content
有没有相当于match_constraints的东西(而不是match_parent和wrap_content)?难道match_parent和wrap_content影响布局还是他们在新的约束布局忽略?
爱我最喜欢的平台的新布局系统!
android android-constraintlayout
android ×1
android-constraintlayout ×1