在顶部var处包含尺寸,其中包含图像,文本和其他组件。 然后,您可以在样式表中使用以下内容, ex: { width: Dimensions.get('window').width, height ...
確定! 回上一頁