Demo 01 StartUpScreen Display
description
Transcript of Demo 01 StartUpScreen Display
![Page 1: Demo 01 StartUpScreen Display](https://reader035.fdocuments.net/reader035/viewer/2022062410/56815ea2550346895dcd2f92/html5/thumbnails/1.jpg)
Demo 01StartUpScreen Display
![Page 2: Demo 01 StartUpScreen Display](https://reader035.fdocuments.net/reader035/viewer/2022062410/56815ea2550346895dcd2f92/html5/thumbnails/2.jpg)
Create a new Android Application
![Page 3: Demo 01 StartUpScreen Display](https://reader035.fdocuments.net/reader035/viewer/2022062410/56815ea2550346895dcd2f92/html5/thumbnails/3.jpg)
You can leave the emulator running while you edit and test your App
You can toggle between activity_main.xml and Graphical Layout to see effect of xml TextView edits without runnning App or switching to emulator.
Emulator can be left running during application development.
![Page 4: Demo 01 StartUpScreen Display](https://reader035.fdocuments.net/reader035/viewer/2022062410/56815ea2550346895dcd2f92/html5/thumbnails/4.jpg)
Creating a new Class in the same package
![Page 5: Demo 01 StartUpScreen Display](https://reader035.fdocuments.net/reader035/viewer/2022062410/56815ea2550346895dcd2f92/html5/thumbnails/5.jpg)
![Page 6: Demo 01 StartUpScreen Display](https://reader035.fdocuments.net/reader035/viewer/2022062410/56815ea2550346895dcd2f92/html5/thumbnails/6.jpg)
![Page 7: Demo 01 StartUpScreen Display](https://reader035.fdocuments.net/reader035/viewer/2022062410/56815ea2550346895dcd2f92/html5/thumbnails/7.jpg)
TextView XML code in activity_main.xml file in res/layout
locations of text on startUpScreen defined relative to each other
TextView of data values defined here. The id's must match findViewById( ) calls in mainActivity.java
Literal strings are declared in res/values/strings.xml
![Page 8: Demo 01 StartUpScreen Display](https://reader035.fdocuments.net/reader035/viewer/2022062410/56815ea2550346895dcd2f92/html5/thumbnails/8.jpg)
instance of DemoOne declared
setStartUp ScreenText( ) - This is amethod to associate data values from DemoOne with TextView display
MainActivity.java
![Page 9: Demo 01 StartUpScreen Display](https://reader035.fdocuments.net/reader035/viewer/2022062410/56815ea2550346895dcd2f92/html5/thumbnails/9.jpg)
Astounding Amazing Demo_01 App