media/libraries/ui
bachinger f372440882 Add artwork display mode to PlayerView
This change deprecates `PlayerView.setUseArtwork(boolean)` and
introduces `setArtworkDisplayMode(mode)` and
`artworkDisplayMode="off|fit|fill"` instead.

- off: no artwork is displayed (like deprecated useArtwork=false)
- fit: letterbox like media (like deprecated useArtwork=true)
- fill: scales the artwork to fill the entire width/weight of the player view

#minor-release

PiperOrigin-RevId: 534167226
(cherry picked from commit 46fb454b3f)
2023-05-26 13:25:08 +00:00
..
src Add artwork display mode to PlayerView 2023-05-26 13:25:08 +00:00
build.gradle Rollback of 509830f38f 2023-05-17 16:59:54 +00:00
lint-baseline.xml Fix lint-baseline.xml for latest UI translations 2023-03-02 17:21:16 +00:00
proguard-rules.txt Remove LegacyPlayerView reference from comment in proguard-rules.txt 2022-02-07 10:50:22 +00:00
README.md Add media3 guide entries in README files 2023-03-30 17:28:03 +00:00

UI module

Provides UI components for media playback.

Getting the module

The easiest way to use the module is to add it as a gradle dependency:

implementation 'androidx.media3:media3-ui:1.X.X'

where 1.X.X is the version, which must match the version of the other media modules being used.

Alternatively, you can clone this GitHub project and depend on the module locally. Instructions for doing this can be found in the top level README.