-
-
Save HugoMatilla/14584d4c1be2602b123c7712a6be70d8 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- res/styles.xml --> | |
<style name="Widget.MyApp.Button.MixedColors" parent="Widget.MaterialComponents.Button"> | |
<item name="android:textColor">?attr/colorPrimaryVariant</item> | |
<item name="backgroundTint">?attr/colorSecondary</item> | |
</style> | |
<!-- Layout --> | |
<Button | |
style="@style/Widget.MyApp.Button.MixedColors" | |
android:layout_width="wrap_content" | |
android:layout_height="wrap_content" | |
android:text="Customized Button" /> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment