Skip to content

Latest commit

 

History

History

themeadapter-appcompat

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

AppCompat Theme Adapter

Maven Central

AppCompat Theme Adapter enables the reuse of AppCompat XML themes, for theming in Jetpack Compose.

Usage

This library attempts to bridge the gap between AppCompat XML themes, and themes in Jetpack Compose, allowing your composable MaterialTheme to be based on the Activity's XML theme:

AppCompatTheme {
    // MaterialTheme.colors and MaterialTheme.typography
    // will now contain copies of the context's theme
}

For more information, visit the documentation: https://google.github.io/accompanist/themeadapter-appcompat

Download

repositories {
    mavenCentral()
}

dependencies {
    implementation "com.google.accompanist:accompanist-themeadapter-appcompat:<version>"
}

Snapshots of the development version are available in Sonatype's snapshots repository. These are updated on every commit.