Skip to content Skip to sidebar Skip to footer

Place A Chart In A View

I have a chart that I use to display a graph. To display the chart I use a jar taken from here: http://writerbay.wordpress.com/2011/03/12/android-tutorial-displaying-chart-on-andro

Solution 1:

You're calling setContentView on just the layout object you've created. So thats all that will be shown!

Try using an xml file containing a blank linearlayout, and a button setup how you want it, and then in code, ThatLinearLayout.addView(lv);

Post a Comment for "Place A Chart In A View"