Commit 427d4949 authored by Qiu Xiang's avatar Qiu Xiang

调整 examples 界面

parent 3660f3d1
...@@ -29,7 +29,7 @@ export default class Examples extends Component { ...@@ -29,7 +29,7 @@ export default class Examples extends Component {
} }
render() { render() {
return <ScrollView style={styles.scrollView}> return <ScrollView style={styles.scrollView} contentContainerStyle={styles.container}>
<StatusBar barStyle='dark-content' backgroundColor='#e0e0e0'/> <StatusBar barStyle='dark-content' backgroundColor='#e0e0e0'/>
<View style={styles.group}> <View style={styles.group}>
{this._renderItem('地图模式', 'MapTypes')} {this._renderItem('地图模式', 'MapTypes')}
...@@ -67,6 +67,9 @@ const styles = StyleSheet.create({ ...@@ -67,6 +67,9 @@ const styles = StyleSheet.create({
}, },
}) })
}, },
container: {
paddingBottom: 15,
},
group: { group: {
marginTop: 15, marginTop: 15,
}, },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment