Exam 7: Touches and Swipes
Exam 1: Basics of Android: Hello World23 Questions
Exam 2: Model View Controller, Gui Components, Events20 Questions
Exam 3: Coding the Gui Programmatically, Layout Managers20 Questions
Exam 4: Multiple Activities, Passing Data Between Activities, Transitions, Persistent Data22 Questions
Exam 5: Menus, Sqlite21 Questions
Exam 6: Managing the Device Orientation22 Questions
Exam 7: Touches and Swipes22 Questions
Exam 8: Graphics, Animations, Sounds and Gaming27 Questions
Exam 9: Fragments26 Questions
Exam 10: Using Libraries and Their Apis: Speech Recognition and Maps33 Questions
Exam 11: Using the Gps and Location Services21 Questions
Exam 12: Using an Existing App: Taking a Photo and Sending an Email28 Questions
Exam 13: Xml and Content Apps25 Questions
Exam 14: Making an Android Widget35 Questions
Exam 15: In App Advertising25 Questions
Exam 16: Security and Encryption23 Questions
Exam 17: Android Development: Extending Views, Fragments, and Google Maps Permissions127 Questions
Select questions type
What does the getRawX method of MouseEvent return?
Free
(Multiple Choice)
4.8/5
(44)
Correct Answer:
A
It is possible to adjust the font size of a TextView depending on the text contained inside the TextView.
Free
(True/False)
4.9/5
(39)
Correct Answer:
True
The public field of the ViewGroup.MarginLayoutParams class defining a top margin is __________________.
(Short Answer)
4.7/5
(38)
To handle touch events, one of the things we must do is define a class that implements View.OnTouchListener and overrides its ____________ method.
(Short Answer)
4.9/5
(38)
We want to be able to compare the starting coordinate of a touch with the ending coordinate of a touch. How can we do it?
(Multiple Choice)
4.9/5
(41)
It is possible that two Views overlap, in which case one View is stacked above the other View.
(True/False)
4.9/5
(30)
The __________________ interface notifies us of double taps or confirmed single taps.
(Short Answer)
4.8/5
(30)
The public field of the ViewGroup.MarginLayoutParams class defining a right margin is ____________.
(Short Answer)
4.8/5
(31)
The onDown method of the GestureDetector.OnGestureListener interface is called on a(n) __________________ action when a touch occurs.
(Short Answer)
4.9/5
(32)
If a TextView has not been displayed yet, it is possible to retrieve measurements about its width and height using the __________________ method.
(Short Answer)
5.0/5
(43)
One of the things we must do to handle touch events is create an object of a class that __________________ View.OnTouchListener.
(Short Answer)
4.9/5
(35)
The rgb ____________ method of the Color class can be used to create a Color.
(Short Answer)
4.8/5
(37)
Which method of the GestureDetector class should we call from the onTouchEvent method of the Activity class to dispatch a touch event to the appropriate method of the listener interfaces?
(Multiple Choice)
4.8/5
(42)
The public field of the ViewGroup.MarginLayoutParams class defining a bottom margin is __________________.
(Short Answer)
5.0/5
(33)
The onSingleTapUp method of the GestureDetector.OnGestureListener interface is called on a(n) ____________ action when a touch occurs.
(Short Answer)
4.8/5
(38)
Showing 1 - 20 of 22
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)