【发布时间】:2020-03-20 02:49:18
【问题描述】:
return (
<View style={{
flexGrow: 1,
flex: 1,
height: Dimensions.get('window').height,
flexDirection: 'column',
}}>
<ScrollView horizontal={false} contentContainerStyle={{flexGrow: 1}} >
{<View style={{
flex: 1
}}>
<LocationPicker navigation={this.props.navigation} onLocationPicked={this.locationPickedHandler}/>
</View>}
</ScrollView>
</View>);```
我试过设置 height, flex: 1, flexGrow: 1 除了运气不好
谁能帮我解决这个问题?
【问题讨论】:
标签: android css react-native flexbox