title: Android Fragment not displayed in React Native App
body: <p>I have followed the RN docs to create an Android Native Fragment:
  <a href="https://reactnative.dev/docs/native-components-android#1-create-a-fragment" rel="nofollow noreferrer">https://reactnative.dev/docs/native-components-android#1-create-a-fragment</a></p>
  <p>The Fragment is loaded, I can see it in the Layout Inspector, however as you can see in the screenshot, it is in the very bottom of the Views and I'm assuming that's the reason why I can't see the TextView that I have inside of the Fragment.</p>
  <p><a href="https://i.stack.imgur.com/XEbVb.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/XEbVb.png" alt="enter image description here" /></a></p>
  <p>So, what does it need to be done do to bring the CustomView to the Front?</p>
  <p>I've tried calling: <code>myFragment.customView.bringToFront();</code> but didn't work.</p>
  <p>The commit() always returns -1:</p>
  <pre><code>activity.getSupportFragmentManager()
        .beginTransaction()
        .add(reactNativeViewId, myFragment, String.valueOf(reactNativeViewId))
        .commit();
  </code></pre>
  <p>I've followed the article, went back and forth into the instructions and everything is there.</p>
  <p>I have created a repo to help debug the issue:
  <a href="https://github.com/wilsolutions/react-native-experiments" rel="nofollow noreferrer">https://github.com/wilsolutions/react-native-experiments</a></p>
  <p>Any thoughts?</p>
  <p>Thank you</p>