val gradient = horizontalGradient(
listOf(ColorShallowBlue, ColorWhite),
startX = 00.0f,
endX = Float.POSITIVE_INFINITY,
// tileMode = TileMode.Repeated
)
Box(modifier = Modifier
.fillMaxWidth()
.background(
brush = gradient,
shape = RoundedCornerShape(radius)
)
) {
'Android Dev > Compose' 카테고리의 다른 글
OutlinedTextField - trials (0) | 2021.12.07 |
---|---|
Compose - Text Trial / OutlinedTextField / Keyboard (0) | 2021.12.07 |
activity/fragment에서 Compose 호출 (0) | 2021.12.06 |
Compose - LazyColumn Flickering Issue or non data(Firebase flow) 플리커링 혹은 데이터없음 문제해결 (0) | 2021.09.05 |
Compose - LazyColumn + Counting Method + Firebase + Flow 예제 (0) | 2021.09.04 |