一、根据state的值动态改变布局
import React, { Component,PropTypes } from 'react';
import {
StyleSheet,
Text,
View,
Image,
TouchableOpacity,
Dimensions,
Platform,
Alert,
ToastAndroid,
TextInput,
} from 'react-native';
import ulity from './ulity';
class SatisfactionSurvey extends Component {
constructor(props) {
super(props)
this.state = {
star:false,
};
}
render() {