title: how to expand a component on click to full screen width and height with animation in reactnative
body: <p>I have tried to implement the component expand to full screen in react native by using Layout animation in react-native but it was not good to look. Can any one help me in getting it?</p>
  
  <pre><code>changeLayout = () =&gt; {
      LayoutAnimation.configureNext(LayoutAnimation.Presets.easeInEaseOut);
      this.setState({ expanded: !this.state.expanded });
  }; 
  </code></pre>
  
  <p>I expect to expand the component on click to full screen and again collapse it on click.</p>