I haven't had to use AndroidView much, but it seems like it always behaves like a FrameLayout. Is there an easy way to make it a vertical LinearLayout? Maybe I'm missing something or I've been staring at the docs too long?
r
romainguy
04/06/2023, 12:19 AM
Add a
LinearLayout
as a child? 🙂
c
Colton Idle
04/06/2023, 12:25 AM
Could it be... that simple? 🙃
b
Ben Trengrove [G]
04/06/2023, 12:27 AM
What are you trying to achieve? You could also just do
Copy code
Column {
AndroidView
AndroidView
}
c
Colton Idle
04/06/2023, 1:10 AM
Just adding LL as a child worked. I did try what you suggested ben but I couldn't because of some other constraints (inherited half view-half compose project) 😱