I want View cover Button when View's parent layout is ConstraintLayout,but It's not the result I expect
问题 Here's the code inner file activity_main.xml: <?xml version="1.0" encoding="utf-8"?> <android.support.constraint.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" android:layout_width="match_parent" android:layout_height="match_parent"> <Button android:id="@+id/button" android:layout_width="0dp" android:layout_height="wrap_content" android:text="start" app:layout_constraintEnd_toEndOf="parent" app:layout