Android TextView Example

Here we will create an app containing a TextView and a Button, and in which text of the TextView changes on clicking the Button. Step 1: Create a new project and name it textviewexample. Select File -> New -> New Project. Fill the forms and click “Finish” button. Step 3: Open res -> layout -> xml (or) main.xml and add … Read more