diff --git a/app/src/main/java/com/example/mobileapp/screens/Authorization.kt b/app/src/main/java/com/example/mobileapp/screens/Authorization.kt index ef86423..b22242e 100644 --- a/app/src/main/java/com/example/mobileapp/screens/Authorization.kt +++ b/app/src/main/java/com/example/mobileapp/screens/Authorization.kt @@ -1,6 +1,7 @@ package com.example.mobileapp.screens import androidx.compose.foundation.Image +import androidx.compose.foundation.layout.Arrangement import androidx.compose.foundation.layout.Column import androidx.compose.foundation.layout.fillMaxSize import androidx.compose.foundation.layout.padding @@ -23,7 +24,10 @@ import com.example.mobileapp.ui.theme.ButtonColor2 @Composable fun Authorization(navController: NavHostController){ Column( - modifier = Modifier.fillMaxSize().padding(bottom = 8.dp) + modifier = Modifier + .fillMaxSize() + .padding(bottom = 8.dp), + verticalArrangement = Arrangement.Bottom ) { Image( painter = painterResource(id = R.drawable.login), diff --git a/app/src/main/java/com/example/mobileapp/screens/Registration.kt b/app/src/main/java/com/example/mobileapp/screens/Registration.kt index 21e1504..a286f26 100644 --- a/app/src/main/java/com/example/mobileapp/screens/Registration.kt +++ b/app/src/main/java/com/example/mobileapp/screens/Registration.kt @@ -1,6 +1,7 @@ package com.example.mobileapp.screens import androidx.compose.foundation.Image +import androidx.compose.foundation.layout.Arrangement import androidx.compose.foundation.layout.Column import androidx.compose.foundation.layout.fillMaxSize import androidx.compose.foundation.layout.padding @@ -23,7 +24,10 @@ import com.example.mobileapp.ui.theme.ButtonColor2 @Composable fun Registration(navController: NavHostController){ Column( - modifier = Modifier.fillMaxSize().padding(bottom = 8.dp) + modifier = Modifier + .fillMaxSize() + .padding(bottom = 8.dp), + verticalArrangement = Arrangement.Bottom ) { Image( painter = painterResource(id = R.drawable.registration),