Exam 7: Reveal Displaying Pictures in a Gridview
Exam 1: Voila Meeting the Android49 Questions
Exam 2: Simplify the Android User Interface50 Questions
Exam 3: Engage Android User Input, Variables, Operations50 Questions
Exam 4: Explore Icons Decision Making Controls49 Questions
Exam 5: Investigate Android Lists, Arrays, and Web Browsers50 Questions
Exam 6: Jam Implementing Audio in Android Apps50 Questions
Exam 7: Reveal Displaying Pictures in a Gridview50 Questions
Exam 8: Design Using a Datepicker on a Tablet50 Questions
Exam 10: Move Creating Animation and Graphics50 Questions
Exam 11: Discover Persistent Data49 Questions
Exam 12: Finale Publishing Your Android App50 Questions
Select questions type
The code to find the size of an array called bananas is ____________________.
Free
(Short Answer)
4.9/5
(29)
Correct Answer:
bananas.lengthbananas.length()
Arrays provide access to data by using a numeric ____ to identify each element in the array.
Free
(Multiple Choice)
4.9/5
(40)
Correct Answer:
B
Typically, a(n) ____ is used to assign values to a GridView control that has multiple items.
Free
(Multiple Choice)
4.8/5
(24)
Correct Answer:
A
When you add a new class that extends a base class, the methods that need implementation are auto-generated.
(True/False)
4.8/5
(36)
The GridView control is the only control that monitors for click events.
(True/False)
4.7/5
(29)
Typically you add an ImageView control by dragging the control onto the ____.
(Multiple Choice)
4.9/5
(43)
The ____ is the fractional relation of the width of an image compared with its height.
(Multiple Choice)
4.8/5
(38)
The ____ control displays items in a two-dimensional, scrollable grid.
(Multiple Choice)
4.8/5
(37)
When the ImageAdapter class is called, the ____ method determines how many pictures should be displayed in the GridView control.
(Multiple Choice)
4.9/5
(37)
In Android programs, you can place the ____________________ method in another method that is triggered only when the user touches the GridView control.
(Short Answer)
5.0/5
(29)
A(n) ____________________ is used to initialize the instance variables of an object.
(Short Answer)
4.7/5
(43)
The scaling option that scales an image to fit the View type is ImageView.ScaleType. ____.
(Multiple Choice)
4.9/5
(26)
In the onItemClick method, the variable that holds the actual View that was selected is the ____ argument.
(Multiple Choice)
5.0/5
(39)
The scaling option that does not change the aspect ratio of an image is ImageView.ScaleType. ____.
(Multiple Choice)
4.8/5
(30)
If you wish, you can scale grid images to the full size of the screen.
(True/False)
4.8/5
(37)
In the onItemClick method, the variable that holds the position of the View in the Adapter is ____ argument.
(Multiple Choice)
4.7/5
(39)
If you want to use a Toast notification in an Activity that is the main Activity, you should use the Main.this reference as the correct Context.
(True/False)
4.8/5
(39)
A grid of images is not very useful for selecting wallpaper because of the large number of options.
(True/False)
4.9/5
(40)
The first GridView control in a project is named ____ by default.
(Multiple Choice)
4.9/5
(40)
Showing 1 - 20 of 50
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)