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

Grigorii Yurkov

10/24/2020, 5:02 PM
Does
View.INVISIBLE
analog exist?
a

alorma

10/24/2020, 5:08 PM
Just don't place the composable there, use Spacer instead
g

Grigorii Yurkov

10/24/2020, 5:10 PM
How I supposed to make Spacer exact the same width and height as component that I want to make invisible
s

Se7eN

10/24/2020, 6:07 PM
There is
Modifier.drawOpacity
👍 1
m

Mihai Hrincescu

10/24/2020, 6:24 PM
You can use
Modifier.drawLayer(alpha = 0f)
does the same thing as the old
View.INVIZIBLE
.
👍 1
2 Views