From 0335e1c7a50ca689be69eba52d3390a59c98a3a3 Mon Sep 17 00:00:00 2001 From: Mathieu Date: Mon, 3 Jan 2022 10:59:31 +0100 Subject: [PATCH] fixed padding too close to status bar --- .../java/ch/mathieubroillet/jarvis/android/MainActivity.kt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/src/main/java/ch/mathieubroillet/jarvis/android/MainActivity.kt b/app/src/main/java/ch/mathieubroillet/jarvis/android/MainActivity.kt index 35ccfe1..7051825 100644 --- a/app/src/main/java/ch/mathieubroillet/jarvis/android/MainActivity.kt +++ b/app/src/main/java/ch/mathieubroillet/jarvis/android/MainActivity.kt @@ -70,7 +70,7 @@ fun Base() { text = "Bonjour, comment puis-je vous aider ?", fontFamily = productSansFont, fontSize = 30.sp, - modifier = Modifier.padding(top = 50.dp) + modifier = Modifier.padding(top = 30.dp) ) } } @@ -157,8 +157,8 @@ fun DefaultPreview() { Modifier .fillMaxHeight() .fillMaxWidth() - .padding(horizontal = 20.dp) - .padding(top = 30.dp, bottom = 0.dp) + .padding(horizontal = 15.dp) + .padding(top = 45.dp, bottom = 0.dp) ) { // This column regroup the base and all the conversations (everything except the footer)