How to change width and height from XML
I was trying to have layout like this. For this i need to change the width according to the parent Layout. Even if i m trying to give width and height explicitly then also it is not affecting the arc.
Please Help..
Thanks !

The with and height is immobilization,you should change the code
To Change width and height by xml not working, try to change the diameter by code.
@juanlabrador How do you change the diameter by code?
Edit 1: Figured it out. Edit 2: setDiameter is changing the size but only a quarter is seen. How exactly do you use setDiameter?
In initView() change this line -> diameter = 3 * getScreenWidth() / 5; to -> diameter = "as per your need (ex. 50, 100, 150, 200)".