I am following this android droid charts tutorial …
http://w2davids.wordpress.com/creating-charts-with-droidcharts-for-android/
At one point he does this
setContentView(new
XYLineChart(getApplicationContext()));
I want to specify an xml layout and then add this view to it … How can I do that ? …
Create an xml file ‘linearlayoutgraph’.
Then use the following code to call setContentView using this layout, while also adding other Views/Graph to it: