我想在 android 中使用图表,我使用 this框架 下面的类将在启动时使用:
public class ChartDemo extends ListActivity {
/** Called when the activity is first created. */
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
Intent intent= new SalesStackedBarChart().execute(this);
startActivity(intent);
}
查看 ChartDemo 类的详细信息 here
详细类 SalesStackedBarChart here
当执行 startActivity(intent) 时,我有一个这样的图表: 但我想将此图表用于带有按钮、textview 的布局....我该怎么做? 谢谢!
最佳答案
关于java - 当我有 Intent 时,我可以把布局放在哪里?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/14289370/