dimsuz
06/21/2021, 10:22 AMRow
where I dynamically render buttons with different properties and have the strange ripple behaviour: the button which wasn't interacted with shows ripple effect for some reason. Notice the button in the center (video in the thread). Any ideas why this happens?Richard Z
06/21/2021, 10:24 AMNiklas Bolwede
06/21/2021, 10:59 AMAlex
06/21/2021, 11:35 AMMaik
06/21/2021, 11:37 AMRadialGradient
allows only one radius in the definition.iamthevoid
06/21/2021, 12:34 PMBox
fills size of root, not parent size.Adrian Landborn
06/21/2021, 1:58 PMLuis Mierez
06/21/2021, 2:54 PMMaterialTheme
colors and typography. If I create a MaterialTheme
with a primary color of Color.Blue
, and a button TextStyle
that has the color set to Color.White
, which color takes precedent when using a TextButton
?MaxUt
06/21/2021, 3:38 PMjava.lang.IllegalStateException: The specified child already has a parent. You must call removeView() on the child's parent first.
Any ideas ?dimsuz
06/21/2021, 5:17 PMadjustResize
mode and a Column
with verticalScroll
and a TextField
inside, and when I click on the text field, keyboard obscures it, no scrolling happens. This is the latest beta.
Is this a known bug/limitation?
See code I use in the thread.Rick Regan
06/21/2021, 5:40 PMLocalClipboardManager.current.setText(AnnotatedString("Copied to clipboard"))
. But how can I copy to the clipboard from a callback? I want to copy the state of a Text
when a "copy all" icon button is pressed. (The composable SelectionContainer
is not suitable for my app for several reasons.)Mehdi Haghgoo
06/21/2021, 6:12 PMZach Klippenstein (he/him) [MOD]
06/21/2021, 6:18 PMComposableSingletons
classes being generated and exposed as public. It seems like it might be some sort of a lambda cache, which seems fine, but does it need to be public? It’s not clear where it’s coming from, and I’m nervous about what this means for future binary compatibility because it seems to have appeared after adding a private @Preview
function which I wouldn’t expect to have public API implications.
I don’t see anything about this in the bug tracker, and I’m not sure it’s a bug anyway. Some references to this type in stack traces in this thread, but nothing specifically about whether it should be public API either.Mehdi Haghgoo
06/21/2021, 6:26 PMmattinger
06/21/2021, 9:02 PMSlackbot
06/21/2021, 9:52 PMWesley Marquez-Lim
06/22/2021, 1:24 AMJason Ankers
06/22/2021, 4:46 AMRuger McCarthy
06/22/2021, 12:00 PMdambakk
06/22/2021, 12:49 PMAndré Thiele
06/22/2021, 1:06 PMmattinger
06/22/2021, 1:14 PMmattinger
06/22/2021, 1:26 PMSlackbot
06/22/2021, 3:18 PMWojciech Rozwadowski
06/22/2021, 5:09 PMandroidx.compose.material
. I want to re-style/override typography theme value used by this component: MaterialTheme.typography.caption
. Is this a correct way to do it?
MaterialTheme(
typography = MaterialTheme.typography.copy(
caption = MaterialTheme.typography.caption.copy(
fontSize = 20.sp
)
)
) {
// put material composable here
}
My first though was to use CompositionLocalProvider
but LocalTypography
has internal
visibility modifier 🤔Akash Amin
06/22/2021, 5:19 PMgitai
06/22/2021, 5:35 PMrunBlocking()
to launch a root coroutine from a non-suspendable main?Colton Idle
06/22/2021, 5:48 PMAN
06/22/2021, 7:59 PMPete Doyle
06/22/2021, 9:33 PM