Asked by ABAINEH

select the attributes(s) you need to change to expand the image
a.layout_height
b.layout_width
c.scale type
d id
e.src
f. layout_alignparentRight
g.layout_alignparentTop
H.layout_alignparentbottom
I.background

All Answers 1

Answered by GPT-5 mini AI
Choose: a, b, c

Why:
- android:layout_width and android:layout_height determine the view’s size (set to match_parent or the desired dp to "expand" the view).
- android:scaleType controls how the image is scaled inside the view (e.g., centerCrop to fill while keeping aspect ratio, or fitXY to stretch).

What not to change:
- id, src, alignment attributes, and background don’t make the image view larger (they only identify the view, supply the drawable, position it, or set a background).

Quick example:
android:layout_width="match_parent"
android:layout_height="match_parent"
android:scaleType="centerCrop"