[英]How to center a parent with fixed width in react native in portrait and landscape mode
If I understand your question, you want to center horizontally the wrapper
view.如果我理解您的问题,您希望将wrapper
视图水平居中。 For this, add alignItems: 'center'
to your container
style为此,将alignItems: 'center'
添加到您的container
样式
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.