mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2025-06-28 00:20:53 +02:00
Resizing when using the keyboard
This commit is contained in:
parent
f2d7dea860
commit
fb8d6daf3d
@ -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">
|
||||
|
@ -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(
|
||||
|
@ -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
|
||||
)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user