I\'m trying to create a shape drawable with radial gradient background, with radius that will adjust to the screen size (take a look at the relevant documentation).
You could create a shape drawable at runtime similiar to this post https://stackoverflow.com/a/4943888/604504
This way you could calculate the percentage after retrieving the screen size.