32 lines
928 B
Kotlin
32 lines
928 B
Kotlin
package org.opengamestudio
|
|
|
|
import androidx.compose.foundation.layout.*
|
|
import androidx.compose.material3.*
|
|
import androidx.compose.runtime.Composable
|
|
import androidx.compose.ui.*
|
|
import androidx.compose.ui.graphics.Color
|
|
import androidx.compose.ui.unit.dp
|
|
|
|
@Composable
|
|
fun BlueView() {
|
|
Column(
|
|
horizontalAlignment = Alignment.CenterHorizontally,
|
|
verticalArrangement = Arrangement.spacedBy(16.dp),
|
|
modifier = Modifier.padding(40.dp)
|
|
) {
|
|
Box(contentAlignment = Alignment.Center) {
|
|
Text(
|
|
text = "Blue",
|
|
style = MaterialTheme.typography.headlineLarge,
|
|
color = Color.White,
|
|
modifier = Modifier.offset(x = 1.dp, y = 1.dp)
|
|
)
|
|
Text(
|
|
text = "Blue",
|
|
style = MaterialTheme.typography.headlineLarge,
|
|
color = Color.Black
|
|
)
|
|
}
|
|
}
|
|
}
|