Build a custom user interface

You can build a custom user interface based on the reference implementation framework.

The UI components of the following features are already integrated:

  • Clickable ads
  • Ad overlays
  • Late-binding audio
  • Closed captions
  • Listeners for all of the above components
  1. Edit the PlayerFragment.java file to initialize the UI components that you want to use in your player.

  2. Edit the res/player/player_fragment.xml file to customize the user interface.

  3. Build the project.

NOTE

To make UI changes to the seek bar, you can edit the MarkableSeekBar class. The MarkableSeekBar class handles the slider, thumb of the slider, ad marker holder, cue markers, buffer range, and seek range backgrounds.

On this page

Adobe Summit Banner

A virtual event April 27-28.

Expand your skills and get inspired.

Register for free
Adobe Summit Banner

A virtual event April 27-28.

Expand your skills and get inspired.

Register for free
Adobe Maker Awards Banner

Time to shine!

Apply now for the 2021 Adobe Experience Maker Awards.

Apply now
Adobe Maker Awards Banner

Time to shine!

Apply now for the 2021 Adobe Experience Maker Awards.

Apply now