From af2135b02f45fd29146e1c0cfd027f1bb8a47abb Mon Sep 17 00:00:00 2001 From: maxnes3 <112558334+maxnes3@users.noreply.github.com> Date: Sat, 11 Nov 2023 09:46:45 +0400 Subject: [PATCH] =?UTF-8?q?=D0=9C=D0=BE=D0=B6=D0=BD=D0=BE=20=D0=B8=D0=B4?= =?UTF-8?q?=D1=82=D0=B8=20=D1=81=D0=B4=D0=B0=D0=B2=D0=B0=D1=82=D1=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/example/mobileapp/screens/Authorization.kt | 6 +++++- .../main/java/com/example/mobileapp/screens/Registration.kt | 6 +++++- 2 files changed, 10 insertions(+), 2 deletions(-) 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),