Skip to content

Media UI library

This library contains a set of composables for media player apps.

  • Controls: individual controls
  • Components: composables that might combine multiple controls
  • Screens: full screen composables


The previews of the composables can be found in the debug folder of the module.


This library also provides a state package with a PlayerUiState and its own UI models to represent the state of common components that are displayed on a player screen. They can be used with your own ViewModel implementation or with the PlayerViewModel provided.

There is a guide on the usage of the stateful PlayerScreen here.

Demo app

A sample usage of PlayerScreen can be found in the sample app in this project, in the media package.


repositories {

dependencies {
    implementation "<version>"