https://kotlinlang.org logo
#compose
Title
# compose
r

redrield

11/05/2020, 8:12 PM
Is there a way to disable a
FloatingActionButton
that I'm missing? cause the only solution i can seem to find is just copying the declaration from compose and adding a new parameter
r

Rudolf Tammekivi

11/05/2020, 8:17 PM
ProvideEmphasis maybe? I have not tried, just a guess
s

Siyamed

11/05/2020, 8:19 PM
Is it the textfield or selection buttons? If so currently not possible
I mean there is no api, dont know if possible :)
a

Andrey Kulikov

11/05/2020, 9:11 PM
according to the material design specification it is not recommended to display the disabled FABs, instead it is expected to just hide them. because of this recommendation we intentionally didn't add enabled param
s

Siyamed

11/06/2020, 6:36 PM
I was confused between FloatingActionButton and FloatingActionToolbar (Button)
6 Views