Android splash: name above Fieri, ESCAPE FROM FLAVORTOWN below

e6f490a · Gabriel Morell · 2026-10-29 01:24

11 files +11 -3

Files changed

modified android/app/src/main/java/org/neiam/fieri/app/ui/Splash.kt
+11 −3
@@ -17,6 +17,7 @@ import androidx.compose.ui.layout.ContentScale
17 17 import androidx.compose.ui.res.painterResource
18 18 import androidx.compose.ui.res.stringResource
19 19 import androidx.compose.ui.text.font.FontWeight
20 +import androidx.compose.ui.text.style.TextAlign
20 21 import androidx.compose.ui.unit.dp
21 22 import kotlinx.coroutines.delay
22 23 import org.neiam.fieri.app.R
@@ -41,6 +42,13 @@ fun Splash(onDone: () -> Unit) {
41 42 verticalArrangement = Arrangement.Center,
42 43 horizontalAlignment = Alignment.CenterHorizontally,
43 44 ) {
45 + Text(
46 + stringResource(R.string.app_name),
47 + style = MaterialTheme.typography.headlineMedium,
48 + fontWeight = FontWeight.Bold,
49 + color = MaterialTheme.colorScheme.primary,
50 + )
51 + Spacer(Modifier.height(24.dp))
44 52 Image(
45 53 painter = painterResource(R.drawable.fieri),
46 54 contentDescription = "Anime-style Guy Fieri in sunglasses and a stars-and-stripes jacket, saying: " +
@@ -50,10 +58,10 @@ fun Splash(onDone: () -> Unit) {
50 58 )
51 59 Spacer(Modifier.height(24.dp))
52 60 Text(
53 − stringResource(R.string.app_name),
54 − style = MaterialTheme.typography.headlineMedium,
61 + "ESCAPE FROM FLAVORTOWN",
62 + style = MaterialTheme.typography.titleLarge,
55 63 fontWeight = FontWeight.Bold,
56 − color = MaterialTheme.colorScheme.primary,
64 + textAlign = TextAlign.Center,
57 65 )
58 66 }
59 67 }

Parents: b4bf16d