android:set imageView adjustViewBounds anywhere
This commit is contained in:
parent
7a2bffdb64
commit
8faf0e5d33
@ -193,9 +193,6 @@ public class FlexNode extends GroupNode<YogaLayout> {
|
|||||||
super.blend(jsObject);
|
super.blend(jsObject);
|
||||||
for (ViewNode childNode : mChildNodes) {
|
for (ViewNode childNode : mChildNodes) {
|
||||||
YogaNode yogaNode = this.mView.getYogaNodeForView(childNode.getNodeView());
|
YogaNode yogaNode = this.mView.getYogaNodeForView(childNode.getNodeView());
|
||||||
if (childNode.getFlexConfig() != null && childNode.getView() instanceof ImageView) {
|
|
||||||
((ImageView) childNode.getView()).setAdjustViewBounds(false);
|
|
||||||
}
|
|
||||||
if (yogaNode != null) {
|
if (yogaNode != null) {
|
||||||
blendSubFlexConfig(yogaNode, childNode.getFlexConfig());
|
blendSubFlexConfig(yogaNode, childNode.getFlexConfig());
|
||||||
}
|
}
|
||||||
|
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user