我正在编写一个Reactnative应用程序,我想使用我旧应用程序中的一些静态布局(适用于Android)。我看了https://facebook.github.io/react-native/docs/native-components-ios.html并编写了一些类(MyViewManager.java和MyView.java)。我希望能够使用MyView.java的静态布局。我在github上浏览了facebook的reactnative代码。我找不到合适的方法,如setContentView(R.layout.myview)。我想知道是否有人尝试过这个,这会奏效。有人可以帮我解