Demo 01 StartUpScreen Display
description
Transcript of Demo 01 StartUpScreen Display
Demo 01StartUpScreen Display
Create a new Android Application
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.
Creating a new Class in the same package
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
instance of DemoOne declared
setStartUp ScreenText( ) - This is amethod to associate data values from DemoOne with TextView display
MainActivity.java
Astounding Amazing Demo_01 App