mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2025-06-29 21:00:40 +02:00
Resizing when using the keyboard
This commit is contained in:
@ -21,7 +21,7 @@
|
|||||||
android:label="Amethyst"
|
android:label="Amethyst"
|
||||||
android:name=".ui.MainActivity"
|
android:name=".ui.MainActivity"
|
||||||
android:exported="true"
|
android:exported="true"
|
||||||
android:launchMode="singleTask" android:allowTaskReparenting="true"
|
android:windowSoftInputMode="adjustResize"
|
||||||
android:theme="@style/Theme.Amethyst">
|
android:theme="@style/Theme.Amethyst">
|
||||||
|
|
||||||
<intent-filter android:label="Amethyst">
|
<intent-filter android:label="Amethyst">
|
||||||
|
@ -131,7 +131,7 @@ fun ShowQRDialog(user: User, onScan: (String) -> Unit, onClose: () -> Unit) {
|
|||||||
onClick = { presenting = true },
|
onClick = { presenting = true },
|
||||||
shape = RoundedCornerShape(35.dp),
|
shape = RoundedCornerShape(35.dp),
|
||||||
modifier = Modifier
|
modifier = Modifier
|
||||||
.fillMaxWidth()
|
.fillMaxWidth().padding(30.dp)
|
||||||
.height(50.dp),
|
.height(50.dp),
|
||||||
colors = ButtonDefaults
|
colors = ButtonDefaults
|
||||||
.buttonColors(
|
.buttonColors(
|
||||||
|
@ -88,7 +88,7 @@ fun LoginPage(accountViewModel: AccountStateViewModel) {
|
|||||||
Image(
|
Image(
|
||||||
painterResource(id = R.drawable.amethyst),
|
painterResource(id = R.drawable.amethyst),
|
||||||
contentDescription = "App Logo",
|
contentDescription = "App Logo",
|
||||||
modifier = Modifier.size(250.dp),
|
modifier = Modifier.size(200.dp),
|
||||||
contentScale = ContentScale.Inside
|
contentScale = ContentScale.Inside
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user