How to draw the graph in android based on its height and size

Posted by Rakesh on Stack Overflow See other posts from Stack Overflow or by Rakesh
Published on 2010-03-26T09:01:28Z Indexed on 2010/03/26 9:03 UTC
Read the original article Hit count: 466

Filed under:

i want to draw a graph in a area and i used a linear layout as area.i want to set the size of the graph area,which should be compatible to small,medium ,default emulators etc.i need to set the size for graph area,how can i do it in xml file

for eg in blackberry we use Display.getWidth();Similar is there way to get the width of the display either programmatically or in xml

Regards

Rakesh Shankar.p

© Stack Overflow or respective owner

Related posts about android