In the latest version of the constraint layout, Beta 5 throws an exception using match_parent:
android.view.InflateException: Binary XML file line #12: MATCH_PARENT is not supported in ConstraintLayout
As explained in the release note:
"(...) his behavior is undefined. To reduce the risk of errors, we now throw an exception if we encounter this." - source
They suggested that the correct use would be to use 0dp (MATCH_CONSTRAINT), but since I have a Drawer layout inside my constraint layout, setting the width to 0dp throws "DrawerLayout error must be measured with MeasureSpec.EXACTLY error".
So my question is, how can I suppress the error "MATCH_PARENT is not supported in ConstraintLayout"?
source share