26 lines
684 B
Kotlin
26 lines
684 B
Kotlin
package at.mocode.server
|
|
|
|
import androidx.compose.animation.AnimatedVisibility
|
|
import androidx.compose.foundation.layout.Column
|
|
import androidx.compose.foundation.layout.fillMaxWidth
|
|
import androidx.compose.material.MaterialTheme
|
|
import androidx.compose.runtime.*
|
|
import androidx.compose.ui.Alignment
|
|
import androidx.compose.ui.Modifier
|
|
import org.jetbrains.compose.ui.tooling.preview.Preview
|
|
|
|
|
|
@Composable
|
|
@Preview
|
|
fun App() {
|
|
MaterialTheme {
|
|
var showContent by remember { mutableStateOf(false) }
|
|
Column(Modifier.fillMaxWidth(), horizontalAlignment = Alignment.CenterHorizontally) {
|
|
|
|
AnimatedVisibility(showContent) {
|
|
|
|
}
|
|
}
|
|
}
|
|
}
|