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:
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.


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