title: How can I mix fixed and dynamic size elements in a flexbox container?
body: <p>I'm trying to create a layout that utilizes flexbox' automatic sizing but also contains fixed-size items:</p>
  
  <pre class="lang-jsx prettyprint-override"><code>&lt;View style={{ height: 70, alignItems: "center" }}&gt;
      &lt;Text style={{ flex: 1, textAlign: "right", paddingRight: 10 }}&gt;left text&lt;/Text&gt;
      &lt;Image style={{ width: 70, height: 70 }} src={require('./img.png')} /&gt;
      &lt;Text style={{ flex: 1, textAlign: "left", paddingLeft: 10 }}&gt;right text&lt;/Text&gt;
  &lt;/View&gt;
  </code></pre>
  
  <p>I want the image to be centered in the UI and have the text views equally take the remaining width. The actual result is that one of the text views is larger than the other as if the rendering doesn't take the width of the image view into account.</p>