This message was deleted.
# compose
s
This message was deleted.
r
Trick: Include all of them, I do...
Copy code
implementation 'androidx.ui:ui-android-text:0.1.0-dev03'
    implementation 'androidx.ui:ui-animation:0.1.0-dev03'
    implementation 'androidx.ui:ui-animation-core:0.1.0-dev03'
    implementation 'androidx.ui:ui-core:0.1.0-dev03'
    implementation 'androidx.ui:ui-foundation:0.1.0-dev03'
    implementation 'androidx.ui:ui-framework:0.1.0-dev03'
    implementation 'androidx.ui:ui-layout:0.1.0-dev03'
    implementation 'androidx.ui:ui-material:0.1.0-dev03'
    implementation 'androidx.ui:ui-platform:0.1.0-dev03'
    implementation 'androidx.ui:ui-test:0.1.0-dev03'
    implementation 'androidx.ui:ui-text:0.1.0-dev03'
    implementation 'androidx.ui:ui-tooling:0.1.0-dev03'
    implementation 'androidx.ui:ui-vector:0.1.0-dev03'
RG
b
lol, i'll do just that. thanks
r
Don't miss the other settings, such as:
Copy code
buildFeatures {
    compose true
}
But if you use correct template, it should be included. RG
And check if you are in dev02 or dev03, there are differences...
b
still doesn't work, guess it wasn't an issue with a missing dependency. Thanks for the help though!
Although, when I try to import androidx.ui.androidview.adapters.setLayoutWidth, it says androidview is an unresolved reference so maybe it is a missing dependency issue after all?
j
i don't think the compose has a LinearLayout
b
It looks like they use it for when wrapping views such as WebViews into composable views