For this question, assume myView references an ImageView object. In order to preserve the image's aspect ratio (so it does not appear stretched or distorted), you should use which of the following?
a. myView.setPreserveRatio(false);
b. myView.setPreserveRatio(true);
c. myView.setPreserveRatio();
d. Either (a) or (c) would work.
b. myView.setPreserveRatio(true);
Computer Science & Information Technology
You might also like to view...
Write a declaration for an array of 20 objects of class counter.
Fill in the blank(s) with the appropriate word(s).
Computer Science & Information Technology
What is the maximum length for a SATA cable?
A) 1 foot B) 18 inches C) 3.3 feet D) 6 feet
Computer Science & Information Technology
What is the purpose of MIDI?
A. connect Musical Instrument B. connect headphones C. connect Video D. Who cares
Computer Science & Information Technology
When an organization has a properly implemented enterprise risk management (ERM), what is the tool used to list and categorize each discovered or encountered risk?
A. Cost/benefit equation B. Delphi technique C. Risk register D. Threat model
Computer Science & Information Technology