Question: USE ANDROID STUDIO First, read this tutorial first to learn how to change TextView dynamically. HYPERLINK http://android4beginners.com/2013/06/lesson-1-3-how-to-modify-textview-in-java-code-findviewbyid-settext-and-gettext-methods/ Then, create two dynamic TextViews in an app
USE ANDROID STUDIO
First, read this tutorial first to learn how to change TextView dynamically.
HYPERLINK "http://android4beginners.com/2013/06/lesson-1-3-how-to-modify-textview-in-java-code-findviewbyid-settext-and-gettext-methods/"
Then, create two dynamic TextViews in an app to display the following. Take one or more screenshots to prove that the app(s) can run correctly, on either an emulator or a phone.
1.Display hello world 10 times (using a loop), with each preceded by the counter number.
2.Display a random number (integer) between 1 and 20, and state if it is an odd or even number.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
