/Compose_template

Clean empty Jetpack Compose app template as a starting point - no themes.xml and colors.xml.

Primary LanguageKotlin

Clean Empty Jetpack Compose App Template

This is the default Jetpack Compose template app that I use as a starting point. There are no themes.xml and colors.xml in the project. By default, Gradle KTS is used, and no testing libraries are included.

For different versions of this template app, refer to different branches of this repository

Requirements

  • Android Studio Electric Eel or later

Tech Stack

Tech Stack High-level Implementation Description
Jetpack Compose Implement reactive UI using composable functions
Accompanist System UI Controller Set system bars color
New Splash Screen Implement new splash screen based on API >= that works on all previous API levels
Material 3 Dynamic Color (API >= 31) Add dynamic color support for >= API 31
Version Catalog (master_vercatalog branch) Implement version catalog as central declaration of dependencies
Gradle KTS / Groovy (master_groovy branch) Migrate build script from Groovy to Gradle KTS
Material 3 / Material 2 (master_groovy branch) Use the latest material design
BuildUtils (own library) Avoid hard coding build version code (API level) to improve code readability

Articles

Branches