这就是我在React-Native:中显示图像的方式 <Text style={styles.myTitle}> This is the title 2 </Text>="contain"显示的图像相同: <Text style={styles.myTitle}> This is the title 3</Text>
<Image
我试图在原生react中设置一个框的边距,但这种行为非常奇怪。如果我设置marginLeft: 10,左边距是10。但是如果我还设置了marginRight: 10,那么左边距是20,右边距是20。This is more text testing </View>此代码生成以下图像。我画黑条的地方是绿色框应该对齐的地方。值