ScrollView底部无法显示全的比较简单的解决方法

import React, { Component } from 'react';
import { AppRegistry,ScrollView, View,Text } from 'react-native';

export default class FlexDirectionBasics extends Component {
  render() {
    return (
      // 比如父组件为整个屏幕的大小,设置flex:1
           ,flex:1}}>
        //这一部分用于开发中的导航栏或者其他的部分
        13333333

      flex: 1,backgroundColor: 'powderblue',}}>//剩余部分显示滚动
        13333333
        13333333
        13333333
        13333333133333331333333313333333
        13333333133333331333333313333333
        13333333133333331333333313333333
        13333333133333331333333313333333
        13333333133333331333333313333333
        13333333133333331333333313333333
        13333333133333331333333313333333
        13333333133333331333333313333333
        13333333133333331333333313333333
     

       

    );
  }
};

你可能感兴趣的:(ScrollView底部无法显示全的比较简单的解决方法)