This example was made by me for the open souce community to show how comfortable is to adjust volume without keys while streaming videos.
It is an Android Vertical Seekbar with segments developed in Kotlin. It offers multiple customization attributes to create a Slider/Seekbar based on your requirements.