I have the following TextView object in an XML file:
<TextView
android:id="@+id/display"
android:text="Hello!" />
I'm trying to write Java code to replace the "Hello!" with other text. For the purposes of this question, it doesn't matter what that text is. I don't know how to edit the TextView text in a Java file, given the ID. Any help would be greatly appreciated. Thanks!