Demo 01 StartUpScreen Display

9
Demo 01 StartUpScreen Display

description

Demo 01 StartUpScreen Display. Create a new Android Application. You can leave the emulator running while you edit and test your App. Emulator can be left running during application development. - PowerPoint PPT Presentation

Transcript of Demo 01 StartUpScreen Display

Page 1: Demo 01 StartUpScreen Display

Demo 01StartUpScreen Display

Page 2: Demo 01 StartUpScreen Display

Create a new Android Application

Page 3: Demo 01 StartUpScreen Display

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

Creating a new Class in the same package

Page 5: Demo 01 StartUpScreen Display
Page 6: Demo 01 StartUpScreen Display
Page 7: Demo 01 StartUpScreen Display

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

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

Astounding Amazing Demo_01 App