fix(android): make center ResizeMode work correctly
This commit is contained in:
parent
7314947234
commit
d648ef8504
|
@ -55,7 +55,7 @@ class FastImageViewConverter {
|
||||||
put("contain", ScaleType.FIT_CENTER);
|
put("contain", ScaleType.FIT_CENTER);
|
||||||
put("cover", ScaleType.CENTER_CROP);
|
put("cover", ScaleType.CENTER_CROP);
|
||||||
put("stretch", ScaleType.FIT_XY);
|
put("stretch", ScaleType.FIT_XY);
|
||||||
put("center", ScaleType.CENTER);
|
put("center", ScaleType.CENTER_INSIDE);
|
||||||
}};
|
}};
|
||||||
|
|
||||||
// Resolve the source uri to a file path that android understands.
|
// Resolve the source uri to a file path that android understands.
|
||||||
|
|
Loading…
Reference in New Issue