I am using a new layout Constraintto create my layout. I needed to have Buttonone that takes up almost the entire width of the screen, and that was easy using restrictions.

As you can see in the image, I set the width to 0dp(Any size), but the text does not fit in the center, which is usually normal for the button text.
I tried: - set gravity to the center - set textAlignment to the center
It seems that these properties cannot work with width 0dp(any size).
So, I tried to set the width match_parentusing the gravitational center.

A little to the right.
Does anyone know how to fix this behavior?
Please note that I am using alpha4
compile 'com.android.support.constraint:constraint-layout:1.0.0-alpha4'
XML code
<android.support.constraint.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/content_login"
android:layout_width="match_parent"
android:layout_height="wrap_content"
tools:context="br.com.marmotex.ui.LoginActivityFragment"
tools:showIn="@layout/activity_login">
<Button
android:text="Log in"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:id="@+id/btLogin"
android:layout_marginTop="48dp"
app:layout_constraintTop_toBottomOf="@+id/textView6"
android:layout_marginEnd="16dp"
app:layout_constraintRight_toRightOf="@+id/content_login"
android:layout_marginRight="16dp"
android:layout_marginStart="16dp"
app:layout_constraintLeft_toLeftOf="@+id/content_login"
android:layout_marginLeft="16dp"
android:textColor="@android:color/white"
android:background="@color/BackgroundColor" />
</android.support.constraint.ConstraintLayout>
EDIT ConstraintLayout alpha4.
Google alpha5, .