Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

____11. What happens to Action buttons using android:showAsAction=ifRoom that cannot fit on the action bar due to constraints in size? A. They are placed in

____11. What happens to Action buttons using android:showAsAction="ifRoom" that cannot fit on the action bar due to constraints in size?

A. They are placed in the action overflow menu.

B. They are simply not displayed.

C. All the Action buttons are shrunk so they all fit.

D. The application will not run if there are too many Action buttons that cannot all fit.

____12. How are fragments typically used when implementing the master/detail flow interface design pattern on a tablet-sized Android device?

A. A single activity uses the same fragment to display both the master and detail panels.

B. A single activity uses one fragment to display the master panel and one to display the detail panel.

C. Two activities each use two different fragments to display the master and detail screens.

D. Fragments are not typically used with the master/detail design pattern.

____13. What is the action overflow menu used for?

A. Holding actions that do not fit on the action bar.

B. Holding less frequently used actions.

C. Holding buttons purely related to navigation.

D. A and B

____14. What types of files can be stored in the res/drawable directory?

A. PNG

B. XML

C. A and B

D. None of these

____15. The android:duration attribute of an from an XML is used to specify what?

A. How long the entire animation sequence should last.

B. How long the item should be displayed.

C. How long the item should be hidden.

D. None of these.

____16. Sound files are placed in what directory of an Android project?

A. res/raw

B. res/audio

C. res/sound

D. None of these

____17. Which of these are not supported by the MediaPlayer?

A. Playing audio files.

B. Playing video streams over a network.

C. Displaying a visual media controller featuring play/pause, rewind, and other control buttons.

D. All of these are supported by the MediaPlayer.

____18. The res/anim directory is for storing what type of XML files?

A. Transition animations

B. Drawable animations for frame-by-frame animation sequences

C. MediaPlayer animations

D. Animations featuring recursive drawing

____19. How can a thread be created?

A. Implement the Runnable interface

B. Extend the Thread class

C. Add it to the AndroidManifest.xml

D. A and B

____20. When creating a background thread, in what method does a programmer place the time-consuming code?

A. start()

B. run()

C. execute()

D. thread()

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started