Bino
04/06/2022, 11:46 AMbackgroundTint
be translated to compose buttons?Chris Sinco [G]
04/06/2022, 3:58 PMcolors
param that you can modify to whatever you want, including passing colors that are mixed (using the available Colors graphics APIs).Bino
04/06/2022, 4:16 PM<item name="styleButtonActionPrimaryCaution">@style/Button.Action.Primary.Caution</item>
<style name="Button.Action.Primary.Caution">
<item name="backgroundTint">@color/selector_color_caution</item>
But in compose a Button only has a backgroundColor
which has a alpha=1.00
So I only could set a tranparency myself to the background color, but thats probably not the right solutionChris Sinco [G]
04/06/2022, 5:04 PM