Thread
#compose
    rsktash

    rsktash

    1 year ago
    [SOLVED] Hi. How can I achieve that the context menu items draw over the column rows?
    I want to draw menu items over column rows
    I solved it
    Fudge

    Fudge

    1 year ago
    Use
    Box
    , which is the non-hacky way of displaying items on top of each other.
    Box { A() B() // will be displayed on top of B }
    rsktash

    rsktash

    1 year ago
    In my case it is a list
    Fudge

    Fudge

    1 year ago
    You can put a list inside a box
    rsktash

    rsktash

    1 year ago
    Can you give an example where extra content of n'th item drawn over next items?
    Fudge

    Fudge

    1 year ago
    I see what you mean. It would be difficult to position the context menu below 'text 2' if you use box
    Maybe ConstraintLayout. It allows you to do more exotic layouts
    rsktash

    rsktash

    1 year ago
    I’ve achieved it without any box or constraintlayout
    Fudge

    Fudge

    1 year ago
    Yes you've created some sort of 'position:absolute' in Compose
    m

    Mini

    1 year ago
    You might want to check out dropdown, if you haven't already
    rsktash

    rsktash

    1 year ago
    @Mini It looses textfield focus