lovegaoshi / react-native-track-player

A fully fledged audio module created for music apps. Provides audio playback, external media controls, chromecast support, background mode and more!
https://react-native-track-player.js.org/
Apache License 2.0
7 stars 12 forks source link

Per-item content styles #25

Closed schoetty closed 1 year ago

schoetty commented 1 year ago

Allows to set per-item content styles for an item and/or its children.
They have to be set as strigified integers ("1", "2", "3" or "4")

The values are documented in the official Android Auto docs:

DESCRIPTION_EXTRAS_VALUE_CONTENT_STYLE_LIST_ITEM = 1
DESCRIPTION_EXTRAS_VALUE_CONTENT_STYLE_GRID_ITEM = 2
DESCRIPTION_EXTRAS_VALUE_CONTENT_STYLE_CATEGORY_LIST_ITEM = 3
DESCRIPTION_EXTRAS_VALUE_CONTENT_STYLE_CATEGORY_GRID_ITEM = 4

https://developer.android.com/training/cars/media#per-item-styles