Now open android Java file and initialize text view object and use append method in for loop to display numbers from 1 to 100. If we use setText() method in for loop then it will display only last value 100, So we used append method which will keep previous string and add next string in the last. The code of android Java file is given below:
Now runs your project on emulator and mobile and if you have any doubt please comment.
★ Change image when we click on buttons
★ Change image when we click on a single button
★ Take numbers from EditText and add them and display on TextView
★ Make Temperature conversion application
★ Create Menu using XML