Android Quiz #2
Test yourself
Your Name *
You may lie here if you're shy ;)
Your answer
Questions
Which is the most common order of methods being called in a View class?
1 point
How many bits in memory are taken by a bitmap with size 1024x800 and standard colors configuration ARGB_8888?
1 point
Let’s assume following stack of Activities. ActivityA -> ActivityB. ActivityB is on the top and is visible to a user. What the stack will look like if we call a startActivity(ActivityA) method, assuming that ActivityA’s launch mode is singleTop?
1 point
Can a Kotlin data class have a `var` property in constructor?
1 point
Which method must be called in the ViewGroup.onMeasure() method?
1 point
Assume we have following layout structure FrameLayout-> LinearLayout-> TextView. The FrameLayout is a parent of LinearLayout and the LinearLayout is a parent of the TextView. All views are of the same size and are stacked on each other. Once we click on a screen, which view will call the onTouchEvent() method as first?
2 points
Select correct sentences. When using FCM (Firebase Cloud Messaging), messages with both notification and data payload are...
2 points
Is it possible to declare a var and val properties in Kotlin's interface?
1 point
Can an interface in Kotlin have a method with default implementation?
1 point
SurfaceView vs TextureView. Select correct sentences.
2 points
Are you an Android developer? (not scored question)
Submit
Never submit passwords through Google Forms.
This content is neither created nor endorsed by Google.