Resizing when using the keyboard

This commit is contained in:
Vitor Pamplona 2023-01-30 00:23:22 -03:00
parent f2d7dea860
commit fb8d6daf3d
3 changed files with 3 additions and 3 deletions

View File

@ -21,7 +21,7 @@
android:label="Amethyst"
android:name=".ui.MainActivity"
android:exported="true"
android:launchMode="singleTask" android:allowTaskReparenting="true"
android:windowSoftInputMode="adjustResize"
android:theme="@style/Theme.Amethyst">
<intent-filter android:label="Amethyst">

View File

@ -131,7 +131,7 @@ fun ShowQRDialog(user: User, onScan: (String) -> Unit, onClose: () -> Unit) {
onClick = { presenting = true },
shape = RoundedCornerShape(35.dp),
modifier = Modifier
.fillMaxWidth()
.fillMaxWidth().padding(30.dp)
.height(50.dp),
colors = ButtonDefaults
.buttonColors(

View File

@ -88,7 +88,7 @@ fun LoginPage(accountViewModel: AccountStateViewModel) {
Image(
painterResource(id = R.drawable.amethyst),
contentDescription = "App Logo",
modifier = Modifier.size(250.dp),
modifier = Modifier.size(200.dp),
contentScale = ContentScale.Inside
)