skip to Main Content

Android Studio – @style/Widget.Material3.Button causing render problem

When I'm applying style to my button @style/Widget.Material3.Button then it is making the whole layout design disappear and the layout is not visible anymore. Here is my XML Code. <Button style="@style/Widget.Material3.Button" android:id="@+id/button" android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_marginStart="60dp" android:layout_marginTop="16dp" android:layout_marginEnd="60dp" android:text="Text" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toStartOf="parent"…

VIEW QUESTION
Back To Top
Search