Media app template

With the Android for Cars App Library templates, you can create a customized media app experience without starting from scratch. The templates provide flexibility to bring more features to your media app than you could with the MediaBrowserService (MBS).

The following templates can help you create a great media experience:

  • Sectioned Item template: Mix and match lists and grids within the SectionedItemTemplate to create a customized browsing structure. To get the latest updates and features, move any existing instances of the list or grid templates into the SectionedItem template.

  • Media Playback template: Decide which actions can be performed from the playback screen. You can choose which buttons to show in the search results section and which playback buttons and images to show (only through media session).

  • Sign-in template: The Sign-in template presents options for signing in to the app while parked.

  • Tab template: The Tab template acts as a container for other templates, providing tabs across the top.

Image representing a sectioned item
Figure 1. Sectioned item template.
Image representing a now playing screen
Figure 1. Media playback template.

See templates to learn more and Parked and passenger apps to learn about video experiences.