** I really need help if you don\'t know anything don\'t give me a negative point :| if something bother you comment**
I want to write custom UI for my player in Exo
Customizing the ExoPlayer's UI is pretty simple. If you look at the ExoPlayer source, the layout res directory contains the file exo_player_control_view.xml that points to (includes) another layout - exo_playback_control_view.
exo_playback_control_view.xmlcustom_exo_playback_control_view.xml. Paste the copied contents to the new xmlPlayerView.Here is the custom_exo_controller_view xml that I created from the original. I wanted a different background color for the player controls and different button and progress view colors:
Below is the code that I use for the player. Notice, the xml attribute app:controller_layout_id points to the custom controller view thats defined above.
That should get the UI the way you want.
You can add extra controls as you need in the custom controller and in your code, find the control with findViewById() and write event listeners, etc.