我正在尝试修复从另一个屏幕获取的某个位置的视图。尝试使用下面给出的变换。但 x 位置移动错误
<View style={styles.container}>
<View style={{flex:0.85}}>
<ImageBackground source={{uri:"https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcQydKa7Dh07PVap8ydkjYGRRYl1jI_YmxX2bGdB1WD1gb7XICH8wQ"}}
style={{width: width, height: '100%'}}>
<Animated.View style={{position: 'absolute', left: 0,
top: 0,transform: [{ translateX:XYValues.x0 }, { translateY: XYValues.y0 }]
}}><ChildComponent/></Animated.View>
</ImageBackground>
</View>
</View>