Getting Started
Adding AUI to a project
Android UI components are located under org.android.aui
Gradle : build.gradle.kts
dependencies {
implementation("com.github.Xtarii:Android-UI:1.0.2")
}
Include Jitpack in the settings gradle file, Jitpack Docs
Creating a Layout
class App : RootLayout() {
override fun onSetup() {}
@Composable
override fun Layout(children: @Composable () -> Unit) {
ThemeProvider {
val theme = useTheme()
Column(modifier = Modifier.fillMaxSize().background(theme.background)) {
// Application Layout
}
}
}
}