Getting screen width and height in XML

MalluCastle

New Member
Is there any way to get the device screen width and height in layout xml file . actually i am trying to create a gradient (Radial) and i want to set the radius according to the device height . Is there any way to do that in java . Thank you
 
Back
Top