VoronoiView
VoronoiView is a view (ViewGroup) that allows you to add and display views inside Voronoi diagram regions.
Import
Step 1. Add the JitPack repository to your build file
Add it in your root build.gradle at the end of repositories:
allprojects {
repositories {
...
maven { url 'https://jitpack.io' }
}
}
Step 2. Add the dependency
dependencies {
compile 'com.github.Quatja:Vorolay:1.0.1'
}
Usage
Add the view into your layout. You can customize it by using xml attributes
Then add your views to the VoronoiView
Now VoronoiView children will be displayed inside the diagram regions.