GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — androidx/compose at androidx-main · androidx/androidx

Expand file tree

/

compose

/
Copy path

Directory actions

More options

More options

Directory actions

More options

More options

Latest commit

 

History

History
History
/

compose

/
Copy path

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
animation
animation
 
 
benchmark-utils
benchmark-utils
 
 
compiler
compiler
 
 
docs
docs
 
 
foundation
foundation
 
 
integration-tests
integration-tests
 
 
lint
lint
 
 
markuptext/markuptext
markuptext/markuptext
 
 
material
material
 
 
material3
material3
 
 
remote
remote
 
 
runtime
runtime
 
 
test-utils
test-utils
 
 
ui
ui
 
 
AGENTS.md
AGENTS.md
 
 
OWNERS
OWNERS
 
 
PERF_OWNERS
PERF_OWNERS
 
 
README.md
README.md
 
 

README.md

Outline

Jetpack Compose

Intro

Jetpack Compose is a suite of libraries within the AndroidX ecosystem. For more information, see our project page

Syntax

Jetpack Compose uses composable functions instead of XML layouts to define UI components. You can see this in action in the demos, like androidx.compose.material.demos.ButtonDemo.kt. More information can be found in the compiler README.

Compiler

Composable functions are built using a custom Kotlin compiler plugin. More information about the compiler plugin is available in this README.

Getting started

To try out Jetpack Compose you need to set up the toolchain for AndroidX development. Follow the process here to check out the code.

To start the required version of Android Studio, you need to run the ANDROIDX_PROJECTS=COMPOSE ./gradlew studio

cd path/to/checkout/frameworks/support/
ANDROIDX_PROJECTS=COMPOSE ./gradlew studio

Also if you would like to build from the command line, all gradle commands need to be run from the frameworks/support folder. E.g. to build the demo app, run:

cd path/to/checkout/frameworks/support/
./gradlew :compose:integration-tests:demos:installDebug

Structure

Library code for Jetpack Compose lives under the frameworks/support/compose directory. Additionally, sample code can be found within each module in the integration-tests subdirectories. Run the demos app to see examples of components and behavior.

Guidance and documentation

Get started with Jetpack Compose

Samples

Pathway course

Feedback

To provide feedback or report bugs, please refer to the main AndroidX contribution guide and report your bugs here

Release notes

Browse source

Existing open bugs

File a new bug

Slack

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.