I’m working on an Android app in Kotlin where I need to dynamically add a new TextView to a ScrollView every time a certain function (makeElement()) is called. Essentially, I want to display a new message as a TextView whenever a function call occurs, similar to receiving a message in…