In Android studio, I want to place 4 circle views at equi distance from each other percentage wise (linear or relative layout), so that distance from each other and left wall and right wall, all will be 20% kind of. Please help me to get that code (Java project). Thank you very much.

I couldn't get proper code for that unfortunately.
You can do it with circle.xml. Put it to @drawable/circle shape of button background.
Main.xml (res/layout)
circle.xnl (res/drawable)
You can edit layout_marginLeft for button 2, 3, and 4. To do adjustment.