draw a rectangle using rect method from android graphics but i want the rectangle to fit any screen
<p>i want to draw a rectangle using rect method form android graphics but i want to specify the values in dp so that it can fix to any screen size. i presume by default its in pixel or just x,y coordinates.
how can i draw it to fit in any screen size using the rect method</p>
