• iamthevoid

    iamthevoid

    1 year ago
    I want to create clickable sides in row with dynamic size (square, fill parent height). I try to use code (from thread), but each
    Box
    fills size of root, not parent size.
    iamthevoid
    Albert Chang
    4 replies
    Copy to Clipboard
  • Adrian Landborn

    Adrian Landborn

    1 year ago
    Navigating app using a keyboard? I am working on an app which needs to comply to WCAG 2.1 accessibility guidelines https://www.w3.org/TR/WCAG21 I tried to navigate both my own app and the Jetcaster app and nothing. Using the ARROW keys on the bluetooth keyboard I get no response from Compose apps. Is this a bug, not implemented or what is the deal? I am running beta 09 and and a Samsung Galaxy s10.
    Adrian Landborn
    Colton Idle
    2 replies
    Copy to Clipboard
  • Luis Mierez

    Luis Mierez

    1 year ago
    Question about the
    MaterialTheme
    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
    ?
    Luis Mierez
    s
    +2
    24 replies
    Copy to Clipboard
  • m

    MaxUt

    1 year ago
    Hi guys, I'm storing Webview objects in a Singleton in order to keep their state. When my Composable gets recomposed it simply pass the webview objects to the AndroidView factory. This works perfectly when I change of Composable, however when the recomposition is triggered by an other event such as a Composable passing in front of the webview Composable, I get the following error :
    java.lang.IllegalStateException: The specified child already has a parent. You must call removeView() on the child's parent first.
    Any ideas ?
    m
    2 replies
    Copy to Clipboard
  • d

    dimsuz

    1 year ago
    I have an activity with
    adjustResize
    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.
    d
    l
    +1
    6 replies
    Copy to Clipboard
  • Rick Regan

    Rick Regan

    1 year ago
    Inside a composable I can copy text to the clipboard by doing something like 
    LocalClipboardManager.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.)
    Rick Regan
    l
    4 replies
    Copy to Clipboard
  • Mehdi Haghgoo

    Mehdi Haghgoo

    1 year ago
    What does the Animation Docs mean by "When LaunchedEffect enters composition"?
    Mehdi Haghgoo
    1 replies
    Copy to Clipboard
  • Zach Klippenstein (he/him) [MOD]

    Zach Klippenstein (he/him) [MOD]

    1 year ago
    I’m seeing Kotlin’s binary compatibility tool reporting
    ComposableSingletons
    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.
    Zach Klippenstein (he/him) [MOD]
    Adam Powell
    +2
    6 replies
    Copy to Clipboard
  • Mehdi Haghgoo

    Mehdi Haghgoo

    1 year ago
    I want to animate a corner size using TargetBasedAnimation and decide which animation value to stop at. I want to trigger the corner size animation on click, but it is automatically executed. Also, what triggers the target based animation?
    Mehdi Haghgoo
    2 replies
    Copy to Clipboard
  • m

    mattinger

    1 year ago
    Does anyone know why the typed in text here is underlined for an EditText?
    m
    d
    +2
    7 replies
    Copy to Clipboard