Shabinder Singh
02/10/2021, 9:11 PMgbaldeck
02/11/2021, 2:01 PMKirill Grouchnikov
02/16/2021, 3:02 PMInteractionState
replaced by InteractionSource
with different API surface. staticCompositionLocalOf
requires a factory now, but accepts error
block if you do not want to provide a default value.wiktorl4z
02/16/2021, 3:52 PMorangy
Font
instance to get metrics
. For this I need to get Typeface
which I can’t find how to do. I’ve explored FontMgr.getDefault()
, LocalFontLoader.current as FontLoader
, but if I get to FontLoader.fonts.findTypefaces(…)
it doesn’t seem to contain fonts loaded via MaterialTheme.typography
, always returns “Helvetica”. Any ideas?Sebastian Aigner
02/23/2021, 10:15 AMolonho
02/23/2021, 3:35 PMsudo apt install openjdk-14-jdk
export JAVA_HOME=/usr/lib/jvm/java-14-openjdk-amd64k-14-jdk
We’ll try to improve compatibility with other JDKs in upcoming releases.eygraber
02/24/2021, 11:40 PM@Preview
work in Android Studio for android modules when using multiplatform compose?theapache64
02/26/2021, 6:24 AMDanish Ansari
03/03/2021, 6:17 PMColton Idle
03/04/2021, 7:20 AMAli Albaali
03/04/2021, 10:27 AMphisch
03/04/2021, 10:20 PMDirk Hoffmann
03/04/2021, 10:46 PMjim
03/05/2021, 4:00 PMtheapache64
03/06/2021, 3:13 PMYan Pujante
03/08/2021, 6:51 PMDirk Hoffmann
03/09/2021, 12:13 AMVahalaru
03/13/2021, 11:30 AMVahalaru
03/13/2021, 11:32 AMSrSouza
03/14/2021, 12:08 AMhttps://pbs.twimg.com/media/EwY3Z6uXEAcIU3z.jpg▾
Danish Ansari
03/14/2021, 1:32 PMYan Pujante
03/17/2021, 2:55 PMOutlinedTextField(searchFilter.value,
onValueChange = { searchFilter.value = it },
trailingIcon = {
Icon(
Icons.Outlined.Search,
contentDescription = "filter",
)
},
modifier = Modifier.height(40.dp) // with or without
)
The resulting is shown in the screenshot:
On the left is without the modifier = Modifier.height(40.dp)
line and on the right with it (this is the "standard" dense version of the component as per Material design recommendation). The issue is the dense version (on the right) does not let me enter anything... Am I doing something wrong or is this a bug?Dan Peluso
03/17/2021, 4:50 PMtodoapp
and multiplatform-template
projects from the <http://github.com/JetBrains/compose-jb|github.com/JetBrains/compose-jb>
repo? I am able to run the imageViewer
on both Android and Desktop with no issues, but when I try to build the examples from the template I always run into this build error:
* What went wrong:
An exception occurred applying plugin request [id: 'com.android.application']
> Failed to apply plugin 'com.android.internal.application'.
> Could not create plugin of type 'AppPlugin'.
> Could not generate a decorated class for type AppPlugin.
> com/android/utils/ILogger
and see the following errors in my build logjim
03/18/2021, 1:53 PMNikky
03/20/2021, 2:45 PMArkadii Ivanov
03/21/2021, 11:52 PMsonder-joker
03/22/2021, 3:58 AMOlivier Patry
03/22/2021, 11:18 PMDropdownMenu
work.
Using the sample code found here
https://android.googlesource.com/platform/frameworks/support/+/refs/heads/androidx-main/c[…]in/java/androidx/compose/material/samples/MenuSamples.kt
I understood I had to wrap both "anchor" and Dropdown within the same Box
parent with proper Modifier.wrapContentSize(<http://Alignment.XXX|Alignment.XXX>)
where XXX is the anchor rules for this configuration.
It now works as intended.orangy
PaintingStyle.StrokeAndFill
or even get rid of the selector altogether and have PaintingStyle
a data class with nullable stroke and fill brushes. Skia has this PaintMode.STROKE_AND_FILL
but it is unused, so I believe it is impossible to make it via compose. I don’t think it is possible to properly emulate this with separate fill and stroke, due to all the antialiasing.