Create chart in Android layout

Hello, is it possible to create charts in the android layout (.xml) files?

For example I can do the following:
<io.data2viz.viz.VizContainerView
android:id="@+id/temperatureChart"
android:layout_width=“match_parent”
android:layout_height=“200dp” />

But then, how can I add to that container view a specific chart that I will create by code? I want to have multiple charts in one activity, so the only way to accomplish it is by having multiple views like the one above.

Hello,

Did you try to bind your chart during the Activity.onCreate call?