Skip to content
Advertisement

Java create a TextView without open new window

This is my code:

JavaScript

What i made in the xml file deleted because’ it’s open new window. How can i add TextView without open new window, and actually save the work that i made?

Advertisement

Answer

This is happening because you are creating a new linear layout. Instead, add attribute to the old layout. Check out this code it may help:

JavaScript
User contributions licensed under: CC BY-SA
9 People found this is helpful
Advertisement