Hello everyone, I am a beginner (in fact, just sta...
# android
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?
not kotlin but kotlin colored 4
e
this Slack community is for Kotlin, and this channel is for Kotlin issues when working on Android. this is not the right place for general Android questions, see the channel topic.