I am trying to create a Sign Up page in the latest Android Studio Arctic. So I am trying to customize and style the buttons using Button Class, but no observable changes were made, until I used AppCompatButton, and all the styles and customization for the button were implemented. I want an elaboration between the two Views and why I could not make the changes using Button Class. Thanks.
These are the codes for AppCompatButton and Button
<androidx.appcompat.widget.AppCompatButton
android:id="@+id/sign_up_text"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_margin="5dp"
android:background="@drawable/button_border_signin"
android:elevation="0dp"
android:text="Sign Up"
android:textColor="#e0e0e0e0"
android:textStyle="bold" />
Button
<Button
android:id="@+id/sign_up_text"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_margin="5dp"
android:background="@drawable/button_border_signin"
android:elevation="0dp"
android:text="Sign Up"
android:textColor="#e0e0e0e0"
android:textStyle="bold" />