feat: add a tablet friendly mode (#782)

This commit is contained in:
Thomas Göttgens 2023-11-18 10:03:19 +01:00 committed by GitHub
parent 0330b8ff80
commit 105f38e97c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -135,7 +135,7 @@
<activity
android:name="com.geeksville.mesh.MainActivity"
android:launchMode="singleInstance"
android:screenOrientation="sensorPortrait"
android:screenOrientation="unspecified"
android:windowSoftInputMode="stateAlwaysHidden"
android:theme="@style/Theme.App.Starting"
android:exported="true">

View file

@ -333,7 +333,7 @@ fun ChannelScreen(
painter = channelSet.qrCode?.let { BitmapPainter(it.asImageBitmap()) }
?: painterResource(id = R.drawable.qrcode),
contentDescription = stringResource(R.string.qr_code),
contentScale = ContentScale.FillWidth,
contentScale = ContentScale.Inside,
alpha = if (enabled) 1f else 0.25f,
// colorFilter = ColorFilter.colorMatrix(ColorMatrix().apply { setToSaturation(0f) }),
modifier = Modifier