在React Native SectionList中,如何将视图放在另一个视图的顶部,其中一部分位于视图的边界之外?

时间:2018-04-18 09:05:37

标签: android ios reactjs react-native react-native-sectionlist

我尝试使用React Native SectionList https://facebook.github.io/react-native/docs/sectionlist.html按照以下方式制作布局。

A是标题组件,B在标题内,下面的空白空白组件是一行。

enter image description here

如何指定B相对于A的位置?

您可以在iOS上使用position relative或absolute轻松实现此目的,并让标题内的视图(B)溢出View(A)。但是android不支持溢出。没有写我自己的清单,我有点卡住了。

0 个答案:

没有答案