Hello everyone, I am a beginner (in fact, just sta...
# android-studio
m
Hello everyone, I am a beginner (in fact, just started) and trying to use a custom shape and color (blue) for a material button; indeed the shape of the button changes, but the color remains default (purple) for the material button. Here is the code:
Copy code
<com.google.android.material.button.MaterialButton
    android:id="@+id/logScrLoginButton"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:background="@drawable/custom_shape_blue" />
can anyone help me override the color of the material button?
s