Android_Kotlin Flashcards
1
Q
Creating Virtual Device
A
- Phone - options
- Select - with/without Play store (icon)
- Select API
- Press Play!
2
Q
Details & Advanced options
A
Right side - panel. On the AVD
3
Q
.kt
A
stands for Kotlin
4
Q
Start of program?
A
MainActivity
5
Q
User functions?
A
Called by ourself
6
Q
Packages define
A
Adding outside Code - to our project
7
Q
AppCompatActivity
A
Contains lots of Code - to reuse.
Makes sure App works nicely on different devices
8
Q
onCreate
A
Comes from Bundle package
9
Q
When does the GUI start showing?
A
setContentView(R.layout.activity_main)
10
Q
R stands for?
A
Resources
11
Q
Layout?
A
Layout - folder
12
Q
What displays on the Screen?
A
activity_main
13
Q
Declared Attributes?
A
Left side
14
Q
SP (units) defined?
A
Scaled Independent Pixels
Scale to size of Screen
15
Q
Gradle building
A
Compiling code into App