Inside screen's layout I'm trying yo implement MaterialButton from new Material Components with rounded corners
<android.support.design.button.MaterialButton
android:text="@string/login"
android:id="@+id/btnEntrance"
app:layout_constraintStart_toStartOf="parent"
android:layout_marginStart="104dp"
style="@style/Widget.MaterialComponents.Button.UnelevatedButton"
android:layout_height="40dp"
app:cornerRadius="8dp"/>
But on preview screen rounded corners are not visible - this attribute doen't bring any effect on view. Can anybody explain me why?
