ajrulez / customview-volumebar

This is an example of how to create a custom view by extending a View class.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Custom volume bar

This is an example of how to create a custom view by extending a View class.

There are two versions of it:

  1. The first one is a very basic implementation of custom volume bar and it's on master branch. The calculations there are pretty simple and straighforward.


  1. The second one is also a custom volume bar, but much nicer. You can find it on the delightful branch.


If you want to know about all of the things that are happening in the code, you can read my article about it: How to draw a custom View?

About

This is an example of how to create a custom view by extending a View class.

License:Other


Languages

Language:Kotlin 100.0%