Write an Android phone program that displays image files in anAVD in the following specified ways.
[1] The center of one image file coincides with the center ofthe screen.
[2] Use method setValues(new float[]) in the class Matrix tospecify the translation, rotation,
and scaling and then display oneimage.
(Hint:Example_10_11_MatrixProject.)
[3] Use methods preTranslate(…), preRotate(…), and preScale(…)in the class Matrix to
specify the translation, rotation, andscaling and then display one image.
(Hint:Example_10_12_MatrixProject.)
A sample run of the program is as follows.
Expert Answer
Answer to Write an Android phone program that displays image files in an AVD in the following specified ways. [1] The center of on…