0

In my Android program, in the main activity (ReadLog), I will call another activity (History) like below.

Intent intent = new Intent();
intent.setClass(ReadLog.this, History.class);
startActivity(intent);

And in History activity, I will finish making a View called chart and start to show it like below.

View chart = ...;
setContentView(chart);

But now I hope to show it on main UI. So I add a View on main UI (below some buttons), and hope to show the chart inside of the main UI's View. How can I do it?

4

0 に答える 0